charts/hip-subcharts-alias

Chart hip-subcharts-alias 0.1.0 · apiVersion v3 · archive hip-subcharts-alias-0.1.0.tgz (780 B) · sha256 2ad3522e71c23a882040ade1fd685658e19fdca1213a7535ec433435c360af55

Subchart ordering with alias references (R03)

Source: charts/hip-subcharts-alias 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/20261008-084220/charts/hip-subcharts-alias-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-alias, byte for byte.

hip-subcharts-alias/Chart.yaml · 324 B

apiVersion: v3
name: hip-subcharts-alias
description: Subchart ordering with alias references (R03)
version: 0.1.0
dependencies:
  - name: zeta
    version: 0.1.0
    repository: file://charts/zeta
    alias: z-service
  - name: alpha
    version: 0.1.0
    repository: file://charts/alpha
    depends-on: [z-service, zeta]

hip-subcharts-alias/charts/alpha/Chart.yaml · 111 B

apiVersion: v3
name: alpha
description: alpha subchart depending on zeta by both alias and name
version: 0.1.0

hip-subcharts-alias/charts/alpha/templates/alpha.yaml · 494 B

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

hip-subcharts-alias/charts/alpha/values.yaml · 39 B

image: nginx:1.27-alpine
readyDelay: 3

hip-subcharts-alias/charts/zeta/Chart.yaml · 73 B

apiVersion: v3
name: zeta
description: zeta subchart stub
version: 0.1.0

hip-subcharts-alias/charts/zeta/templates/zeta.yaml · 491 B

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

hip-subcharts-alias/charts/zeta/values.yaml · 39 B

image: nginx:1.27-alpine
readyDelay: 3

hip-subcharts-alias/templates/parent.yaml · 497 B

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

hip-subcharts-alias/values.yaml · 39 B

image: nginx:1.27-alpine
readyDelay: 3