charts/hip-lifecycle-failure

Chart hip-lifecycle-failure 0.1.0 · apiVersion v3 · archive hip-lifecycle-failure-0.1.0.tgz (721 B) · sha256 81e8152aaa1933a7b0b80d787bb8622d75d773712e5416c99b0916521777b912

Chart with a never-ready subchart to test failure handling

Source: charts/hip-lifecycle-failure 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/hip-lifecycle-failure-0.1.0.tgz

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

Files

The 8 files in the archive: the files that helm loads from charts/hip-lifecycle-failure, byte for byte.

hip-lifecycle-failure/Chart.yaml · 327 B

apiVersion: v3
name: hip-lifecycle-failure
description: Chart with a never-ready subchart to test failure handling
version: 0.1.0
dependencies:
  - name: broken
    version: 0.1.0
    repository: file://charts/broken
  - name: dependent
    version: 0.1.0
    repository: file://charts/dependent
    depends-on:
      - broken

hip-lifecycle-failure/charts/broken/Chart.yaml · 97 B

apiVersion: v3
name: broken
description: Never-ready deployment for failure tests
version: 0.1.0

hip-lifecycle-failure/charts/broken/templates/deploy.yaml · 474 B

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

hip-lifecycle-failure/charts/broken/values.yaml · 25 B

image: nginx:1.27-alpine

hip-lifecycle-failure/charts/dependent/Chart.yaml · 102 B

apiVersion: v3
name: dependent
description: Depends on broken; should never be applied
version: 0.1.0

hip-lifecycle-failure/charts/dependent/templates/deploy.yaml · 352 B

apiVersion: apps/v1
kind: Deployment
metadata:
  name: dependent
spec:
  replicas: 1
  selector:
    matchLabels: {app: dependent}
  template:
    metadata:
      labels: {app: dependent}
    spec:
      terminationGracePeriodSeconds: 0
      containers:
        - name: web
          image: {{ .Values.image }}
          imagePullPolicy: IfNotPresent

hip-lifecycle-failure/charts/dependent/values.yaml · 25 B

image: nginx:1.27-alpine

hip-lifecycle-failure/values.yaml · 25 B

image: nginx:1.27-alpine