Add postgresql /w secrets

This commit is contained in:
Ruben Hensen
2024-09-12 13:05:09 +02:00
parent 382ade21c4
commit b5f18ae76a
6 changed files with 1835 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
ente-photos/
ente-photos-ref/
+19
View File
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ente-photos-folder
spec:
project: default
source:
repoURL: https://github.com/rubenhensen/k8scd.git
targetRevision: HEAD
path: ente-photos
destination:
server: https://kubernetes.default.svc
namespace: ente-photos
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
prune: true
+19
View File
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: helm-postgresql
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
syncPolicy:
syncOptions:
- CreateNamespace=true
project: default
sources:
- chart: postgresql
repoURL: registry-1.docker.io/bitnamicharts
targetRevision: 16.4.0
destination:
server: https://kubernetes.default.svc
namespace: ente-photos
File diff suppressed because it is too large Load Diff
+16
View File
@@ -0,0 +1,16 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: postgresql-es
namespace: ente-photos
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: postgres-config
dataFrom:
- extract:
key: ente-photos-postgres
-1
View File
@@ -1,4 +1,3 @@
tenant:
name: myminio
image: