Skip to content

Commit

Permalink
Merge pull request #2474 from qiujian16/missing-bataries
Browse files Browse the repository at this point in the history
馃悰 Add missing battery annotation for root-compute-workspace
  • Loading branch information
openshift-merge-robot committed Dec 13, 2022
2 parents 38679f0 + fee0196 commit 2525454
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apis.kcp.dev/v1alpha1
kind: APIExport
metadata:
annotations:
bootstrap.kcp.dev/create-only: "true"
bootstrap.kcp.dev/battery: root-compute-workspace
extra.apis.kcp.dev/compute.workload.kcp.dev: "true"
name: kubernetes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
bootstrap.kcp.dev/battery: root-compute-workspace
name: compute:apiexport:kubernetes:maximal-permission-policy
rules:
- apiGroups: [""]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
annotations:
bootstrap.kcp.dev/create-only: "true"
bootstrap.kcp.dev/battery: root-compute-workspace
name: compute:authenticated:apiexport:kubernetes:maximal-permission-policy
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down

0 comments on commit 2525454

Please sign in to comment.