-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Looks like this isn't set properly via the chart, setting ourselves manually here.
- Loading branch information
1 parent
5564ccb
commit 77166cd
Showing
4 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{{ if .Values.reencrypt }} | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
labels: | ||
job-name: superset-reencrypt-secrets | ||
name: superset-reencrypt-secrets | ||
spec: | ||
backoffLimit: 6 | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
job-name: superset-reencrypt-secrets | ||
name: superset-reencrypt-secrets | ||
spec: | ||
containers: | ||
- command: | ||
- /bin/sh | ||
- -c | ||
- "superset re-encrypt-secrets" | ||
env: | ||
- name: DB_PASS | ||
valueFrom: | ||
secretKeyRef: | ||
key: password | ||
name: superset.plural-superset.credentials.postgresql.acid.zalan.do | ||
envFrom: | ||
- secretRef: | ||
name: superset-env | ||
image: dkr.plural.sh/superset/apache/superset:2.1.0-plural1.1.1 | ||
imagePullPolicy: Always | ||
name: superset-init-db | ||
resources: {} | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
volumeMounts: | ||
- mountPath: /app/pythonpath | ||
name: superset-config | ||
readOnly: true | ||
dnsPolicy: ClusterFirst | ||
initContainers: | ||
- command: | ||
- /bin/sh | ||
- -c | ||
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -timeout 120s | ||
envFrom: | ||
- secretRef: | ||
name: superset-env | ||
image: jwilder/dockerize:latest | ||
imagePullPolicy: IfNotPresent | ||
name: wait-for-postgres | ||
resources: {} | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
restartPolicy: Never | ||
securityContext: | ||
runAsUser: 0 | ||
volumes: | ||
- name: superset-config | ||
secret: | ||
defaultMode: 420 | ||
secretName: superset-config | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters