KubeZero/charts/kubezero/templates/cert-manager.yaml

13 lines
377 B
YAML
Raw Normal View History

{{- if index .Values "cert-manager" "enabled" }}
{{ template "kubezero-app.app" dict "root" . "name" "cert-manager" "type" "helm" "namespace" "cert-manager" "selfheal" "true" }}
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
2020-05-19 11:07:58 +00:00
{{- if index .Values "kiam" "enabled" }}
annotations:
iam.amazonaws.com/permitted: ".*CertManagerRole.*"
{{- end }}
2020-05-19 11:07:58 +00:00
{{- end }}