Compare commits

..

10 Commits

Author SHA1 Message Date
af138a30d5 feat: Added lldap
Some checks failed
kustomization/cert-manager/fffa8587 reconciliation succeeded
kustomization/flux-system/fffa8587 reconciliation succeeded
kustomization/cnpg/fffa8587 reconciliation succeeded
kustomization/lldap/fffa8587 build failed
kustomization/reflector/fffa8587 health check failed
2025-12-18 02:56:58 +01:00
b0ce23a499 feat: Allow cnpg garage credentials reflection 2025-12-18 02:56:58 +01:00
177f84b00b feat: Add refelctor 2025-12-18 02:55:28 +01:00
d5ae48434e feat: Redirect http to https 2025-12-18 02:55:28 +01:00
b3febd862e feat: Added default gateway 2025-12-18 02:55:28 +01:00
633cb984fd feat: Move certificates to default namespace 2025-12-18 02:55:28 +01:00
21f793138c feat: Setup cilium L2 announcments and IP pool 2025-12-18 02:55:28 +01:00
f6024a46e5 feat: Move spegel to apps 2025-12-18 02:55:28 +01:00
d6ef8702a3 feat: Put ClusterIssuer under certificates 2025-12-18 02:55:28 +01:00
ac19ed42d1 feat: Added barman cloud plugin 2025-12-18 02:55:28 +01:00
13 changed files with 12 additions and 48 deletions

View File

@@ -1,16 +0,0 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: lldap-db
spec:
bootstrap:
recovery:
source: source
externalClusters:
- name: source
plugin:
name: barman-cloud.cloudnative-pg.io
parameters:
barmanObjectName: garage-store
serverName: lldap-db
plugins: []

View File

@@ -1,7 +1,7 @@
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Cluster kind: Cluster
metadata: metadata:
name: db name: lldap-db
namespace: lldap namespace: lldap
# TODO: Add labels? # TODO: Add labels?
spec: spec:

View File

@@ -56,7 +56,7 @@ spec:
- name: LLDAP_DATABASE_URL - name: LLDAP_DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: db-app name: lldap-db-app
key: uri key: uri
- name: TZ - name: TZ
value: CET value: CET

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: s3-garage name: s3-garage
namespace: lldap namespace: cnpg-system
annotations: annotations:
reflector.v1.k8s.emberstack.com/reflects: "cnpg-system/s3-garage" reflector.v1.k8s.emberstack.com/reflects: "cnpg-system/s3-garage"
type: Opaque type: Opaque

View File

@@ -9,9 +9,3 @@ resources:
- http-route.yaml - http-route.yaml
- secret-s3-garage.yaml - secret-s3-garage.yaml
- object-store.yaml - object-store.yaml
# Uncomment to restore database from backup
# patches:
# - path: cluster-restore.yaml
# target:
# kind: Cluster

View File

@@ -5,7 +5,8 @@ metadata:
namespace: lldap namespace: lldap
spec: spec:
configuration: configuration:
destinationPath: s3://cnpg-backup/lldap destinationPath: s3://cnpg-backup/
endpointURL: http://192.178.1.1:3900
s3Credentials: s3Credentials:
accessKeyId: accessKeyId:
name: s3-garage name: s3-garage
@@ -13,8 +14,5 @@ spec:
secretAccessKey: secretAccessKey:
name: s3-garage name: s3-garage
key: ACCESS_SECRET_KEY key: ACCESS_SECRET_KEY
region:
name: s3-garage
key: REGION
wal: wal:
compression: gzip compression: gzip

View File

@@ -1,6 +1,6 @@
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Cluster kind: Cluster
metadata: metadata:
name: db name: lldap-db
spec: spec:
instances: 2 instances: 2

View File

@@ -1,6 +1,6 @@
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Cluster kind: Cluster
metadata: metadata:
name: db name: lldap-db
spec: spec:
instances: 1 instances: 1

View File

@@ -10,9 +10,6 @@ patches:
- path: cluster.yaml - path: cluster.yaml
target: target:
kind: Cluster kind: Cluster
- path: object-store.yaml
target:
kind: ObjectStore
- path: http-route.yaml - path: http-route.yaml
target: target:
kind: HTTPRoute kind: HTTPRoute

View File

@@ -1,8 +0,0 @@
apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
name: garage-store
namespace: lldap
spec:
configuration:
endpointURL: http://192.168.1.1:3900

View File

