Skip to content

Commit

Permalink
pass the dataone token to the worker pod
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Apr 25, 2024
1 parent 2027806 commit 22e3f30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions helm/metadig-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ spec:
env:
- name: JAVA_OPTS
value: "-Dlog4j2.formatMsgNoLookups=true"
- name: DATAONE_AUTH_TOKEN
valueFrom:
secretKeyRef:
name: dataone-token
key: DataONEauthToken
# If 'false", the secret must exist before the pod can start
# App versions before v2.3.4 will read this value from a config file, not the env var.
optional: true
volumeMounts:
- name: metadig-pv
mountPath: {{ .Values.persistence.mountPath }}
Expand Down

0 comments on commit 22e3f30

Please sign in to comment.