diff --git a/lib/helm/chart2json.nix b/lib/helm/chart2json.nix index 029ec86..4cea5d0 100644 --- a/lib/helm/chart2json.nix +++ b/lib/helm/chart2json.nix @@ -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