Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow extraVolumes and extraVolumeMounts on core #911

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions templates/core/core-dpl.yaml
Expand Up @@ -124,6 +124,9 @@ spec:
{{- if .Values.caBundleSecretName }}
{{ include "harbor.caBundleVolumeMount" . | indent 8 }}
{{- end }}
{{- with .Values.core.extraVolumeMounts }}
{{ tpl (. | toYaml) $ | indent 8 }}
{{- end }}
{{- if .Values.core.resources }}
resources:
{{ toYaml .Values.core.resources | indent 10 }}
Expand Down Expand Up @@ -177,6 +180,9 @@ spec:
{{- if .Values.caBundleSecretName }}
{{ include "harbor.caBundleVolume" . | indent 6 }}
{{- end }}
{{- with .Values.core.extraVolumes }}
{{ tpl (. | toYaml) $ | indent 6 }}
{{- end }}
{{- with .Values.core.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand Down
10 changes: 10 additions & 0 deletions values.yaml
Expand Up @@ -434,6 +434,16 @@ core:
secretName: ""
# The XSRF key. Will be generated automatically if it isn't specified
xsrfKey: ""
# Extra volumes to add to the container, e.g.:
# - name: registry-data
# persistentVolumeClaim:
# claimName: nfs-harbor-registry-pvc
extraVolumes: []
# Extra volume mounts to add to the container, e.g.:
# - mountPath: /data
# name: registry-data
# subPath: core
extraVolumeMounts: []

jobservice:
image:
Expand Down