add zitadel
This commit is contained in:
parent
fd8f290297
commit
0078389b01
@ -113,3 +113,10 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: postgresql
|
name: postgresql
|
||||||
namespace: postgresql
|
namespace: postgresql
|
||||||
|
- path: ./patches/zitadel.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: zitadel
|
||||||
|
namespace: zitadel
|
||||||
|
|||||||
@ -64,7 +64,6 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- -e
|
|
||||||
- exec pg_isready -U "sarex" -d postgres -h 127.0.0.1 -p 5432
|
- exec pg_isready -U "sarex" -d postgres -h 127.0.0.1 -p 5432
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
23
clusters/yc-k8s-test/infrastructure/patches/zitadel.yaml
Normal file
23
clusters/yc-k8s-test/infrastructure/patches/zitadel.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: zitadel
|
||||||
|
namespace: zitadel
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
zitadel:
|
||||||
|
configmapConfig:
|
||||||
|
ExternalDomain: login.contour.infra.sarex.tech
|
||||||
|
login:
|
||||||
|
env:
|
||||||
|
- name: ZITADEL_DATABASE_POSTGRES_HOST
|
||||||
|
value: "postgresql.postgresql.svc.cluster.local"
|
||||||
|
- name: ZITADEL_DATABASE_POSTGRES_PORT
|
||||||
|
value: "5432"
|
||||||
|
env:
|
||||||
|
- name: ZITADEL_DATABASE_POSTGRES_HOST
|
||||||
|
value: "postgresql.postgresql.svc.cluster.local"
|
||||||
|
- name: ZITADEL_DATABASE_POSTGRES_PORT
|
||||||
|
value: "5432"
|
||||||
22
infrastructure/zitadel/base/helmrelease.yaml
Normal file
22
infrastructure/zitadel/base/helmrelease.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: zitadel
|
||||||
|
namespace: zitadel
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: idp-contour
|
||||||
|
version: "4.12.2"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: yc-oci-charts
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 10m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
5
infrastructure/zitadel/base/kustomization.yaml
Normal file
5
infrastructure/zitadel/base/kustomization.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: postgresql
|
||||||
|
resources:
|
||||||
|
- helmrelease.yaml
|
||||||
6
infrastructure/zitadel/base/namespace.yaml
Normal file
6
infrastructure/zitadel/base/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: zitadel
|
||||||
|
labels:
|
||||||
|
istio-injection: enabled
|
||||||
4
infrastructure/zitadel/kustomization.yaml
Normal file
4
infrastructure/zitadel/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- base
|
||||||
Loading…
Reference in New Issue
Block a user