mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add postgresql /w secrets
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
ente-photos/
|
||||
ente-photos-ref/
|
||||
@@ -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
|
||||
@@ -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
@@ -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,4 +1,3 @@
|
||||
|
||||
tenant:
|
||||
name: myminio
|
||||
image:
|
||||
|
||||
Reference in New Issue
Block a user