فهرست منبع

Merge pull request #955 from goto-opensource/fix/cert-controller-rbac-conditional

fix: only create cert-controller RBAC resources if cert-controller creation itself is enabled
paul-the-alien[bot] 4 سال پیش
والد
کامیت
89304512e2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      deploy/charts/external-secrets/templates/cert-controller-rbac.yaml

+ 1 - 1
deploy/charts/external-secrets/templates/cert-controller-rbac.yaml

@@ -1,4 +1,4 @@
-{{- if .Values.certController.rbac.create -}}
+{{- if and .Values.certController.create .Values.certController.rbac.create -}}
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRole
 metadata: