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 }} - name: {{ .Chart.Name }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.wellKnown.image.repository }}:{{ .Values.wellKnown.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.wellKnown.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
args: [ args: [
"-namespace", "{{ .Release.Namespace }}" "-namespace", "{{ .Release.Namespace }}"
] ]
resources: resources:
{{- toYaml .Values.wellKnown.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -4,23 +4,23 @@
replicaCount: 1 replicaCount: 1
wellKnown: image:
image: repository: nginxinc/nginx-unprivileged
repository: nginxinc/nginx-unprivileged pullPolicy: IfNotPresent
pullPolicy: IfNotPresent tag: "1.23"
tag: "1.23"
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # 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 # choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following # resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits: # limits:
# cpu: 100m # cpu: 100m
# memory: 128Mi # memory: 128Mi
# requests: # requests:
# cpu: 100m # cpu: 100m
# memory: 128Mi # memory: 128Mi
webserver: webserver:
image: image:
repository: nginxinc/nginx-unprivileged repository: nginxinc/nginx-unprivileged