Skip to content

Commit

Permalink
Add database host
Browse files Browse the repository at this point in the history
  • Loading branch information
sggerard committed Nov 5, 2024
1 parent b280f7a commit abbddd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/.deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ jobs:
--set-string global.secrets.keycloakClientSecret="${{secrets.KEYCLOAK_CLIENT_SECRET}}" \
--set-string bitnamipg.auth.username="${{secrets.DATABASE_USERNAME}}" \
--set-string bitnamipg.auth.password="${{secrets.DATABASE_PASSWORD}}" \
--set-string global.config.databaseHost="${{steps.vars.outputs.release}}-bitnamipg" \
${{ inputs.params }} \
--install --wait --atomic ${{ steps.vars.outputs.release }} \
--timeout ${{ inputs.timeout-minutes }}m \
Expand Down
1 change: 1 addition & 0 deletions charts/app/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ data:
DATABASE_NAME: {{ .Values.global.secrets.databaseName | b64enc | quote }}
DATABASE_CLIENT: {{ .Values.global.config.databaseClient | b64enc | quote }}
DATABASE_PORT: {{ .Values.global.config.databasePort | b64enc | quote}}
DATABASE_HOST: {{ .Values.global.config.databaseHost | b64enc | quote}}
DATABASE_SSL: {{ .Values.global.config.databaseSSL | b64enc | quote}}
KEYCLOAK_REALM: {{ .Values.global.config.keycloakRealm | b64enc | quote}}
KEYCLOAK_URL: {{ .Values.global.config.keycloakURL | b64enc | quote}}
Expand Down
3 changes: 2 additions & 1 deletion charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ global:
config:
databaseUser: ~
databaseClient: ~
databaseHost: ~
databasePort: ~
databaseSSL: ~
keycloakRealm: ~
Expand All @@ -38,7 +39,7 @@ global:
#-- the components of the application, cms.
cms:
#-- enable or disable cms
enabled: false
enabled: true
#-- the deployment strategy, can be "Recreate" or "RollingUpdate"
deploymentStrategy: Recreate
#-- autoscaling for the component. it is optional and is an object.
Expand Down

0 comments on commit abbddd1

Please sign in to comment.