| giolekva | b0f9c4f | 2021-10-20 12:53:50 +0400 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| giolekva | 67fb426 | 2021-10-25 20:42:07 +0400 | [diff] [blame] | 3 | helm install --namespace core-auth \ |
| 4 | postgres \ |
| 5 | bitnami/postgresql \ |
| 6 | --set fullnameOverride=postgres \ |
| 7 | --set image.repository=arm64v8/postgres \ |
| 8 | --set image.tag=13.4 \ |
| 9 | --set persistence.size=1Gi \ |
| 10 | --set securityContext.enabled=true \ |
| 11 | --set securityContext.fsGroup=0 \ |
| 12 | --set containerSecurityContext.enabled=true \ |
| 13 | --set containerSecurityContext.runAsUser=0 \ |
| 14 | --set volumePermissions.securityContext.runAsUser=0 \ |
| 15 | --set service.type=ClusterIP \ |
| 16 | --set service.port=5432 \ |
| 17 | --set postgresqlPassword=psswd \ |
| 18 | --set postgresqlDatabase=kratos |
| giolekva | b0f9c4f | 2021-10-20 12:53:50 +0400 | [diff] [blame] | 19 | |
| giolekva | 67fb426 | 2021-10-25 20:42:07 +0400 | [diff] [blame] | 20 | kubectl create configmap kratos -n core-auth --from-file=../../core/auth/kratos/kratos.yaml |
| 21 | kubectl create configmap identity -n core-auth --from-file=../../core/auth/kratos/identity.schema.json |
| 22 | kubectl apply -f ../../core/auth/kratos/install.yaml |
| giolekva | eb59028 | 2021-10-22 17:31:40 +0400 | [diff] [blame] | 23 | |
| 24 | kubectl create configmap \ |
| 25 | -n core-auth \ |
| 26 | auth-ui-lighthouse-config \ |
| 27 | --from-file ../../core/auth/ui/lighthouse.yaml |
| 28 | |
| 29 | kubectl apply -f ../../core/auth/ui/install.yaml |
| giolekva | 7032d3c | 2021-10-22 14:46:31 +0400 | [diff] [blame] | 30 | |
| 31 | kubectl create configmap hydra -n core-auth --from-file=../../core/auth/hydra/hydra.yaml |
| 32 | kubectl apply -f ../../core/auth/hydra/install.yaml |