Reorganized lldap

This commit is contained in:
Dreaded_X 2025-03-05 03:44:41 +01:00
parent 00a9f25d5c
commit ed47feaa93
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
10 changed files with 34 additions and 16 deletions

View File

@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./lldap - ./lldap/bootstrap/
- ./grafana - ./grafana
- ./whoami.yaml - ./whoami.yaml

View File

@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: lldap
resources: resources:
- ./bootstrap-job.yaml - ./bootstrap-job.yaml
- ../../../infra/authelia/secret-authelia-lldap.yaml - ../../../infra/authelia/secret-authelia-lldap.yaml

View File

@ -10,6 +10,7 @@ spec:
- name: dragonflydb - name: dragonflydb
- name: rook-ceph-cluster - name: rook-ceph-cluster
- name: akri - name: akri
- name: lldap
decryption: decryption:
provider: sops provider: sops
secretRef: secretRef:

View File

@ -0,0 +1,26 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: lldap
namespace: flux-system
spec:
interval: 15m
path: ./infra/lldap
dependsOn:
- name: traefik
- name: cnpg
- name: kyverno-policies
prune: true
timeout: 2m
sourceRef:
kind: GitRepository
name: flux-system
wait: true
postBuild:
substituteFrom:
- kind: ConfigMap
name: domain-vars
decryption:
provider: sops
secretRef:
name: sops-gpg

View File

@ -1,9 +1,6 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
annotations:
lldap: https://github.com/nitnelave/lldap
k8s: https://github.com/Evantage-WS/lldap-kubernetes
labels: labels:
app: lldap app: lldap
name: lldap name: lldap
@ -16,9 +13,6 @@ spec:
type: Recreate type: Recreate
template: template:
metadata: metadata:
annotations:
lldap: https://github.com/nitnelave/lldap
k8s: https://github.com/Evantage-WS/lldap-kubernetes
labels: labels:
app: lldap app: lldap
spec: spec:

View File

@ -3,9 +3,8 @@ kind: Kustomization
namespace: lldap namespace: lldap
resources: resources:
- ./namespace.yaml - ./namespace.yaml
- ./secret.yaml - ./secret-lldap-credentials.yaml
- ./deployment.yaml - ./deployment.yaml
- ./service.yaml - ./service.yaml
- ./ingress.yaml - ./ingress-route.yaml
- ./bootstrap
- ../../common/postgres - ../../common/postgres

View File

@ -12,8 +12,8 @@ sops:
azure_kv: [] azure_kv: []
hc_vault: [] hc_vault: []
age: [] age: []
lastmodified: "2024-11-15T00:11:50Z" lastmodified: "2025-03-06T23:49:59Z"
mac: ENC[AES256_GCM,data:OzLVKH3dUInlnYZQV0qRyZqMOIMVAp9FMHf5Dl2abRzYJo67dBLErGqoYGfwSK5G1R6VLrIK0M9ibY6rL2kSHXTk7esjj404YAEBZgkNc7GBCnqLwUTiLu+XDk4lu+vqErP6hriem8/DK0w0E9KQSBsxPzIWJSMfk3vGyr1d+2I=,iv:1MDGsCx021d4Ob82Rq89JieTmkFbX6wxT1+taXI6H7o=,tag:e8LmFvLmB+rJb8xQ+DTFtg==,type:str] mac: ENC[AES256_GCM,data:ZOqHwRCaVup2NvSTgbE74T1tdCQl46pi3HSPCVGJBWpVTEdjjKs++X8g2EgXFPdJtOolhDrKYqx8EGpCeFXDdOvYolTfGNdTEMmddqeVAS9R/TBiga4HWM4cOu5utLSHgIFRVIrXvbcJzpR36zNy6qau9LStsaP4eXQ/U1Z+Ft8=,iv:j3aczsmvBge7i1AQZciVbSK6DU5wSkYamjpLhQYR5Zw=,tag:EZo+cThfGIiWkqGBA5JMow==,type:str]
pgp: pgp:
- created_at: "2024-11-14T23:59:47Z" - created_at: "2024-11-14T23:59:47Z"
enc: |- enc: |-
@ -57,4 +57,4 @@ sops:
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: 49F10679C425233EFB4B1B6F9D641BEFA42DEC28 fp: 49F10679C425233EFB4B1B6F9D641BEFA42DEC28
encrypted_regex: ^(data|stringData)$ encrypted_regex: ^(data|stringData)$
version: 3.9.0 version: 3.9.1

View File

@ -1,9 +1,6 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations:
lldap: https://github.com/nitnelave/lldap
k8s: https://github.com/Evantage-WS/lldap-kubernetes
name: lldap name: lldap
spec: spec:
ports: ports: