○ xfail on Combined (All three PRs merged) · 0.2 s
helm template prints resources in deploy order with ## START/END resource-group delimiters.
R26 not implemented: helm template does not print START/END resource-group delimiters
Same test on other tiers: PR1 — n/aPR2 ○ xfailPR3 — n/a
Requirements
R26 helm template prints deploy order with START/END resource-group delimiters not-implemented
helm templatewould print all resources in the order they would be deployed. Groups of resources in a resource-group would be delimited using a## START resource-group: <chart>/<subchart> <group-name>comment [...] andEND resource-group: <chart>/<subchart> <group-name>.HIP-0025, Sequencing order
Note: Deferred to a follow-up PR after PR2 (decision 2026-09-26): the maintainers asked for smaller PRs, and helm dag already prints the deployment order for troubleshooting.
The test needs these tier features: groups.
What the test observed
The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).
helm template output
---
# Source: hip-groups/templates/unsequenced.yaml
# The three "Unsequenced Resources" cases: deployed after every sequenced group.
apiVersion: v1
kind: ConfigMap
metadata:
name: loose # lacks annotations
data: {case: no-annotations}
---
# Source: hip-groups/templates/unsequenced.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: orphan # depends on a group that does not exist -> warning
annotations:
helm.sh/resource-group: orphan
helm.sh/depends-on/resource-groups: '["no-such-group"]'
data: {case: missing-dependency}
---
# Source: hip-groups/templates/unsequenced.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: lonely # isolated group: no edges in or out -> warning
annotations:
helm.sh/resource-group: lonely
data: {case: isolated-group}
---
# Source: hip-groups/templates/groups.yaml
# HIP-0025 "Template examples": database and queue have no mutual dependency and
# deploy together; app waits for both. The dependency list is deliberately in the
# opposite order to the HIP text ("The order in which they are listed does not
# affect deployment sequencing").
apiVersion: apps/v1
kind: Deployment
metadata:
name: db-service
annotations:
helm.sh/resource-group: database
spec:
replicas: 1
selector:
matchLabels: {app: db-service}
template:
metadata:
labels: {app: db-service}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: 3
periodSeconds: 1
---
# Source: hip-groups/templates/groups.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: queue-processor
annotations:
helm.sh/resource-group: queue
spec:
replicas: 1
selector:
matchLabels: {app: queue-processor}
template:
metadata:
labels: {app: queue-processor}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: 3
periodSeconds: 1
---
# Source: hip-groups/templates/groups.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
annotations:
helm.sh/resource-group: app
helm.sh/depends-on/resource-groups: "[\"queue\",\"database\"]"
spec:
replicas: 1
selector:
matchLabels: {app: my-app}
template:
metadata:
labels: {app: my-app}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: 3
periodSeconds: 1
Charts
The charts that the helm commands below read. The run keeps
each chart as an archive. Click a chart to see its files and the commands that inspect or install it.
| Chart directory | Chart | Archive | sha256 |
|---|---|---|---|
| charts/hip-groups | hip-groups 0.1.0 · apiVersion v3HIP-0025 "Template examples" (database, queue -> app) plus the three unsequenced cases |
hip-groups-0.1.0.tgz · 1.2 KB | bf37c35e80bb2a8c |
Commands
Every command that the test ran, in order, with the start time, the exit code and the output. The paths are relative to the root of the repository.
01:55:31.008 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-template-prints-delimiters-for-groups --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]
01:55:31.055 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-template-prints-delimiters-for-groups
[exit 0, 0.0s]
namespace/e2e-combined-template-prints-delimiters-for-groups created
01:55:31.094 $ .bin/helm-combined template test-release charts/hip-groups --kube-context kind-hip0025-e2e
[exit 0, 0.0s]
---
# Source: hip-groups/templates/unsequenced.yaml
# The three "Unsequenced Resources" cases: deployed after every sequenced group.
apiVersion: v1
kind: ConfigMap
metadata:
name: loose # lacks annotations
data: {case: no-annotations}
---
# Source: hip-groups/templates/unsequenced.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: orphan # depends on a group that does not exist -> warning
annotations:
helm.sh/resource-group: orphan
helm.sh/depends-on/resource-groups: '["no-such-group"]'
data: {case: missing-dependency}
---
# Source: hip-groups/templates/unsequenced.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: lonely # isolated group: no edges in or out -> warning
annotations:
helm.sh/resource-group: lonely
data: {case: isolated-group}
---
# Source: hip-groups/templates/groups.yaml
# HIP-0025 "Template examples": database and queue have no mutual dependency and
# deploy together; app waits for both. The dependency list is deliberately in the
# opposite order to the HIP text ("The order in which they are listed does not
# affect deployment sequencing").
apiVersion: apps/v1
kind: Deployment
metadata:
name: db-service
annotations:
helm.sh/resource-group: database
spec:
replicas: 1
selector:
matchLabels: {app: db-service}
template:
metadata:
labels: {app: db-service}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: 3
periodSeconds: 1
---
# Source: hip-groups/templates/groups.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: queue-processor
annotations:
helm.sh/resource-group: queue
spec:
replicas: 1
selector:
matchLabels: {app: queue-processor}
template:
metadata:
labels: {app: queue-processor}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: 3
periodSeconds: 1
---
# Source: hip-groups/templates/groups.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
annotations:
helm.sh/resource-group: app
helm.sh/depends-on/resource-groups: "[\"queue\",\"database\"]"
spec:
replicas: 1
selector:
matchLabels: {app: my-app}
template:
metadata:
labels: {app: my-app}
spec:
terminationGracePeriodSeconds: 0
containers:
- name: web
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
httpGet: {path: /, port: 80}
initialDelaySeconds: 3
periodSeconds: 1
01:55:31.134 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-template-prints-delimiters-for-groups --wait=false
[exit 0, 0.0s]
namespace "e2e-combined-template-prints-delimiters-for-groups" deleted
Files
| File | Size | Content |
|---|---|---|
| commands.log | 3.5 KB | the commands above |
| observations.json | 3.0 KB | the observations above, as JSON |