nginx/certbot: add env
This commit is contained in:
parent
52fbf6d61f
commit
e49241afce
2 changed files with 6 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
serviceName: aservice
|
||||
clusterDomain: c2.k8s.ooo
|
||||
email: technik@ungleich.ch
|
||||
|
|
Loading…
Reference in a new issue