-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix chartify regression of missing chart dependencies (#1869)
* Fix chartify regression of missing chart dependencies Fixes #1867 * Add integration test cases for issues #1857 and #1867
- Loading branch information
Showing
5 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
repositories: | ||
- name: prometheus-community | ||
url: https://prometheus-community.github.io/helm-charts | ||
|
||
releases: | ||
- name: prometheus-operator-k8s-test | ||
chart: prometheus-community/kube-prometheus-stack | ||
namespace: monitoring | ||
forceNamespace: monitoring | ||
version: 15.4.6 | ||
labels: | ||
component: test-upg | ||
values: | ||
- nameOverride: k8s | ||
fullnameOverride: prometheus-k8s | ||
global: | ||
imagePullSecrets: | ||
- name: regsecret | ||
alertmanager: | ||
enabled: false | ||
grafana: | ||
enabled: {{ .Values.grafanaEnabled }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
repositories: | ||
- name: bitnami | ||
url: https://charts.bitnami.com/bitnami | ||
|
||
releases: | ||
- name: elasticsearch | ||
chart: bitnami/elasticsearch | ||
version: 15.2.2 | ||
jsonPatches: | ||
- target: | ||
version: v1 | ||
kind: StatefulSet | ||
name: elasticsearch-master | ||
patch: | ||
- op: add | ||
path: /spec/template/spec/containers/0/volumeMounts/0/subPathExpr | ||
value: elasticsearch/$(MY_POD_NAME) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72e7160
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mumoshu,
I am experiencing a similar problem to #1857.
I have a custom helm chart that uses
bitnami/thanos
helm chart as a dependency defined in itsrequirements.yaml
file.And the
bitnami/thanos
helm chart uses thebitnami/minio
helm chart as its dependency defined in itsChart.yaml
file (as seen here):Now my releases:
And my
./values/some-company-thanos.yaml.gotmpl
:The problem is that I can see that
minio
is set tofalse
but I am still seeingminio
resources when I runhelmfile template|diff
:Any help would be greatly appreciated. Thanks!
Edit:
Ah. It looks like
requirements.yaml
has been deprecated in favor ofChart.yaml -> dependencies
. I will try that right now since that may interfere with value propagation.