Skip to content

Commit cdd2f2f

Browse files
committed
fixing upgrade script for cluster roles
1 parent 83c4924 commit cdd2f2f

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
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.25
1313
name: confluent-operator
14-
namespace: default
1514
rules:
1615
- apiGroups:
1716
- cluster.confluent.com
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Source: confluent-for-kubernetes/templates/clusterrolebinding.yaml
3-
kind: RoleBinding
3+
kind: ClusterRoleBinding
44
apiVersion: rbac.authorization.k8s.io/v1
55
metadata:
66
labels:
@@ -11,12 +11,11 @@ metadata:
1111
app.kubernetes.io/component: "confluent-operator"
1212
helm.sh/chart: confluent-for-kubernetes-0.174.25
1313
name: confluent-operator
14-
namespace: default
1514
subjects:
1615
- kind: ServiceAccount
1716
name: confluent-for-kubernetes
1817
namespace: default
1918
roleRef:
20-
kind: Role
19+
kind: ClusterRole
2120
name: confluent-operator
2221
apiGroup: rbac.authorization.k8s.io

kustomize/base/operator/deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ spec:
4444
containers:
4545
- args:
4646
- --debug=false
47-
- --namespaces=default
4847
name: confluent-operator
4948
image: docker.io/confluentinc/confluent-operator:0.174.25
5049
imagePullPolicy: IfNotPresent

kustomize/helm/update_helm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export CHART_VERSION=0.174.25
44
#export CHART_VERSION=0.174.13
55
helm repo add confluentinc https://packages.confluent.io/helm
66
helm search repo confluent --versions
7-
helm template confluentinc/confluent-for-kubernetes --version $CHART_VERSION --include-crds --output-dir .
7+
helm template confluentinc/confluent-for-kubernetes --version $CHART_VERSION --include-crds --set namespaced=false --output-dir .
88
mv confluent-for-kubernetes/crds/* ../crds/crds
99
mv confluent-for-kubernetes/templates/* ../base/operator
1010
rm -R confluent-for-kubernetes

0 commit comments

Comments
 (0)