From 2295142bae56539e9323881215d10c6057c4681f Mon Sep 17 00:00:00 2001 From: pat-s Date: Tue, 16 Apr 2024 10:31:02 +0200 Subject: [PATCH] adjust deployment file --- templates/gitea/deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/gitea/deployment.yaml b/templates/gitea/deployment.yaml index 247a560..be569c7 100644 --- a/templates/gitea/deployment.yaml +++ b/templates/gitea/deployment.yaml @@ -56,7 +56,7 @@ spec: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: - name: init-directories - image: "{{ include "gitea.image" . }}" + image: {{ include "gitea.image" . }} imagePullPolicy: {{ .Values.image.pullPolicy }} command: ["/usr/sbin/init_directory_structure.sh"] env: @@ -91,7 +91,7 @@ spec: resources: {{- toYaml .Values.initContainers.resources | nindent 12 }} - name: init-app-ini - image: "{{ include "gitea.image" . }}" + image: {{ include "gitea.image" . }} imagePullPolicy: {{ .Values.image.pullPolicy }} command: ["/usr/sbin/config_environment.sh"] env: @@ -132,7 +132,7 @@ spec: {{- toYaml .Values.initContainers.resources | nindent 12 }} {{- if .Values.signing.enabled }} - name: configure-gpg - image: "{{ include "gitea.image" . }}" + image: {{ include "gitea.image" . }} command: ["/usr/sbin/configure_gpg_environment.sh"] imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: @@ -163,7 +163,7 @@ spec: {{- toYaml .Values.initContainers.resources | nindent 12 }} {{- end }} - name: configure-gitea - image: "{{ include "gitea.image" . }}" + image: {{ include "gitea.image" . }} command: ["/usr/sbin/configure_gitea.sh"] imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: @@ -259,7 +259,7 @@ spec: terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }} containers: - name: {{ .Chart.Name }} - image: "{{ include "gitea.image" . }}" + image: {{ include "gitea.image" . }} imagePullPolicy: {{ .Values.image.pullPolicy }} env: # SSH Port values have to be set here as well for openssh configuration @@ -347,7 +347,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.topologySpreadConstraints }} - topologySpreadConstraints: + topologySpreadConstraints: {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.tolerations }}