Update secret structure
This commit is contained in:
@@ -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
|
||||
|
@@ -1,5 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- secrets.application.yaml
|
||||
- backup.application.yaml
|
||||
- prune.application.yaml
|
||||
|
@@ -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
|
||||
|
18
kluster-deployments/backup/secrets.application.yaml
Normal file
18
kluster-deployments/backup/secrets.application.yaml
Normal 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
|
Reference in New Issue
Block a user