Compare commits
2 Commits
c850e79d2a
...
964f7e9c5d
Author | SHA1 | Date | |
---|---|---|---|
964f7e9c5d
|
|||
4f80520c7e
|
@@ -24,10 +24,6 @@ spec:
|
|||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.image.pullSecrets }}
|
|
||||||
imagePullSecrets:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
@@ -37,15 +33,24 @@ spec:
|
|||||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
envFrom:
|
envFrom:
|
||||||
|
{{- if .Values.existingConfigmap }}
|
||||||
|
- configMapRef:
|
||||||
|
name: {{ .Values.existingConfigmap }}
|
||||||
|
{{- else }}
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ include "common.fullname" . }}
|
name: {{ include "common.fullname" . }}
|
||||||
{{- if .Values.extraEnvVarsSecret }}
|
{{- end }}
|
||||||
|
{{- if .Values.existingSecret }}
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.extraEnvVarsSecret }}
|
name: {{ .Values.existingSecret }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ include "common.fullname" . }}
|
name: {{ include "common.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.extraEnvVarsSecret }}
|
||||||
|
- secretRef:
|
||||||
|
name: {{ .Values.extraEnvVarsSecret }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 5678
|
containerPort: 5678
|
||||||
|
@@ -15,7 +15,6 @@ image:
|
|||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
pullSecrets: []
|
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user