Skip to content

Commit

Permalink
Merge pull request #101 from ghorbani-ali/update-argocd-applicationset
Browse files Browse the repository at this point in the history
feat: Update argocd applicationset
  • Loading branch information
tumido authored Jan 5, 2025
2 parents ba46194 + 9d81567 commit daec89f
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions snippets/argoproj.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,28 +146,33 @@
"---",
"apiVersion: argoproj.io/v1alpha1",
"kind: ApplicationSet",
"metadata:",
" name: $1",
"spec:",
" goTemplate: {$2|true,false|}",
" goTemplateOptions: ['missingkey=error']",
" generators:",
" - <Generator-Type>",
"template:",
" metadata:",
" name: $2",
" spec:",
" project: $3",
" source:",
" repoURL: $4",
" targetRevision: ${5:HEAD}",
" path: $6",
" destination:",
" server: ${7:https://kubernetes.default.svc}",
" namespace $8",
" syncPolicy:",
" automated:",
" prune: true",
" selfHeal: true",
" syncOptions:",
" - Validate=false"
" template:",
" metadata:",
" name: $3",
" spec:",
" project: $4",
" source:",
" repoURL: $5",
" targetRevision: ${6:HEAD}",
" path: $7",
" destination:",
" server: ${8:https://kubernetes.default.svc}",
" namespace: $9",
" syncPolicy:",
" automated:",
" prune: true",
" selfHeal: true",
" syncOptions:",
" - Validate=false",
" templatePatch: |",
" $10"

]
}
Expand Down

0 comments on commit daec89f

Please sign in to comment.