Compare commits
No commits in common. "c23b51e2a5d1e79c8249f535ae320b93ae369f37" and "bfad13da2f32b462f750096b6ed39fffe8c07ece" have entirely different histories.
c23b51e2a5
...
bfad13da2f
@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ../../../infrastructure/zitadel/contour-template
|
|
||||||
@ -53,22 +53,3 @@ spec:
|
|||||||
substituteFrom:
|
substituteFrom:
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: contour-vars
|
name: contour-vars
|
||||||
---
|
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: 30-platform
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 10m0s
|
|
||||||
timeout: 20m0s
|
|
||||||
path: ./clusters/stand/30-platform
|
|
||||||
prune: true
|
|
||||||
wait: true
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
||||||
postBuild:
|
|
||||||
substituteFrom:
|
|
||||||
- kind: ConfigMap
|
|
||||||
name: contour-vars
|
|
||||||
|
|||||||
@ -103,17 +103,6 @@ spec:
|
|||||||
renewBefore: 360h0m0s
|
renewBefore: 360h0m0s
|
||||||
privateKey:
|
privateKey:
|
||||||
rotationPolicy: Always
|
rotationPolicy: Always
|
||||||
goalert-tls:
|
|
||||||
dnsNames:
|
|
||||||
- goalert.infra.sarex.io
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-issuer-istio
|
|
||||||
kind: ClusterIssuer
|
|
||||||
spec:
|
|
||||||
duration: 2160h0m0s
|
|
||||||
renewBefore: 360h0m0s
|
|
||||||
privateKey:
|
|
||||||
rotationPolicy: Always
|
|
||||||
istio:
|
istio:
|
||||||
gateways:
|
gateways:
|
||||||
vault:
|
vault:
|
||||||
@ -183,17 +172,6 @@ spec:
|
|||||||
tls:
|
tls:
|
||||||
credentialName: wiki-tls
|
credentialName: wiki-tls
|
||||||
mode: SIMPLE
|
mode: SIMPLE
|
||||||
goalert:
|
|
||||||
name: goalert-gateway
|
|
||||||
namespace: istio-system
|
|
||||||
selector:
|
|
||||||
istio: ingressgateway
|
|
||||||
servers:
|
|
||||||
- hosts:
|
|
||||||
- goalert.infra.sarex.io
|
|
||||||
tls:
|
|
||||||
credentialName: goalert-tls
|
|
||||||
mode: SIMPLE
|
|
||||||
virtualServices:
|
virtualServices:
|
||||||
vault-virt-service:
|
vault-virt-service:
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
@ -272,14 +250,3 @@ spec:
|
|||||||
prefix: /
|
prefix: /
|
||||||
service: outline.outline.svc.cluster.local
|
service: outline.outline.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
goalert-virt-service:
|
|
||||||
namespace: istio-system
|
|
||||||
hosts:
|
|
||||||
- goalert.infra.sarex.io
|
|
||||||
gateways:
|
|
||||||
- istio-system/goalert-gateway
|
|
||||||
routes:
|
|
||||||
- path:
|
|
||||||
prefix: /
|
|
||||||
service: goalert.goalert.svc.cluster.local
|
|
||||||
port: 8081
|
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ../base
|
|
||||||
patches:
|
|
||||||
- path: zitadel.yaml
|
|
||||||
@ -1,157 +0,0 @@
|
|||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: zitadel
|
|
||||||
namespace: zitadel
|
|
||||||
spec:
|
|
||||||
interval: 5m
|
|
||||||
timeout: 10m
|
|
||||||
dependsOn:
|
|
||||||
- name: postgresql
|
|
||||||
namespace: postgresql
|
|
||||||
postRenderers:
|
|
||||||
- kustomize:
|
|
||||||
patches:
|
|
||||||
- target:
|
|
||||||
group: apps
|
|
||||||
version: v1
|
|
||||||
kind: Deployment
|
|
||||||
name: zitadel-idp-contour
|
|
||||||
patch: |-
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/nodeSelector
|
|
||||||
value:
|
|
||||||
dedicated: generic
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/tolerations
|
|
||||||
value: []
|
|
||||||
- op: replace
|
|
||||||
path: /spec/template/metadata/annotations/vault.hashicorp.com~1agent-inject-template-zitadel-vault-config.yaml
|
|
||||||
value: |-
|
|
||||||
{{- with secret "secrets/data/zitadel/postgresql" -}}
|
|
||||||
Database:
|
|
||||||
postgres:
|
|
||||||
User:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "password" }}
|
|
||||||
Admin:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "password" }}
|
|
||||||
FirstInstance:
|
|
||||||
Org:
|
|
||||||
Human:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "humanPassword" }}
|
|
||||||
{{- end -}}
|
|
||||||
- target:
|
|
||||||
group: batch
|
|
||||||
version: v1
|
|
||||||
kind: Job
|
|
||||||
name: zitadel-idp-contour-init
|
|
||||||
patch: |-
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/nodeSelector
|
|
||||||
value:
|
|
||||||
dedicated: generic
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/tolerations
|
|
||||||
value: []
|
|
||||||
- op: replace
|
|
||||||
path: /spec/template/metadata/annotations/vault.hashicorp.com~1agent-inject-template-zitadel-vault-config.yaml
|
|
||||||
value: |-
|
|
||||||
{{- with secret "secrets/data/zitadel/postgresql" -}}
|
|
||||||
Database:
|
|
||||||
postgres:
|
|
||||||
User:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "password" }}
|
|
||||||
Admin:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "password" }}
|
|
||||||
FirstInstance:
|
|
||||||
Org:
|
|
||||||
Human:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "humanPassword" }}
|
|
||||||
{{- end -}}
|
|
||||||
- target:
|
|
||||||
group: batch
|
|
||||||
version: v1
|
|
||||||
kind: Job
|
|
||||||
name: zitadel-idp-contour-setup
|
|
||||||
patch: |-
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/nodeSelector
|
|
||||||
value:
|
|
||||||
dedicated: generic
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/tolerations
|
|
||||||
value: []
|
|
||||||
- op: replace
|
|
||||||
path: /spec/template/metadata/annotations/vault.hashicorp.com~1agent-inject-template-zitadel-vault-config.yaml
|
|
||||||
value: |-
|
|
||||||
{{- with secret "secrets/data/zitadel/postgresql" -}}
|
|
||||||
Database:
|
|
||||||
postgres:
|
|
||||||
User:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "password" }}
|
|
||||||
Admin:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "password" }}
|
|
||||||
FirstInstance:
|
|
||||||
Org:
|
|
||||||
Human:
|
|
||||||
Password: |-
|
|
||||||
{{ index .Data.data "humanPassword" }}
|
|
||||||
{{- end -}}
|
|
||||||
values:
|
|
||||||
zitadel:
|
|
||||||
configmapConfig:
|
|
||||||
ExternalDomain: ${HOST_LOGIN}
|
|
||||||
ExternalSecure: true
|
|
||||||
debug:
|
|
||||||
enabled: false
|
|
||||||
postgresqlSecret:
|
|
||||||
create: false
|
|
||||||
vault:
|
|
||||||
enabled: true
|
|
||||||
role: zitadel
|
|
||||||
authPath: auth/kubernetes
|
|
||||||
secretPath: secrets/data/zitadel/postgresql
|
|
||||||
secretKey: password
|
|
||||||
kvVersion: 2
|
|
||||||
fileName: zitadel-vault-config.yaml
|
|
||||||
serviceAccount:
|
|
||||||
create: true
|
|
||||||
name: zitadel-idp-contour
|
|
||||||
replicaCount: 1
|
|
||||||
pdb:
|
|
||||||
enabled: false
|
|
||||||
env:
|
|
||||||
- name: ZITADEL_DEFAULTINSTANCE_FEATURES_LOGINV2_REQUIRED
|
|
||||||
value: "false"
|
|
||||||
- name: ZITADEL_SYSTEMDEFAULTS_PASSWORDHASHER_VERIFIERS
|
|
||||||
value: "bcrypt,pbkdf2"
|
|
||||||
- name: ZITADEL_MACHINE_IDENTIFICATION_HOSTNAME_ENABLED
|
|
||||||
value: "true"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_HOST
|
|
||||||
value: "postgresql.postgresql.svc.cluster.local"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_PORT
|
|
||||||
value: "5432"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_USER_USERNAME
|
|
||||||
value: "zitadel"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_ADMIN_EXISTINGDATABASE
|
|
||||||
value: "zitadel"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME
|
|
||||||
value: "zitadel"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_DATABASE
|
|
||||||
value: "zitadel"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE
|
|
||||||
value: "disable"
|
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE
|
|
||||||
value: "disable"
|
|
||||||
- name: ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_USERNAME
|
|
||||||
value: "zitadel-admin"
|
|
||||||
- name: ZITADEL_DEFAULTINSTANCE_ORG_NAME
|
|
||||||
value: "Sarex"
|
|
||||||
Loading…
Reference in New Issue
Block a user