Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pielas committed Sep 9, 2024
1 parent fe9122f commit 8e1aaf6
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{{- if and (hasKey .Values "enterprise.flinkK8sOperatorDeploymentManager") .Values.enterprise.flinkK8sOperatorDeploymentManager.enabled }}
{{- with .Values.enterprise.flinkK8sOperatorDeploymentManager -}}
{{- if .enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ default "flink-operator" .Values.enterprise.flinkK8sOperatorDeploymentManager.flinkOperatorRole }}-rolebinding
name: {{ default "flink-operator" .flinkOperatorRole }}-rolebinding
labels:
{{ include "nussknacker.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ default "flink-service-account" .Values.enterprise.flinkK8sOperatorDeploymentManager.flinkServiceAccount }}
name: {{ default "flink-service-account" .flinkServiceAccount }}
roleRef:
kind: Role
name: {{ default "flink-operator" .Values.enterprise.flinkK8sOperatorDeploymentManager.flinkOperatorRole }}
name: {{ default "flink-operator" .flinkOperatorRole }}
apiGroup: rbac.authorization.k8s.io
{{- end }}

0 comments on commit 8e1aaf6

Please sign in to comment.