Skip to content

Commit

Permalink
Use a random password every time we spin up Keycloak. Inject that pas…
Browse files Browse the repository at this point in the history
…sword into the config server so we can communicate with Keycloak.
  • Loading branch information
bgroff committed Mar 21, 2024
1 parent 46f4af1 commit 145eb62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions charts/airbyte-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ spec:
{{- if or (eq .Values.global.edition "pro") (eq .Values.global.edition "enterprise") }}
- name: API_AUTHORIZATION_ENABLED
value: "true"
- name: KEYCLOAK_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.global.secretName | default (printf "%s-airbyte-secrets" .Release.Name) }}
key: KEYCLOAK_ADMIN_PASSWORD
{{- end }}
{{- if eq .Values.global.deploymentMode "oss" }}
- name: AIRBYTE_API_HOST
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ keycloak:

auth:
adminUsername: airbyteAdmin
adminPassword: keycloak123
adminPassword: (randAlphaNum 24 | nospace)

keycloak-setup:
enabled: true
Expand Down

0 comments on commit 145eb62

Please sign in to comment.