Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add argocd application.yaml #725

Merged
merged 3 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions civo-github/templates/mgmt/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ spec:
server: 'https://kubernetes.default.svc'
namespace: argocd
syncPolicy:
syncOptions:
- ServerSideApply=true
automated:
prune: true
selfHeal: true
Expand Down
23 changes: 23 additions & 0 deletions civo-github/templates/mgmt/components/argocd/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd-kustomized-app
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: argocd
name: in-cluster
project: default
source:
path: registry/clusters/<CLUSTER_NAME>/components/argocd
repoURL: '<GITOPS_REPO_URL>'
targetRevision: HEAD
kustomize:
forceCommonLabels: true
forceCommonAnnotations: true
syncPolicy:
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
Loading