Skip to content

Commit

Permalink
add metacat volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Sep 25, 2024
1 parent 29991f6 commit 91fb5f3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
13 changes: 9 additions & 4 deletions helm/metadig-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,20 @@ spec:
value: "-Dlog4j2.formatMsgNoLookups=true"
volumeMounts:
- name: metadig-pv
mountPath: {{ .Values.persistence.mountPath }}
mountPath: {{ .Values.persistence.metadig.mountPath }}
readOnly: false
- name: metadig-config-volume
mountPath: {{ .Values.persistence.mountPath }}/metadig/metadig.properties
mountPath: {{ .Values.persistence.metadig.mountPath }}/metadig/metadig.properties
subPath: metadig.properties
- name: metadig-log4j-volume
mountPath: {{ .Values.persistence.mountPath }}/metadig/config/log4j.properties
mountPath: {{ .Values.persistence.metadig.mountPath }}/metadig/config/log4j.properties
subPath: log4j.properties
- name: {{ .Values.persistence.metacat.claimName }}
mountPath: {{ .Values.persistence.metacat.mountPath }}
volumes:
- name: metadig-pv
persistentVolumeClaim:
claimName: {{ .Values.persistence.claimName }}
claimName: {{ .Values.persistence.metadig.claimName }}
- name: metadig-config-volume
configMap:
name: metadig-config-volume
Expand All @@ -60,6 +62,9 @@ spec:
configMap:
name: metadig-log4j-volume
defaultMode: 0644
- name: {{ .Values.persistence.metadig.claimName }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.metadig.claimName }}
restartPolicy: Always
{{- with .Values.nodeSelector }}
tolerations:
Expand Down
51 changes: 24 additions & 27 deletions helm/metadig-worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,32 +89,29 @@ tolerations: []
affinity: {}

persistence:
## @param persistence.enabled Use a PVC to persist data.
##
enabled: true
## @param persistence.existingClaim A manually managed Persistent Volume and Claim
## If defined, PVC must be created manually before volume will be bound
## The value is evaluated as a template
##
claimName: "cephfs-metadig-pvc"
## @param persistence.storageClass Storage class of backing PVC
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner.
##
storageClass: ""
## @param persistence.accessModes Persistent Volume Access Modes
##
accessModes: ReadWriteMany
## @param persistence.size Size of data volume
##
size: 20Gi
## @param persistence.annotations Persistence annotations for Solr
##
annotations: {}
## @param persistence.mountPath Persistence mount path for Solr
##
mountPath: "/opt/local"
metadig:
enabled: true
## @param persistence.existingClaim
claimName: "cephfs-metadig-pvc"
## @param persistence.storageClass Storage class of backing PVC
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner.
##
storageClass: ""
accessModes: ReadWriteMany
size: 20Gi
## @param persistence.annotations Persistence annotations for Solr
##
annotations: {}
## @param persistence.mountPath Persistence mount path for Solr
##
mountPath: "/opt/local"

metacat:
claimName: metadig-worker-metacat-pvc
mountPath: "/var/data/metacat"

dns:
config: true

0 comments on commit 91fb5f3

Please sign in to comment.