Skip to content

Commit c2d9c21

Browse files
authored
Merge pull request #8795 from sbueringer/pr-go-mod-ignore-charts
🌱 hack/observability: move charts so they are ignored by go mod
2 parents c46b8d9 + e5db021 commit c2d9c21

File tree

8 files changed

+43
-1
lines changed

8 files changed

+43
-1
lines changed

hack/observability/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# ignore cached helm charts
2-
charts
2+
.charts

hack/observability/grafana/chart/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ helmCharts:
55
namespace: observability
66
valuesFile: values.yaml
77
version: 6.56.5
8+
9+
helmGlobals:
10+
# Store chart in ".charts" folder instead of "charts".
11+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
12+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
13+
chartHome: .charts

hack/observability/kube-state-metrics/chart/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ helmCharts:
55
releaseName: kube-state-metrics
66
valuesFile: values.yaml
77
version: 5.6.4
8+
9+
helmGlobals:
10+
# Store chart in ".charts" folder instead of "charts".
11+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
12+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
13+
chartHome: .charts

hack/observability/loki/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ helmCharts:
88
namespace: observability
99
valuesFile: values.yaml
1010
version: 5.5.4
11+
12+
helmGlobals:
13+
# Store chart in ".charts" folder instead of "charts".
14+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
15+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
16+
chartHome: .charts

hack/observability/parca/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ helmCharts:
99
namespace: default
1010
valuesFile: values.yaml
1111
version: 4.10.0
12+
13+
helmGlobals:
14+
# Store chart in ".charts" folder instead of "charts".
15+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
16+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
17+
chartHome: .charts

hack/observability/prometheus/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ helmCharts:
88
namespace: observability
99
valuesFile: values.yaml
1010
version: 22.6.2
11+
12+
helmGlobals:
13+
# Store chart in ".charts" folder instead of "charts".
14+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
15+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
16+
chartHome: .charts

hack/observability/promtail/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ helmCharts:
88
namespace: observability
99
valuesFile: values.yaml
1010
version: 6.11.2
11+
12+
helmGlobals:
13+
# Store chart in ".charts" folder instead of "charts".
14+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
15+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
16+
chartHome: .charts

hack/observability/visualizer/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ helmCharts:
88
namespace: observability
99
valuesFile: values.yaml
1010
version: 1.1.0
11+
12+
helmGlobals:
13+
# Store chart in ".charts" folder instead of "charts".
14+
# Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
15+
# "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
16+
chartHome: .charts

0 commit comments

Comments
 (0)