File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,6 +209,9 @@ spec:
209209 {{- if .Values.caBundleSecretName }}
210210{{ include "harbor.caBundleVolumeMount" . | indent 8 }}
211211 {{- end }}
212+ {{- with .Values.registry.registry.extraVolumeMounts }}
213+ {{- toYaml . | nindent 8 }}
214+ {{- end }}
212215 - name : registryctl
213216 image : {{ .Values.registry.controller.image.repository }}:{{ .Values.registry.controller.image.tag }}
214217 imagePullPolicy : {{ .Values.imagePullPolicy }}
@@ -356,6 +359,9 @@ spec:
356359 {{- if .Values.caBundleSecretName }}
357360{{ include "harbor.caBundleVolumeMount" . | indent 8 }}
358361 {{- end }}
362+ {{- with .Values.registry.controller.extraVolumeMounts }}
363+ {{- toYaml . | nindent 8 }}
364+ {{- end }}
359365 volumes :
360366 - name : registry-htpasswd
361367 secret :
@@ -412,6 +418,9 @@ spec:
412418 {{- if .Values.caBundleSecretName }}
413419{{ include "harbor.caBundleVolume" . | indent 6 }}
414420 {{- end }}
421+ {{- with .Values.registry.extraVolumes }}
422+ {{- toYaml . | nindent 6 }}
423+ {{- end }}
415424 {{- with .Values.registry.nodeSelector }}
416425 nodeSelector :
417426{{ toYaml . | indent 8 }}
Original file line number Diff line number Diff line change @@ -810,6 +810,7 @@ registry:
810810 # memory: 256Mi
811811 # cpu: 100m
812812 extraEnvVars : []
813+ extraVolumeMounts : []
813814 # # Liveness probe values
814815 livenessProbe :
815816 initialDelaySeconds : 300
@@ -833,6 +834,7 @@ registry:
833834 # memory: 256Mi
834835 # cpu: 100m
835836 extraEnvVars : []
837+ extraVolumeMounts : []
836838 # # Liveness probe values
837839 livenessProbe :
838840 initialDelaySeconds : 300
@@ -857,6 +859,7 @@ registry:
857859 minAvailable : 1
858860 # maxUnavailable: 1
859861 revisionHistoryLimit : 10
862+ extraVolumes : []
860863 nodeSelector : {}
861864 tolerations : []
862865 affinity : {}
You can’t perform that action at this time.
0 commit comments