Skip to content

Commit

Permalink
fix(argocd): template format
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Jun 18, 2024
1 parent f3666a7 commit 341d5dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kubernetes/argocd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@

template = {
metadata = {
name = "{{.path.basename}}";
name = "{{path.basename}}";
namespace = "argocd";
};
spec = {
project = "default";
source = {
repoURL = "https://github.com/poketwo/nix.git";
targetRevision = "cluster";
path = "{{.path.path}}";
path = "{{path}}";
};
destination = {
server = "https://kubernetes.default.svc";
namespace = "{{.path.basename}}";
namespace = "{{path.basename}}";
};
syncPolicy = {
automated = { };
Expand Down

0 comments on commit 341d5dc

Please sign in to comment.