Browse Source
Merge pull request #5717 from Budibase/infra/remove-secret-refs
make secretkey refs conditional
pull/5722/head
Martin McKeaveney
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
0 deletions
-
charts/budibase/templates/app-service-deployment.yaml
-
charts/budibase/templates/worker-service-deployment.yaml
|
|
|
@ -34,6 +34,7 @@ spec: |
|
|
|
{{ else }} |
|
|
|
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.services.couchdb.port }} |
|
|
|
{{ end }} |
|
|
|
{{ if .Values.services.couchdb.enabled }} |
|
|
|
- name: COUCH_DB_USER |
|
|
|
valueFrom: |
|
|
|
secretKeyRef: |
|
|
|
@ -44,6 +45,7 @@ spec: |
|
|
|
secretKeyRef: |
|
|
|
name: {{ template "couchdb.fullname" . }} |
|
|
|
key: adminPassword |
|
|
|
{{ end }} |
|
|
|
- name: ENABLE_ANALYTICS |
|
|
|
value: {{ .Values.globals.enableAnalytics | quote }} |
|
|
|
- name: INTERNAL_API_KEY |
|
|
|
|
|
|
|
@ -29,6 +29,7 @@ spec: |
|
|
|
- env: |
|
|
|
- name: CLUSTER_PORT |
|
|
|
value: {{ .Values.services.worker.port | quote }} |
|
|
|
{{ if .Values.services.couchdb.enabled }} |
|
|
|
- name: COUCH_DB_USER |
|
|
|
valueFrom: |
|
|
|
secretKeyRef: |
|
|
|
@ -39,6 +40,7 @@ spec: |
|
|
|
secretKeyRef: |
|
|
|
name: {{ template "couchdb.fullname" . }} |
|
|
|
key: adminPassword |
|
|
|
{{ end }} |
|
|
|
- name: COUCH_DB_URL |
|
|
|
{{ if .Values.services.couchdb.url }} |
|
|
|
value: {{ .Values.services.couchdb.url }} |
|
|
|
|