Create clusterrolebinding for nitifications only when notifications enbaled

Signed-off-by: Denis Kadyshev <metajiji@gmail.com>
This commit is contained in:
Denis Kadyshev 2023-11-02 11:52:35 +07:00 committed by GitHub
parent c875b0fffb
commit ff72e69ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{{- if .Values.createClusterRoles }}
{{- if and .Values.notifications.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata: