Skip to content

Commit

Permalink
helm: use kube-version instead of api-version
Browse files Browse the repository at this point in the history
hall committed Jan 18, 2023
1 parent f2dc3e2 commit 5260d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helm/chart2json.nix
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ with lib;
buildCommand = ''
# template helm file and write resources to yaml
helm template "${name}" \
${optionalString (kubeVersion != null) "--api-versions ${kubeVersion}"} \
${optionalString (kubeVersion != null) "--kube-version ${kubeVersion}"} \
${optionalString (namespace != null) "--namespace ${namespace}"} \
${optionalString (values != {}) "-f ${valuesJsonFile}"} \
${chart} >resources.yaml

0 comments on commit 5260d2a

Please sign in to comment.