nginx/certbot: add env

This commit is contained in:
Nico Schottelius 2021-06-19 20:01:52 +02:00
parent 52fbf6d61f
commit e49241afce
2 changed files with 6 additions and 3 deletions

View file

@ -15,9 +15,11 @@ spec:
image: ungleich/ungleich-certbot
ports:
- containerPort: 80
envFrom:
- configMapRef:
name: {{ .Release.Name }}-certbot-configmap
env:
- name: DOMAIN
value: "{{ .Values.serviceName }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
- name: EMAIL
value: "{{ .Values.email }}"
volumeMounts:
- name: etcletsencrypt
mountPath: "/etc/letsencrypt"

View file

@ -1,2 +1,3 @@
serviceName: aservice
clusterDomain: c2.k8s.ooo
email: technik@ungleich.ch