Skip to content

Commit

Permalink
[CX-2479] Fix issues missing secrets datafold containers
Browse files Browse the repository at this point in the history
  • Loading branch information
cfernhout committed Feb 26, 2024
1 parent ad0836f commit d5b8cc9
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/datafold/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: datafold
description: Helm chart package to deploy Datafold on kubernetes.
type: application
version: 0.5.3
version: 0.5.4
appVersion: "1.0.0"
icon: https://www.datafold.com/logo.png

Expand Down
54 changes: 54 additions & 0 deletions charts/datafold/charts/dfshell/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,60 @@ spec:
name: {{ include "datafold.configmap" . }}
env:
{{ include "datafold.env" . | nindent 12 }}
- name: DATAFOLD_FRESHPAINT_FRONTEND_TOKEN
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_FRESHPAINT_FRONTEND_TOKEN
- name: DATAFOLD_FRESHPAINT_BACKEND_TOKEN
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_FRESHPAINT_BACKEND_TOKEN
- name: DATAFOLD_FRESHPAINT_URL
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_FRESHPAINT_URL
- name: DATAFOLD_AVO_INSPECTOR_FRONTEND_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_AVO_INSPECTOR_FRONTEND_API_KEY
- name: DATAFOLD_INSTALL_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_INSTALL_PASSWORD
- name: DATAFOLD_DATADOG_CLIENT_TOKEN
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_DATADOG_CLIENT_TOKEN
- name: DATAFOLD_DATADOG_APPLICATION_ID
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_DATADOG_APPLICATION_ID
{{- if (eq .Values.global.optional.intercom "true") }}
- name: DATAFOLD_INTERCOM_APP_ID
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_INTERCOM_APP_ID
{{- end }}
{{- if (eq .Values.global.optional.googleAuth "true") }}
- name: DATAFOLD_GOOGLE_CLIENT_ID
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_GOOGLE_CLIENT_ID
- name: DATAFOLD_GOOGLE_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_GOOGLE_CLIENT_SECRET
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
Expand Down
5 changes: 5 additions & 0 deletions charts/datafold/charts/worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
env:
{{ include "worker.env" . | nindent 12 }}
{{ include "datafold.env" . | nindent 12 }}
- name: DATAFOLD_FRESHPAINT_BACKEND_TOKEN
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_FRESHPAINT_BACKEND_TOKEN
- name: DATAFOLD_FRESHPAINT_URL
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit d5b8cc9

Please sign in to comment.