Skip to content

Commit

Permalink
Merge pull request #122 from bcgov/gold-dr-prod
Browse files Browse the repository at this point in the history
feat: golddrhelm
  • Loading branch information
thegentlemanphysicist authored May 26, 2022
2 parents ddabc6e + cbe8643 commit 51b9b11
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
14 changes: 14 additions & 0 deletions helm/keycloak/deploy-eb75ad-prod-golddr.sh
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
40 changes: 40 additions & 0 deletions helm/keycloak/values-golddr-eb75ad-prod.yaml
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

0 comments on commit 51b9b11

Please sign in to comment.