Skip to content

Commit

Permalink
fix: do not override ArgoCD defaults set by user (#74)
Browse files Browse the repository at this point in the history
Resolves #70
  • Loading branch information
Zebradil authored Aug 30, 2023
1 parent af01180 commit f2cf4ce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/myks/plugin_argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,19 @@ var argocd_appproject_template []byte
var argocd_application_template []byte

const argocd_data_values_schema = `
#@data/values
#@ ifempty = lambda x, y: x or y
#@data/values-schema
---
argocd:
app:
#@overlay/replace via=ifempty
name: "{{ .AppName }}"
source:
#@overlay/replace via=ifempty
path: "{{ .AppPath }}"
#@overlay/replace via=ifempty
repoURL: "{{ .RepoURL }}"
#@overlay/replace via=ifempty
targetRevision: "{{ .TargetRevision }}"
`

Expand Down

0 comments on commit f2cf4ce

Please sign in to comment.