Skip to content

Commit

Permalink
Ingress override in certificate.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jancis committed Sep 20, 2021
1 parent 7ab096b commit 8b580de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/drupal/templates/drupal-certificate.yaml
Expand Up @@ -8,6 +8,7 @@ metadata:
name: {{ .Release.Name }}-crt
annotations:
cert-manager.io/issue-temporary-certificate: "true"
acme.cert-manager.io/http01-override-ingress-name: "{{ .Release.Name }}-drupal"
labels:
{{- include "drupal.release_labels" . | nindent 4 }}
spec:
Expand All @@ -31,6 +32,9 @@ spec:
kind: Certificate
metadata:
name: {{ $.Release.Name }}-crt-p{{ $index }}
annotations:
cert-manager.io/issue-temporary-certificate: "true"
acme.cert-manager.io/http01-override-ingress-name: "{{ .Release.Name }}-drupal"
labels:
{{- include "drupal.release_labels" $ | nindent 4 }}
spec:
Expand Down Expand Up @@ -98,7 +102,8 @@ kind: Certificate
metadata:
name: {{ $.Release.Name }}-crt-{{ $index }}
annotations:
cert-manager.io/issue-temporary-certificate: "true"
cert-manager.io/issue-temporary-certificate: "true"
acme.cert-manager.io/http01-override-ingress-name: "{{ $.Release.Name }}-drupal-{{ $domain.ingress }}"
labels:
{{- include "drupal.release_labels" $ | nindent 4 }}
spec:
Expand Down

0 comments on commit 8b580de

Please sign in to comment.