Skip to content

Commit

Permalink
add mount path to docker container
Browse files Browse the repository at this point in the history
and fix up other minor helm items
  • Loading branch information
jeanetteclark committed Sep 30, 2024
1 parent f71f6cd commit f5eff91
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Docker/metadig-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ LABEL org.opencontainers.image.title="metadig-engine worker"
LABEL org.opencontainers.image.version="1.0.1"
LABEL maintainer="Jeanette Clark [email protected]"

RUN mkdir -p /var/data/repos

# Set the working directory
WORKDIR /var/lib/metadig

Expand Down
2 changes: 1 addition & 1 deletion helm/metadig-worker/pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
accessModes:
- ReadOnlyMany
capacity:
storage: 42Ti
storage: 500Ti
csi:
driver: cephfs.csi.ceph.com
nodeStageSecretRef:
Expand Down
2 changes: 1 addition & 1 deletion helm/metadig-worker/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
- ReadOnlyMany
resources:
requests:
storage: 42Ti
storage: 500Ti
volumeMode: Filesystem
# volumeName should be same as PV name
volumeName: cephfs-repos-rom
5 changes: 3 additions & 2 deletions helm/metadig-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ spec:
configMap:
name: metadig-log4j-volume
defaultMode: 0644
- name: {{ .Values.persistence.metadig.claimName }}
- name: {{ .Values.persistence.metacat.claimName }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.metadig.claimName }}
claimName: {{ .Values.persistence.metacat.claimName }}
readOnly: true
restartPolicy: Always
{{- with .Values.nodeSelector }}
tolerations:
Expand Down

0 comments on commit f5eff91

Please sign in to comment.