mirror of
https://git.sr.ht/~goorzhel/turboprop
synced 2024-12-14 11:37:37 +00:00
Support extraOpts in lib.app-template.build
This commit is contained in:
parent
b90ffcace4
commit
f8d8120e40
2 changed files with 3 additions and 1 deletions
|
@ -456,6 +456,7 @@ Wrapper of ``helmChart`` that builds `app-template`_ images.
|
|||
- **values** (attrs, default: ``{}``): Values to pass into the chart.
|
||||
- **kubeVersion** (str, default: ``pkgs.kubernetes.version``): Target Kubernetes version.
|
||||
- **apiVersions** ([str], default: ``[]``): Sets `Capabilities.APIVersions`_.
|
||||
- **extraOpts** ([str], default: ``[]``): Additional flags for ``helm template``.
|
||||
|
||||
.. _OCI image address: https://github.com/opencontainers/.github/blob/main/docs/docs/introduction/digests.md
|
||||
|
||||
|
|
|
@ -41,9 +41,10 @@
|
|||
values ? {},
|
||||
kubeVersion ? pkgs.kubernetes.version,
|
||||
apiVersions ? [],
|
||||
extraOpts ? [],
|
||||
}:
|
||||
builders.helmChart {
|
||||
inherit name namespace chart kubeVersion apiVersions;
|
||||
inherit name namespace chart kubeVersion apiVersions extraOpts;
|
||||
values =
|
||||
pkgs.lib.attrsets.recursiveUpdate
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue