We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e2417 commit a5a14ecCopy full SHA for a5a14ec
1 file changed
helm/private/rules/install.bzl
@@ -48,6 +48,9 @@ _ATTRS = {
48
"template_output": attr.output(
49
doc = "Filename to dump the rendered chart",
50
),
51
+ "skip_crds": attr.bool(
52
+ doc = "No CRDs will be installed",
53
+ ),
54
}
55
56
def _impl(ctx):
@@ -112,6 +115,8 @@ def _build_helm_command(ctx):
112
115
args.append("--no-hooks")
113
116
if ctx.attr.namespace:
114
117
args.extend(["--namespace", ctx.attr.namespace])
118
+ if ctx.attr.skip_crds:
119
+ args.append("--skip-crds")
120
return " ".join(args)
121
122
def _build_template_command(ctx):
0 commit comments