mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
flake: format
This commit is contained in:
parent
eb3ec20f46
commit
baa1a6c949
16 changed files with 86 additions and 72 deletions
|
|
@ -19,7 +19,7 @@ with lib;
|
|||
# kubernetes version to template chart for
|
||||
kubeVersion ? null,
|
||||
# whether to include CRD
|
||||
includeCRDs ? false
|
||||
includeCRDs ? false,
|
||||
}: let
|
||||
valuesJsonFile = builtins.toFile "${name}-values.json" (builtins.toJSON values);
|
||||
in
|
||||
|
|
@ -31,7 +31,7 @@ with lib;
|
|||
${optionalString (kubeVersion != null) "--kube-version ${kubeVersion}"} \
|
||||
${optionalString (namespace != null) "--namespace ${namespace}"} \
|
||||
${optionalString (values != {}) "-f ${valuesJsonFile}"} \
|
||||
${optionalString (includeCRDs) "--include-crds"} \
|
||||
${optionalString includeCRDs "--include-crds"} \
|
||||
${chart} >resources.yaml
|
||||
|
||||
# split multy yaml file into multiple files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue