From 39992d0c4b98cca313e5d244cb62f0b8891d0966 Mon Sep 17 00:00:00 2001 From: Dries De Peuter Date: Sat, 11 Mar 2023 21:05:48 +0100 Subject: [PATCH] fix: chart --- charts/well-known/templates/deployment.yaml | 6 ++-- charts/well-known/values.yaml | 34 ++++++++++----------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/charts/well-known/templates/deployment.yaml b/charts/well-known/templates/deployment.yaml index 8fc4666..df4fedb 100644 --- a/charts/well-known/templates/deployment.yaml +++ b/charts/well-known/templates/deployment.yaml @@ -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 }} diff --git a/charts/well-known/values.yaml b/charts/well-known/values.yaml index e3bae68..a752eba 100644 --- a/charts/well-known/values.yaml +++ b/charts/well-known/values.yaml @@ -4,23 +4,23 @@ 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 - # 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:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - +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 +# 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:'. +# limits: +# cpu: 100m +# memory: 128Mi +# requests: +# cpu: 100m +# memory: 128Mi + webserver: image: repository: nginxinc/nginx-unprivileged