diff --git a/charts/cryostat/templates/deployment.yaml b/charts/cryostat/templates/deployment.yaml index a77e971b..e4524fa9 100644 --- a/charts/cryostat/templates/deployment.yaml +++ b/charts/cryostat/templates/deployment.yaml @@ -111,7 +111,7 @@ spec: {{- toYaml .Values.core.resources | nindent 12 }} - name: {{ printf "%s-%s" .Chart.Name "db" }} securityContext: - {{- toYaml .Values.core.securityContext | nindent 12 }} + {{- toYaml .Values.db.securityContext | nindent 12 }} image: "{{ .Values.db.image.repository }}:{{ .Values.db.image.tag }}" imagePullPolicy: {{ .Values.db.image.pullPolicy }} env: @@ -148,7 +148,7 @@ spec: - cryostat3 - name: {{ printf "%s-%s" .Chart.Name "storage" }} securityContext: - {{- toYaml .Values.core.securityContext | nindent 12 }} + {{- toYaml .Values.storage.securityContext | nindent 12 }} image: "{{ .Values.storage.image.repository }}:{{ .Values.storage.image.tag }}" imagePullPolicy: {{ .Values.storage.image.pullPolicy }} env: