From dcb0912d54e1819bdaecddf437000eb0a82b4d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Pi=C4=99kos?= Date: Mon, 9 Sep 2024 20:59:20 +0200 Subject: [PATCH] potential fix --- .../flink-k8s-operator/flink-operator-rolebinding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/templates/flink-k8s-operator/flink-operator-rolebinding.yaml b/src/templates/flink-k8s-operator/flink-operator-rolebinding.yaml index d0d1647..3c5b0a1 100644 --- a/src/templates/flink-k8s-operator/flink-operator-rolebinding.yaml +++ b/src/templates/flink-k8s-operator/flink-operator-rolebinding.yaml @@ -1,4 +1,5 @@ -{{- with .Values.enterprise.flinkK8sOperatorDeploymentManager -}} +{{- with .Values.enterprise -}} +{{- with .flinkK8sOperatorDeploymentManager -}} {{- if .enabled }} apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -14,4 +15,5 @@ roleRef: name: {{ default "flink-operator" .flinkOperatorRole }} apiGroup: rbac.authorization.k8s.io {{- end }} +{{- end }} {{- end }} \ No newline at end of file