-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBUILD
40 lines (35 loc) · 1.05 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
load("@com_github_tmc_rules_helm//helm:helm.bzl", "helm_release")
# Basic example that shows creating a release.
helm_release(
name = "test_chart_1",
chart = "//charts/test-chart:chart",
release_name = "test-release-1",
values_yaml = "//:test_chart_values.yaml",
)
# Example showing the same chart and values as before creating a separate release.
helm_release(
name = "test_chart_2",
chart = "//charts/test-chart:chart",
release_name = "test-release-2",
values_yaml = "//:test_chart_values.yaml",
)
# Example showing passing values directly without using a values.yaml file.
helm_release(
name = "test_chart_3",
chart = "//charts/test-chart:chart",
release_name = "test-release-3",
values = {
"replicaCount": 2,
},
)
# Example showing a chart with dependencies.
helm_release(
name = "test_chart_with_deps",
chart = "//charts/test-chart-with-deps:chart",
release_name = "test-release-3",
values_yaml = "//:test_chart_values.yaml",
)
sh_test(
name = "dummy_test",
srcs = ["dummy_test.sh"],
)