git-pages helm chart
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{{- if and .Values.ingress.enabled .Values.certificate.enabled }}
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: {{ include "git-pages.fullname" . }}-tls
|
||||
labels:
|
||||
{{- include "git-pages.componentLabels" . | nindent 4 }}
|
||||
spec:
|
||||
secretName: git-pages-tls
|
||||
dnsNames:
|
||||
- {{ .Values.ingress.host | quote }}
|
||||
issuerRef:
|
||||
name: {{ .Values.certificate.issuerRef.name }}
|
||||
kind: {{ .Values.certificate.issuerRef.kind }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user