diff --git a/helm/keycloak/deploy-eb75ad-prod-golddr.sh b/helm/keycloak/deploy-eb75ad-prod-golddr.sh new file mode 100755 index 00000000..f472d089 --- /dev/null +++ b/helm/keycloak/deploy-eb75ad-prod-golddr.sh @@ -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 diff --git a/helm/keycloak/values-golddr-eb75ad-prod.yaml b/helm/keycloak/values-golddr-eb75ad-prod.yaml new file mode 100644 index 00000000..fd9d0bc4 --- /dev/null +++ b/helm/keycloak/values-golddr-eb75ad-prod.yaml @@ -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