fix: chart

This commit is contained in:
Dries De Peuter 2023-03-11 21:05:48 +01:00
parent 03cb077a17
commit 39992d0c4b
No known key found for this signature in database
2 changed files with 20 additions and 20 deletions

View file

@ -48,13 +48,13 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.wellKnown.image.repository }}:{{ .Values.wellKnown.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.wellKnown.image.pullPolicy }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: [
"-namespace", "{{ .Release.Namespace }}"
]
resources:
{{- toYaml .Values.wellKnown.resources | nindent 12 }}
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View file

@ -4,11 +4,11 @@
replicaCount: 1
wellKnown:
image:
repository: nginxinc/nginx-unprivileged
pullPolicy: IfNotPresent
tag: "1.23"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little