Chart hip-readiness-gate 0.1.0 · apiVersion v3 ·
archive hip-readiness-gate-0.1.0.tgz (848 B) ·
sha256 e75229a71dc975b47d7a4d0c1ab2ffaa7da4ed9f5721f8d2538785e6c9fc8754
HIP-0025 R36 custom readiness gates sequencing - Probe gates Deployment
Source: charts/hip-readiness-gate in the harness commit.
Tests that read this chart
test_custom_readiness_gates_sequencing: 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/20261008-084220/charts/hip-readiness-gate-0.1.0.tgz $helm show all $chart $helm pull $chart --untar $helm install r $chart --wait=ordered -n demo --create-namespace
Files
The 4 files in the archive: the files that helm loads from
charts/hip-readiness-gate, byte for byte.
hip-readiness-gate/Chart.yamlhip-readiness-gate/templates/_workload.tplhip-readiness-gate/templates/resources.yamlhip-readiness-gate/values.yaml
hip-readiness-gate/Chart.yaml · 140 B
apiVersion: v3 name: hip-readiness-gate description: HIP-0025 R36 custom readiness gates sequencing - Probe gates Deployment version: 0.1.0
hip-readiness-gate/templates/_workload.tpl · 852 B
{{- /* slow-ready Deployment: (dict "root" $ "name" "x" "group" "g" "deps" (list ...)) */ -}}
{{- define "e2e.workload.gate" -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .name }}
annotations:
{{- with .group }}
helm.sh/resource-group: {{ . }}
{{- end }}
{{- with .deps }}
helm.sh/depends-on/resource-groups: {{ toJson . | quote }}
{{- end }}
spec:
replicas: 1
selector:
matchLabels: {app: {{ .name }}}
template:
metadata:
labels: {app: {{ .name }}}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: {{ .root.Values.image }}
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: {{ .root.Values.readyDelay }}
periodSeconds: 1
{{- end -}}
hip-readiness-gate/templates/resources.yaml · 374 B
apiVersion: readiness.hip0025.example/v1
kind: Probe
metadata:
name: gate
annotations:
helm.sh/resource-group: first
helm.sh/readiness-success: '["{.phase} == Ready"]'
helm.sh/readiness-failure: '["{.phase} == Failed"]'
spec:
target: test
status: {}
---
{{ include "e2e.workload.gate" (dict "root" $ "name" "app" "group" "second" "deps" (list "first")) }}
hip-readiness-gate/values.yaml · 39 B
image: nginx:1.27-alpine readyDelay: 3