Skip to content

Commit 221f0ad

Browse files
committed
fixed cluster role bindings for multi namespace deployments
1 parent 434af67 commit 221f0ad

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

kustomize/base/operator/clusterrole.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# Source: confluent-for-kubernetes/templates/clusterrole.yaml
33
apiVersion: rbac.authorization.k8s.io/v1
4-
kind: Role
4+
kind: ClusterRole
55
metadata:
66
labels:
77
app: confluent-for-kubernetes
@@ -11,7 +11,6 @@ metadata:
1111
app.kubernetes.io/component: "confluent-operator"
1212
helm.sh/chart: confluent-for-kubernetes-0.174.13
1313
name: confluent-operator
14-
namespace: default
1514
rules:
1615
- apiGroups:
1716
- cluster.confluent.com
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
---
2-
# Source: confluent-for-kubernetes/templates/clusterrolebinding.yaml
3-
kind: RoleBinding
1+
kind: ClusterRoleBinding
42
apiVersion: rbac.authorization.k8s.io/v1
53
metadata:
64
labels:
@@ -11,12 +9,11 @@ metadata:
119
app.kubernetes.io/component: "confluent-operator"
1210
helm.sh/chart: confluent-for-kubernetes-0.174.13
1311
name: confluent-operator
14-
namespace: default
1512
subjects:
1613
- kind: ServiceAccount
1714
name: confluent-for-kubernetes
18-
namespace: default
15+
namespace: sandbox
1916
roleRef:
20-
kind: Role
17+
kind: ClusterRole
2118
name: confluent-operator
2219
apiGroup: rbac.authorization.k8s.io

kustomize/base/operator/deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ metadata:
1212
helm.sh/chart: confluent-for-kubernetes-0.174.13
1313
version: 0.174.13
1414
name: confluent-operator
15-
namespace: default
1615
spec:
1716
replicas: 1
1817
selector:

kustomize/base/operator/service.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ metadata:
1111
app.kubernetes.io/component: "confluent-operator"
1212
helm.sh/chart: confluent-for-kubernetes-0.174.13
1313
name: confluent-operator
14-
namespace: default
1514
spec:
1615
ports:
1716
- name: http-metric

kustomize/base/operator/serviceaccount.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ metadata:
1313
app.kubernetes.io/component: "confluent-operator"
1414
helm.sh/chart: confluent-for-kubernetes-0.174.13
1515
name: confluent-for-kubernetes
16-
namespace: default

0 commit comments

Comments
 (0)