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