mirror of https://github.com/helm/helm
When running helm lint, import-values for dependencies are ignored, also added test for linting chart with import-values Closes #9658 Signed-off-by: Stuart Drennan <stuart.drennan@gmail.com>pull/10271/head
parent
83791fe7c2
commit
1931b0702d
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: withsubchart
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
type: application
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "1.16.0"
|
||||||
|
icon: http://riverrun.io
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: subchart
|
||||||
|
version: 0.1.16
|
||||||
|
repository: "file://../subchart"
|
||||||
|
import-values:
|
||||||
|
- child: subchart
|
||||||
|
parent: subchart
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: subchart
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
type: application
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "1.16.0"
|
@ -0,0 +1,2 @@
|
|||||||
|
metadata:
|
||||||
|
name: {{ .Values.subchart.name | lower }}
|
@ -0,0 +1,2 @@
|
|||||||
|
subchart:
|
||||||
|
name: subchart
|
@ -0,0 +1,2 @@
|
|||||||
|
metadata:
|
||||||
|
name: {{ .Values.subchart.name | lower }}
|
Loading…
Reference in new issue