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