argocd: simplify manifests apply

ArgoCD upstream manifests do not include namespace for the objects, so
there is no need to override it, and simply using kubectl flags allow to
set it.

Use the upstream file directly , considerably simplifying the argocd
install.

ansible-lint: the refactor apparently newly exposes the password hash
filter to ansible and this needs passlib, so add it to the pre-commit
dependencies.
This commit is contained in:
Max Gautier
2026-09-25 19:45:58 +02:00
parent 7462b8b93b
commit 88b827e58d
9 changed files with 27 additions and 104 deletions
+1
View File
@@ -114,6 +114,7 @@ dependencies:
- metallb
- role: kubernetes-apps/argocd
become: true
when:
- argocd_enabled
- inventory_hostname == groups['kube_control_plane'][0]