helmfile.yaml
970 Bytes
environments:
default:
values:
- clusterIssuer:
jsonPatches: []
strategicMergePatches: []
caIssuer:
secretName: root-ca
---
helmfiles:
- path: ./charts/cert-manager/helmfile.yaml
values:
-
{{- toYaml .Values | nindent 8 }}
releases:
- name: cluster-issuer
chart: charts/cluster-issuer
jsonPatches:
{{- if not (empty (.Values.clusterIssuer.jsonPatches)) }}
{{- .Values.clusterIssuer.jsonPatches | toYaml | indent 6 }}
{{- end }}
strategicMergePatches:
- apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: ca-issuer
namespace: cert-manager
spec:
ca:
secretName: {{ .Values.clusterIssuer.caIssuer.secretName }}
{{- if not (empty (.Values.clusterIssuer.strategicMergePatches)) }}
{{- .Values.clusterIssuer.strategicMergePatches | toYaml | indent 6 }}
{{- end }}