Commit 09508420 authored by Harry Lee's avatar Harry Lee

Fix: missing certificates initContainer in gitaly

parent 8931fc46
---
title: Add missing certificates initContainer to gitaly
merge_request: 716
author: Harry Lee (tclh123)
type: fixed
...@@ -28,6 +28,7 @@ spec: ...@@ -28,6 +28,7 @@ spec:
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
initContainers: initContainers:
{{ include "gitlab.extraInitContainers" . | indent 8 }} {{ include "gitlab.extraInitContainers" . | indent 8 }}
{{ include "gitlab.certificates.initContainer" . | indent 8 }}
- name: configure - name: configure
command: ['sh', '/config/configure'] command: ['sh', '/config/configure']
image: {{ .Values.init.image }}:{{ .Values.init.tag }} image: {{ .Values.init.image }}:{{ .Values.init.tag }}
...@@ -96,6 +97,7 @@ spec: ...@@ -96,6 +97,7 @@ spec:
fieldPath: metadata.name fieldPath: metadata.name
volumeMounts: volumeMounts:
{{ include "gitlab.extraVolumeMounts" . | indent 12 }} {{ include "gitlab.extraVolumeMounts" . | indent 12 }}
{{ include "gitlab.certificates.volumeMount" . | indent 12 }}
- name: gitaly-config - name: gitaly-config
mountPath: '/etc/gitaly/templates' mountPath: '/etc/gitaly/templates'
- name: gitaly-secrets - name: gitaly-secrets
...@@ -155,6 +157,7 @@ spec: ...@@ -155,6 +157,7 @@ spec:
- key: {{ template "gitlab.redis.password.key" . }} - key: {{ template "gitlab.redis.password.key" . }}
path: redis_password path: redis_password
{{- end }} {{- end }}
{{ include "gitlab.certificates.volumes" . | indent 6 }}
{{- if .Values.nodeSelector }} {{- if .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }} {{ toYaml .Values.nodeSelector | indent 8 }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment