fix(argocd): Enabling selfHeal and prune on Applications

This commit is contained in:
Vegard Hagen
2023-01-09 19:15:52 +01:00
parent 4e717aa607
commit 95e6f9b320
10 changed files with 27 additions and 7 deletions

View File

@@ -15,6 +15,8 @@ spec:
namespace: arr namespace: arr
name: in-cluster name: in-cluster
syncPolicy: syncPolicy:
automated: {} automated:
selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@@ -15,6 +15,8 @@ spec:
namespace: home-assistant namespace: home-assistant
name: in-cluster name: in-cluster
syncPolicy: syncPolicy:
automated: {} automated:
selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@@ -15,6 +15,8 @@ spec:
namespace: plex namespace: plex
name: in-cluster name: in-cluster
syncPolicy: syncPolicy:
automated: {} automated:
selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@@ -15,6 +15,8 @@ spec:
namespace: whoami namespace: whoami
name: in-cluster name: in-cluster
syncPolicy: syncPolicy:
automated: {} automated:
selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@@ -17,5 +17,6 @@ spec:
syncPolicy: syncPolicy:
automated: automated:
selfHeal: true selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@@ -34,4 +34,7 @@ spec:
name: in-cluster name: in-cluster
syncPolicy: syncPolicy:
automated: automated:
selfHeal: true selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true

View File

@@ -35,4 +35,7 @@ spec:
name: in-cluster name: in-cluster
syncPolicy: syncPolicy:
automated: automated:
selfHeal: true selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true

View File

@@ -8,4 +8,7 @@ spec:
- 'https://github.com/vehagn/*' - 'https://github.com/vehagn/*'
destinations: destinations:
- namespace: 'argocd' - namespace: 'argocd'
server: '*' server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'

View File

@@ -17,5 +17,6 @@ spec:
syncPolicy: syncPolicy:
automated: automated:
selfHeal: true selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@@ -17,5 +17,6 @@ spec:
syncPolicy: syncPolicy:
automated: automated:
selfHeal: true selfHeal: true
prune: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true