Skip to content

Commit a5a14ec

Browse files
committed
add skip_crds flag
1 parent 92e2417 commit a5a14ec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

helm/private/rules/install.bzl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ _ATTRS = {
4848
"template_output": attr.output(
4949
doc = "Filename to dump the rendered chart",
5050
),
51+
"skip_crds": attr.bool(
52+
doc = "No CRDs will be installed",
53+
),
5154
}
5255

5356
def _impl(ctx):
@@ -112,6 +115,8 @@ def _build_helm_command(ctx):
112115
args.append("--no-hooks")
113116
if ctx.attr.namespace:
114117
args.extend(["--namespace", ctx.attr.namespace])
118+
if ctx.attr.skip_crds:
119+
args.append("--skip-crds")
115120
return " ".join(args)
116121

117122
def _build_template_command(ctx):

0 commit comments

Comments
 (0)