https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
b

Binoy Shah

04/17/2023, 3:21 PM
Hi Our Ops team hosts a Hashicorp Vault server, and I wanted to inject credentials from Hashicorp Vault into our K8s jobs In our legacy DE helm charts, our credential injection mechanism was to use
env
and
valuesFrom
directive from our custom container spec
Copy code
env:
  {{- if ($.s3).enabled }}
  - name: OVERRIDE_S3_ENDPOINT
    value: {{ include "s3.endpoint" $ }}
  {{- end }}
  - name: AWS_ACCESS_KEY_ID
    valueFrom:
      secretKeyRef:
        name: {{ include "s3.secret" $ }}-secret
        key: ACCESS_KEY
  - name: AWS_SECRET_ACCESS_KEY
    valueFrom:
      secretKeyRef:
        name: {{ include "s3.secret" $ }}-secret
        key: SECRET_KEY
I need to inject values like this for the job runs via dagster too. Is there any provision that allows me to achieve the similar value copy from secrets,
j

jordan

04/17/2023, 7:43 PM
4 Views