KubeZero/charts/kubezero/templates/cert-manager.yaml
2020-07-08 14:52:13 +01:00

17 lines
427 B
YAML

{{- if index .Values "cert-manager" "enabled" }}
{{ template "kubezero-app.app" dict "root" . "name" "cert-manager" "type" "helm" "namespace" "cert-manager" }}
syncPolicy:
automated:
prune: true
selfHeal: true
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
{{- if index .Values "kiam" "enabled" }}
annotations:
iam.amazonaws.com/permitted: ".*CertManagerRole.*"
{{- end }}
{{- end }}