-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from bcgov/gold-dr-prod
feat: golddrhelm
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
pwd="$(dirname "$0")" | ||
source "$pwd/../helpers.sh" | ||
|
||
if ! check_kube_context "api-golddr-devops-gov-bc-ca"; then | ||
echo "invalid context" | ||
exit 1 | ||
fi | ||
|
||
helm repo add sso-charts https://bcgov.github.io/sso-helm-charts | ||
helm repo update | ||
|
||
helm upgrade --install sso-keycloak sso-charts/sso-keycloak -n eb75ad-prod -f values-golddr-eb75ad-prod.yaml --version v1.5.3 |
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,40 @@ | ||
replicaCount: 1 | ||
|
||
resources: | ||
limits: | ||
cpu: 2 | ||
memory: 4Gi | ||
requests: | ||
cpu: 1250m | ||
memory: 4Gi | ||
|
||
postgres: | ||
host: sso-patroni-gold.eb75ad-prod.svc.cluster.local | ||
port: 34065 | ||
|
||
# Uncomment the credential blocks if the secret needs to be generated | ||
patroni: | ||
replicaCount: 2 | ||
# credentials: | ||
# existingSecret: false | ||
# superuser: | ||
# username: postgres | ||
# password: | ||
# admin: | ||
# username: admin | ||
# password: | ||
# standby: | ||
# username: standby | ||
# password: | ||
|
||
# additionalCredentials: | ||
# - username: ssokeycloak | ||
# password: | ||
|
||
persistentVolume: | ||
size: 10Gi | ||
|
||
standby: | ||
enabled: true | ||
host: sso-patroni-gold.eb75ad-prod.svc.cluster.local | ||
port: 34065 |