Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASRE-550: Fix WORKLOAD_API_BEARER_TOKEN issue #376

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/airbyte/templates/_database.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ Renders all of the common environment variables which provide database credentia
Renders a set of database secrets to be included in the shared Airbyte secret
*/}}
{{- define "airbyte.database.secrets" }}
{{ $user := (include "airbyte.database.user" .)}}
{{ $user := (include "airbyte.database.user" .) | trim }}
{{- if not (empty $user) }}
DATABASE_USER: {{ $user }}
{{- end }}
{{ $password := (include "airbyte.database.password" .)}}
{{ $password := (include "airbyte.database.password" .) | trim }}
{{- if not (empty $password) }}
DATABASE_PASSWORD: {{ $password }}
{{- end}}
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ stringData:
KEYCLOAK_ADMIN_USER: {{ .Values.keycloak.auth.adminUsername | quote }}
KEYCLOAK_ADMIN_PASSWORD: {{ .Values.keycloak.auth.adminPassword | quote }}
{{- end }}
WORKLOAD_API_BEARER_TOKEN: {{ index ".Values.workload-api.bearerToken" | quote }}
WORKLOAD_API_BEARER_TOKEN: {{ index .Values "workload-api-server" "bearerToken" | quote }}
Loading