Skip to content

Commit

Permalink
add subPath & nameOverride
Browse files Browse the repository at this point in the history
  • Loading branch information
artntek committed Apr 16, 2024
1 parent be161b5 commit f5f1478
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ spec:
name: {{ .Release.Name }}-config-volume
- mountPath: {{ .Values.persistence.mountPath }}
name: indexer-metacat-pv
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
readOnly: true
- mountPath: /etc/dataone/tdb-cache
name: {{ .Release.Name }}-temp-tripledb-volume
Expand Down
16 changes: 15 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ image:
#tag: ""

imagePullSecrets: []
nameOverride: ""

## @param dataone-indexer.nameOverride partial override for resource name
## used by k8s for the pods etc.
## Will maintain the release name, so the resulting resource name for the pods etc. will begin:
## myrelease-nameOverride-...
##
nameOverride: d1index

fullnameOverride: ""

serviceAccount:
Expand Down Expand Up @@ -87,8 +94,15 @@ persistence:
## claimName: {podname}-metacat-{releaseName}-metacat-0
##
claimName: ""

## @param persistence.mountPath The directory at which to mount the volume, inside this container
##
mountPath: /var/metacat

## @param persistence.subPath The subdirectory of the volume (see persistence.volumeName) to mount
## Useful in dev environments and one PV for multiple services
##
subPath: ""

## @section IndexWorker properties
##
Expand Down

0 comments on commit f5f1478

Please sign in to comment.