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
test_default_readiness_timeout_one_minute: PR1 · PR2 · Combinedtest_failure_stops_install_dependent_never_applied: PR1 · PR2 · Combinedtest_readiness_timeout_exceeds_timeout_rejected: PR1 · PR2 · Combinedtest_readiness_timeout_per_batch_cap: PR1 · PR2 · Combinedtest_rollback_on_failure_cleans_up: PR1 · PR2 · Combined
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/20261102-014745-815201/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.yamlhip-lifecycle-failure/charts/broken/Chart.yamlhip-lifecycle-failure/charts/broken/templates/deploy.yamlhip-lifecycle-failure/charts/broken/values.yamlhip-lifecycle-failure/charts/dependent/Chart.yamlhip-lifecycle-failure/charts/dependent/templates/deploy.yamlhip-lifecycle-failure/charts/dependent/values.yamlhip-lifecycle-failure/values.yaml
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