-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option --include-crds in expandHelmTemplate function for Helm v3 #126
Comments
I think it will be great to have the ability to pass any argument to helm template command.
|
Found another issue with helm template command. |
Not sure, but wouldn't be better to use |
Or even add new function, |
BTW for now I have reliable workaround, to just link all the crds to component directory, eg:
this solution works as a charm, except the fact that you need to keep eye on filename changes. I guess local p = importstr 'glob-import:../vendor/path/to/crds/*';
[
std.native('parseYaml')(p[x])
for x in std.objectFields(p)
] but currently
So Not sure that it is expected behavior, cc @gotwarlost |
I can also append that glob-import can be really useful for yaml files, eg I want to define all my qbec applications in argocd.
I would take all |
Ah probably fixed, this constriction is quite well, docs, thank you!: local a = import 'glob-importstr:../*/qbec.yaml';
{
[x]: std.native('parseYaml')(a[x])
for x in std.objectFields(a)
} |
In Helm v3 hook
crd-install
was removed and instead of it helm v3 look for CRD's in crd folder, but by default, helm template command doesn't render the CRD's. To render CRD's with helm v3 we need to pass--include-crds
flag to command line.Pull Request where Helm v3 added this option
Helm v3 docs about CRD's
The text was updated successfully, but these errors were encountered: