mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
fix(lib/helm): fixes for helm 3
This commit is contained in:
parent
3c54c20836
commit
d0027e556f
2 changed files with 5 additions and 3 deletions
|
|
@ -22,8 +22,8 @@ in stdenvNoCC.mkDerivation {
|
|||
name = "${name}.json";
|
||||
buildCommand = ''
|
||||
# template helm file and write resources to yaml
|
||||
helm template --name "${name}" \
|
||||
${optionalString (kubeVersion != null) "--kube-version ${kubeVersion}"} \
|
||||
helm template "${name}" \
|
||||
${optionalString (kubeVersion != null) "--api-versions ${kubeVersion}"} \
|
||||
${optionalString (namespace != null) "--namespace ${namespace}"} \
|
||||
${optionalString (values != {}) "-f ${valuesJsonFile}"} \
|
||||
${chart} >resources.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue