|
@ -26,6 +26,14 @@ spec: |
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
containers: |
|
|
containers: |
|
|
- name: {{ .Chart.Name }} |
|
|
- name: {{ .Chart.Name }} |
|
|
|
|
|
args: |
|
|
|
|
|
- timeout |
|
|
|
|
|
- --preserve-status |
|
|
|
|
|
- --foreground |
|
|
|
|
|
- {{ .Values.nginx.restartEvery }} |
|
|
|
|
|
- /usr/sbin/nginx |
|
|
|
|
|
- -g |
|
|
|
|
|
- daemon off; |
|
|
securityContext: |
|
|
securityContext: |
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|
image: "{{ .Values.nginx.image.repository }}:{{ .Values.nginx.image.tag | default .Chart.AppVersion }}" |
|
|
image: "{{ .Values.nginx.image.repository }}:{{ .Values.nginx.image.tag | default .Chart.AppVersion }}" |
|
|