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
|
image: ungleich/ungleich-certbot
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
envFrom:
|
env:
|
||||||
- configMapRef:
|
- name: DOMAIN
|
||||||
name: {{ .Release.Name }}-certbot-configmap
|
value: "{{ .Values.serviceName }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
|
||||||
|
- name: EMAIL
|
||||||
|
value: "{{ .Values.email }}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etcletsencrypt
|
- name: etcletsencrypt
|
||||||
mountPath: "/etc/letsencrypt"
|
mountPath: "/etc/letsencrypt"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
serviceName: aservice
|
serviceName: aservice
|
||||||
clusterDomain: c2.k8s.ooo
|
clusterDomain: c2.k8s.ooo
|
||||||
|
email: technik@ungleich.ch
|
||||||
|
|
Loading…
Reference in a new issue