@@ -8,8 +8,7 @@ metadata:
type: Opaque type: Opaque
stringData: stringData:
ACCESS_KEY_ID: ENC[AES256_GCM,data:TOEQMG/kHs5XUk77ijyV089ZTq1dKsoZUas=,iv:mVDOkl5qOxGdvCvdcXUuUjX85oKqbd+n5maHsKwCiFg=,tag:pho0oWPTwtM6lGQ2vA1d5A==,type:str] ACCESS_KEY_ID: ENC[AES256_GCM,data:TOEQMG/kHs5XUk77ijyV089ZTq1dKsoZUas=,iv:mVDOkl5qOxGdvCvdcXUuUjX85oKqbd+n5maHsKwCiFg=,tag:pho0oWPTwtM6lGQ2vA1d5A==,type:str]
ACCESS_SECRET_KEY: ENC[AES256_GCM,data:INipEOcpPSij6TDu+bCuMOdsGm58nEBC4UJfEGRqeMmXZ9A+EBrMiRL6z3s29uz4qdqwZ3C8E4PVz01/41bMEA==,iv:x+gku8q7efHaaMpD/dc19IrwmK2gDp04bjH8WN/xhkc=,tag:QiSF6B8IqMrCsOUCe8c0bw==,type:str] SECRET_ACCESS_KEY: ENC[AES256_GCM,data:mc42T/AQ8NRi32SzvwGJA6LEq1x0Yz3Tu+CPDYPf+E2+C00zQcGRk6tACPvRoMxRzU4ZZpK346e2K/8ajU77hg==,iv:Isxe81aQEbI5xd1dRjXDKj/2Jp9eTHdv0/XVBBHoRyE=,tag:gtcmKmfUIfIy977Df11P4g==,type:str]
REGION: ENC[AES256_GCM,data:WIGPWwii,iv:ZdP5uNYqa8CZxa/xyrYXxGvE9fzt95slzwpzSzRy9DY=,tag:yANYtLzJCL/1pcvBXY7X7g==,type:str]
sops: sops:
age: age:
- recipient: age1860txadrlqrjwnqh0g466re2nt8jk7xhj640pq9gpsddpg23uynqsp2hul - recipient: age1860txadrlqrjwnqh0g466re2nt8jk7xhj640pq9gpsddpg23uynqsp2hul
@@ -30,8 +29,8 @@ sops:
K09tZGI0Z2w0eXh5eHcvcEttMy82aU0K2fnCDfYIShzw2Zipof+C8zf9pcOmiDg9 K09tZGI0Z2w0eXh5eHcvcEttMy82aU0K2fnCDfYIShzw2Zipof+C8zf9pcOmiDg9
2SCiIfAJs9MB3n078P068z77KpvdlJYOi9pUTKSBhNw+mBI24y6X6A== 2SCiIfAJs9MB3n078P068z77KpvdlJYOi9pUTKSBhNw+mBI24y6X6A==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2025-12-18T02:50:50Z" lastmodified: "2025-12-18T01:50:56Z"
mac: ENC[AES256_GCM,data:+kfs0EDnnZNnHMf91P6rAN52lugHFO4XcNJiKLpXt7bfTSMbiwgVbvRElXGTbLXLVSz70uZyzV/mt0ZcfEfPbwE/Pdh6SmFiWwQwLT1M50MdrxAWWYvSCS9r4h1Cow3N3K2/dXH7N/4AVHTg3ohXlP92fxVh1wL0cVnke/lcQgY=,iv:M5n9+lgq0fBx5Yg1e0N6v0obbnmarvVwIHAjCr5XmM4=,tag:NBA01MtG40T3nST7b00tiw==,type:str] mac: ENC[AES256_GCM,data:Wul3Dc7nvnBwmuTp+yIuaMRg//ui4rhZFsOlfOYeUx7z5ObGA0KIIgk8BM73/R4Hkzg2G/wKrUdWRa8wXFAwxzBEtFaXUgaSJhUjzMnDtVp+PiTLYWSYt8rx8S+lKbXk+2KLQOaHi10XO3P5JIXtEhP6K2a4rONwsi2224QPSec=,iv:OW4qY4oJXhi/EpktCW/9u8mhQQSaizc89lRFecOPo5w=,tag:fZqV8/0Nm/KGfGgmXNC4kg==,type:str]
pgp: pgp:
- created_at: "2025-12-11T23:56:15Z" - created_at: "2025-12-11T23:56:15Z"
enc: |- enc: |-

View File

@@ -16,7 +16,7 @@ spec:
chart: chart:
spec: spec:
chart: reflector chart: reflector
version: "9.1.x" version: "0.5.x"
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: reflector name: reflector

View File

@@ -6,4 +6,4 @@ metadata:
spec: spec:
type: "oci" type: "oci"
interval: 24h interval: 24h
url: oci://ghcr.io/emberstack/helm-charts url: oci://ghcr.io/emberstack/helm-charts/reflector