Update secret structure

This commit is contained in:
2023-11-22 10:12:19 +01:00
parent ea96be6e17
commit 3b5f8da2bf
9 changed files with 49 additions and 26 deletions

View File

@@ -7,7 +7,7 @@ spec:
project: default
source:
repoURL: https://github.com/moll-re/k3s-infra.git
targetRevision: HEAD
targetRevision: main
path: infrastructure/backup/overlays/backup
destination:
server: https://kubernetes.default.svc

View File

@@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- secrets.application.yaml
- backup.application.yaml
- prune.application.yaml

View File

@@ -7,7 +7,7 @@ spec:
project: default
source:
repoURL: https://github.com/moll-re/k3s-infra.git
targetRevision: HEAD
targetRevision: main
path: infrastructure/backup/overlays/prune
destination:
server: https://kubernetes.default.svc

View File

@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: restic-secrets-application
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/moll-re/k3s-infra.git
targetRevision: main
path: infrastructure/backup/secrets
destination:
server: https://kubernetes.default.svc
namespace: backup
syncPolicy:
automated:
prune: true
selfHeal: true