Skip to content
Snippets Groups Projects
Commit d3b011cc authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add cert-manager certificate template

parent bdebe2cc
No related branches found
No related tags found
No related merge requests found
{{- define "common.cert-manager.certificate" -}}
apiVersion: {{ .Values.apiVersion | default "cert-manager.io/v1" }}
kind: Certificate
metadata:
name: {{ .Values.name | default "certificate" }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "common.variables.labels" . | nindent 4 }}
spec:
secretName: {{ .Values.secretName }}
{{- with .Values.dnsNames}}
dnsNames:
{{- toYaml . | nindent 4 }}
{{- end }}
issuerRef:
name: {{ .Values.issuerRef.name }}
kind: {{ .Values.issuerRef.kind | default "Issuer" }}
---
{{- end }}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment