blob: c48d0ade0f748adf913d041c084ebf6ad9545e5a [file] [log] [blame]
giolekvab0f9c4f2021-10-20 12:53:50 +04001#!/bin/sh
2
giolekva67fb4262021-10-25 20:42:07 +04003helm 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
giolekvab0f9c4f2021-10-20 12:53:50 +040019
giolekva67fb4262021-10-25 20:42:07 +040020kubectl create configmap kratos -n core-auth --from-file=../../core/auth/kratos/kratos.yaml
21kubectl create configmap identity -n core-auth --from-file=../../core/auth/kratos/identity.schema.json
22kubectl apply -f ../../core/auth/kratos/install.yaml
giolekvaeb590282021-10-22 17:31:40 +040023
24kubectl create configmap \
25 -n core-auth \
26 auth-ui-lighthouse-config \
27 --from-file ../../core/auth/ui/lighthouse.yaml
28
29kubectl apply -f ../../core/auth/ui/install.yaml
giolekva7032d3c2021-10-22 14:46:31 +040030
31kubectl create configmap hydra -n core-auth --from-file=../../core/auth/hydra/hydra.yaml
32kubectl apply -f ../../core/auth/hydra/install.yaml