@ -26,6 +26,14 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
args:
- timeout
- --preserve-status
- --foreground
- {{ .Values.nginx.restartEvery }}
- /usr/sbin/nginx
- -g
- daemon off;
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.nginx.image.repository }}:{{ .Values.nginx.image.tag | default .Chart.AppVersion }}"
@ -26,6 +26,10 @@ nginx:
annotations: {}
loadBalancerIP: ""
noAuthSmtpServerIP: ""
# Restart container to reload periodically. A number with a suffix:
# 's' for seconds (default) , 'm' for minutes, 'h' for hours or 'd' for days.
# Specifying 0 disables the timeout.
restartEvery: 30d
certificate:
issuer: letsencrypt-staging
issuerKind: ClusterIssuer