charts/hip-subcharts-nested

Chart parent-z 0.1.0 · apiVersion v3 · archive parent-z-0.1.0.tgz (830 B) · sha256 81410cb307cfa7030ea46af0e2e9a8c61f436791eee3b9a44506b5d37344acb2

3-level nesting test (parent-z -> child-b -> grandchild-a)

Source: charts/hip-subcharts-nested in the harness commit.

Tests that read this chart

Inspect or install it

Upstream Helm cannot install a chart v3 yet. Use a helm binary of a tier: clone the repository and run make build TIERS=combined. Some charts must fail; the tests above show the expected result. All charts of the run are also a Helm chart repository.

export HELM_EXPERIMENTAL_CHART_V3=1
helm=.bin/helm-combined
chart=https://caretak3r.github.io/helm-hip-0025-e2e/20261116-145035-876615/charts/parent-z-0.1.0.tgz

$helm show all $chart
$helm pull $chart --untar
$helm install r $chart --wait=ordered -n demo --create-namespace

Files

The 9 files in the archive: the files that helm loads from charts/hip-subcharts-nested, byte for byte.

parent-z/Chart.yaml · 265 B

apiVersion: v3
name: parent-z
description: 3-level nesting test (parent-z -> child-b -> grandchild-a)
version: 0.1.0
annotations:
  helm.sh/depends-on/subcharts: '["child-b"]'
dependencies:
  - name: child-b
    version: 0.1.0
    repository: file://charts/child-b

parent-z/charts/child-b/Chart.yaml · 256 B

apiVersion: v3
name: child-b
description: child level depending on grandchild
version: 0.1.0
annotations:
  helm.sh/depends-on/subcharts: '["grandchild-a"]'
dependencies:
  - name: grandchild-a
    version: 0.1.0
    repository: file://charts/grandchild-a

parent-z/charts/child-b/charts/grandchild-a/Chart.yaml · 85 B

apiVersion: v3
name: grandchild-a
description: deepest level subchart
version: 0.1.0

parent-z/charts/child-b/charts/grandchild-a/templates/grandchild-a.yaml · 515 B

apiVersion: apps/v1
kind: Deployment
metadata:
  name: grandchild-a
spec:
  replicas: 1
  selector:
    matchLabels: {app: grandchild-a}
  template:
    metadata:
      labels: {app: grandchild-a}
    spec:
      terminationGracePeriodSeconds: 0
      containers:
        - name: web
          image: {{ .Values.image }}
          imagePullPolicy: IfNotPresent
          readinessProbe:
            httpGet: {path: /, port: 80}
            initialDelaySeconds: {{ .Values.readyDelay }}
            periodSeconds: 1

parent-z/charts/child-b/charts/grandchild-a/values.yaml · 39 B

image: nginx:1.27-alpine
readyDelay: 3

parent-z/charts/child-b/templates/child-b.yaml · 500 B

apiVersion: apps/v1
kind: Deployment
metadata:
  name: child-b
spec:
  replicas: 1
  selector:
    matchLabels: {app: child-b}
  template:
    metadata:
      labels: {app: child-b}
    spec:
      terminationGracePeriodSeconds: 0
      containers:
        - name: web
          image: {{ .Values.image }}
          imagePullPolicy: IfNotPresent
          readinessProbe:
            httpGet: {path: /, port: 80}
            initialDelaySeconds: {{ .Values.readyDelay }}
            periodSeconds: 1

parent-z/charts/child-b/values.yaml · 39 B

image: nginx:1.27-alpine
readyDelay: 3

parent-z/templates/parent-z.yaml · 503 B

apiVersion: apps/v1
kind: Deployment
metadata:
  name: parent-z
spec:
  replicas: 1
  selector:
    matchLabels: {app: parent-z}
  template:
    metadata:
      labels: {app: parent-z}
    spec:
      terminationGracePeriodSeconds: 0
      containers:
        - name: web
          image: {{ .Values.image }}
          imagePullPolicy: IfNotPresent
          readinessProbe:
            httpGet: {path: /, port: 80}
            initialDelaySeconds: {{ .Values.readyDelay }}
            periodSeconds: 1

parent-z/values.yaml · 39 B

image: nginx:1.27-alpine
readyDelay: 3