Edit deployment.yaml
This commit is contained in:
@@ -24,6 +24,11 @@ spec:
|
|||||||
- name: nginx-config-volume
|
- name: nginx-config-volume
|
||||||
mountPath: /etc/nginx/http.d/default.conf
|
mountPath: /etc/nginx/http.d/default.conf
|
||||||
subPath: default.conf
|
subPath: default.conf
|
||||||
|
env:
|
||||||
|
{{- range $key, $value := .Values.env }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: nginx-config-volume
|
- name: nginx-config-volume
|
||||||
configMap:
|
configMap:
|
||||||
|
|||||||
Reference in New Issue
Block a user