helm: use kube-version instead of api-version

This commit is contained in:
Bryton Hall 2023-01-18 00:27:56 -05:00
parent f2dc3e2f63
commit 5260d2a014

View file

@ -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