fix strimzi namespace

This commit is contained in:
2026-04-28 13:00:12 +02:00
parent 0869817c60
commit 98c0e945f3
4 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: strimzi-operator
resources:
- namespace.yml
- serviceaccount.yml
- roles.yml
- strimzi-operator-deployment.yml

View File

@@ -0,0 +1,21 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: strimzi-cluster-operator
rules:
- apiGroups: ['*']
resources: ['*']
verbs: ['*']
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: strimzi-cluster-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: strimzi-cluster-operator
subjects:
- kind: ServiceAccount
name: strimzi-cluster-operator
namespace: strimzi-operator

View File

@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: strimzi-cluster-operator
namespace: strimzi-operator

View File

@@ -21,4 +21,6 @@ spec:
- /opt/strimzi/bin/cluster_operator_run.sh
env:
- name: STRIMZI_NAMESPACE
value: strimzi-operator
valueFrom:
fieldRef:
fieldPath: metadata.namespace