1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00

Update kubelib

https://github.com/farcaller/nix-kube-generators/pull/9
This commit is contained in:
Antonio Gurgel 2024-02-16 23:41:20 -08:00
parent 1b04c34fbb
commit 3018cd2a87
2 changed files with 5 additions and 4 deletions

View file

@ -417,7 +417,7 @@ Copy a derivation verbatim.
helmChart
---------
``{name, namespace, chart, values?, includeCRDs?, kubeVersion?, apiVersions?, ...} -> <derivation: a YAML file of Helm output>``
``{name, namespace, chart, values?, includeCRDs?, kubeVersion?, apiVersions?, extraOpts?, ...} -> <derivation: a YAML file of Helm output>``
Wrapped re-export of `kubelib.fromHelm`_ that sets ``metadata.namespace`` on all templated objects lacking it. As such, its signature is identical to `kubelib.buildHelmChart`_.
@ -426,6 +426,7 @@ Wrapped re-export of `kubelib.fromHelm`_ that sets ``metadata.namespace`` on all
- **includeCRDs** (bool, default: ``true``): Whether to include CustomResourceDefinitions in the template output.
- **kubeVersion** (str, default: ``pkgs.kubernetes.version``): Target Kubernetes version.
- **apiVersions** ([str], default: ``[]``): Sets `Capabilities.APIVersions`_.
- **extraOpts** ([str], default: ``[]``): Additional flags for ``helm template``.
.. _kubelib.fromHelm: https://github.com/farcaller/nix-kube-generators/blob/cdb5810a8d5d553cdd0d04fa53378d5105b529b2/lib/default.nix#L123
.. _kubelib.buildHelmChart: https://github.com/farcaller/nix-kube-generators/blob/cdb5810a8d5d553cdd0d04fa53378d5105b529b2/lib/default.nix#L82-L90

View file

@ -41,11 +41,11 @@
},
"nix-kube-generators": {
"locked": {
"lastModified": 1701188504,
"narHash": "sha256-tcD2wJT8i9lxHlCZ/+8BL+Y6B+eJKSG5hlQaScrpQY0=",
"lastModified": 1708155396,
"narHash": "sha256-A/BIeJjiRS7sBYP6tFJa/WHDPHe7DGTCkSEKXttYeAQ=",
"owner": "farcaller",
"repo": "nix-kube-generators",
"rev": "cdb5810a8d5d553cdd0d04fa53378d5105b529b2",
"rev": "14dbd5e5b40615937900f71d9a9851b59b4d9a88",
"type": "github"
},
"original": {