From 6f44355fccde85298f056a78fc95ff93f2d0e871 Mon Sep 17 00:00:00 2001 From: Ross Golder Date: Fri, 9 Aug 2024 08:50:54 +0700 Subject: [PATCH] Move 'extraContainers' below main container. --- templates/gitea/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/gitea/deployment.yaml b/templates/gitea/deployment.yaml index 896eb31..5e7ee6f 100644 --- a/templates/gitea/deployment.yaml +++ b/templates/gitea/deployment.yaml @@ -263,9 +263,6 @@ spec: {{- toYaml .Values.initContainers.resources | nindent 12 }} terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }} containers: - {{- if .Values.extraContainers }} - {{- toYaml .Values.extraContainers | nindent 8 }} - {{- end }} - name: {{ .Chart.Name }} image: "{{ include "gitea.image" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} @@ -342,6 +339,9 @@ spec: subPath: {{ .Values.persistence.subPath }} {{- end }} {{- include "gitea.container-additional-mounts" . | nindent 12 }} + {{- if .Values.extraContainers }} + {{- toYaml .Values.extraContainers | nindent 8 }} + {{- end }} {{- with .Values.global.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }}