Skip to content

Commit

Permalink
fix(applicationset): allow toggling auto sync
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Jul 27, 2024
1 parent a86963a commit d3d1aa2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions applicationset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ metadata:
namespace: argocd
spec:
generators:
- git:
directories:
- path: '*'
repoURL: https://github.com/poketwo/nix.git
revision: cluster
- git:
directories:
- path: "*"
repoURL: https://github.com/poketwo/nix.git
revision: cluster
template:
metadata:
name: poketwo-{{path.basename}}
namespace: argocd
spec:
destination:
namespace: '{{path.basename}}'
namespace: "{{path.basename}}"
server: https://kubernetes.default.svc
project: default
source:
path: '{{path}}'
path: "{{path}}"
repoURL: https://github.com/poketwo/nix.git
targetRevision: cluster
syncPolicy:
Expand All @@ -29,3 +29,6 @@ spec:
- CreateNamespace=true
syncPolicy:
applicationsSync: create-update
ignoreApplicationDifferences:
- jsonPointers:
- /spec/syncPolicy

0 comments on commit d3d1aa2

Please sign in to comment.