Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: walnuts1018 <[email protected]>
  • Loading branch information
walnuts1018 committed Nov 1, 2024
1 parent cfe3e84 commit 626fedf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions k8s/common/application-with-helm.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
repoURL:: error 'repoURL is required',
targetRevision:: error 'targetRevision is required',
values:: '',
valuesObject:: {},
valuesObject:: null,

apiVersion: 'argoproj.io/v1alpha1',
kind: 'Application',
Expand All @@ -31,8 +31,8 @@
targetRevision: $.targetRevision,
helm: {
releaseName: 'argocd',
values: $.values,
valuesObject: $.valuesObject,
[if $.values != '' then 'values']: $.values,
[if $.valuesObject != null then 'valuesObject']: $.valuesObject,
},
},
},
Expand Down

0 comments on commit 626fedf

Please sign in to comment.