add openldap
This commit is contained in:
parent
1844424393
commit
82a1bdcbc6
@ -127,3 +127,10 @@ patches:
|
||||
kind: HelmRelease
|
||||
name: keycloak
|
||||
namespace: keycloak
|
||||
- path: ./patches/openldap.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: openldap
|
||||
namespace: openldap
|
||||
|
||||
26
clusters/yc-k8s-test/infrastructure/patches/openldap.yaml
Normal file
26
clusters/yc-k8s-test/infrastructure/patches/openldap.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: openldap
|
||||
namespace: openldap
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 15m
|
||||
values:
|
||||
global:
|
||||
ldapDomain: "sarex.tech"
|
||||
replicaCount: 1
|
||||
readOnlyReplicaCount: 0
|
||||
replication:
|
||||
enabled: false
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
storageClass: local-path
|
||||
phpldapadmin:
|
||||
enabled: false
|
||||
ltb-passwd:
|
||||
enabled: false
|
||||
service:
|
||||
enableLdapPort: true
|
||||
enableSslLdapPort: false
|
||||
@ -9,6 +9,7 @@ resources:
|
||||
- keycloak
|
||||
- local-path-provisioner
|
||||
- minio
|
||||
- openldap
|
||||
- postgresql
|
||||
- rabbitmq
|
||||
- redis
|
||||
|
||||
22
infrastructure/openldap/base/helmrelease.yaml
Normal file
22
infrastructure/openldap/base/helmrelease.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: openldap
|
||||
namespace: openldap
|
||||
spec:
|
||||
interval: 10m
|
||||
chart:
|
||||
spec:
|
||||
chart: openldap-contour
|
||||
version: "4.3.4"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: yc-oci-charts
|
||||
namespace: flux-system
|
||||
interval: 10m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 3
|
||||
6
infrastructure/openldap/base/kustomization.yaml
Normal file
6
infrastructure/openldap/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: openldap
|
||||
resources:
|
||||
- helmrelease.yaml
|
||||
- namespace.yaml
|
||||
6
infrastructure/openldap/base/namespace.yaml
Normal file
6
infrastructure/openldap/base/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: openldap
|
||||
labels:
|
||||
istio-injection: enabled
|
||||
4
infrastructure/openldap/kustomization.yaml
Normal file
4
infrastructure/openldap/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