Fix syntax error

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
This commit is contained in:
Maartje Eyskens 2020-12-01 16:32:07 +01:00
parent 887af1bc84
commit eb3c0f8448
2 changed files with 7 additions and 5 deletions

View File

@ -42,7 +42,7 @@ concat_files(
# Run 'helm template' against the chart containing only the CRDs that is
# constructed in the above 'helm_pkg' rule.
helm_tmpl(
name = "crds" %,
name = "crds",
helm_pkg = ":package",
release_name = "cert-manager",
release_namespace = "cert-manager",

View File

@ -7,12 +7,13 @@ load("//build:helm.bzl", "helm_tmpl")
load("//build:licensing.bzl", "licensed_file")
RELEASE_NAME = "cert-manager"
RELEASE_NAMESPACE = "cert-manager"
genrule(
name = "crds.nohelm.yaml",
srcs = [
"//deploy/crds:crds",
"//deploy/crds",
],
outs = ["crds.nohelm.out"],
cmd = " ".join([
@ -42,7 +43,7 @@ licensed_file(
genrule(
name = "unlicensed",
srcs = [
"//deploy/crds:crds",
"//deploy/crds",
"01-namespace.yaml",
"%s.manifests" % name,
],
@ -81,8 +82,9 @@ licensed_file(
pkg_tar(
name = "manifests",
srcs = [":manifests.yaml"] +
[":crds.yaml"],
srcs = [":manifests.yaml"] + [
":crds.yaml",
],
extension = "tar.gz",
mode = "0644",
package_dir = "manifests",