| giolekva | b0f9c4f | 2021-10-20 12:53:50 +0400 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |
| 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 |
| 19 | |
| 20 | kubectl create configmap kratos -n core-auth --from-file=../../core/auth/kratos.yaml |
| 21 | kubectl create configmap identity -n core-auth --from-file=../../core/auth/identity.schema.json |
| 22 | # kubectl apply -f ../../core/auth/install.yaml |
| 23 | # kubectl apply -f ../../core/auth/install-selfservice.yaml |