✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 1.2 s
Same resource assigned to two groups: install fails with 'assigned to multiple resource groups', nothing applied.
Same test on other tiers: PR1 — n/aPR3 — n/aCombined ✓ pass
Requirements
R23 A resource belongs to one resource group only implemented
A resource can only belong to one group.HIP-0025, Resource-Group Sequencing
The test needs these tier features: ordered, groups.
What the test observed
The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).
install exit code
1
error message
Error: INSTALLATION FAILED: parsing resource-group annotations for hip-groups-duplicate: resource "apps/v1/Deployment//conflicting-app" assigned to multiple resource groups "group-a" and "group-b"
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-duplicate | hip-groups-duplicate 0.1.0 · apiVersion v3R23 duplicate resource-group assignment (same resource in two groups) |
hip-groups-duplicate-0.1.0.tgz · 660 B | e1b3e207300a5d5b |
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.
14:57:35.426 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-duplicate-resource-group-assignment-rejected --ignore-not-found --wait=true --timeout=120s [exit 0, 0.0s] 14:57:35.463 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-duplicate-resource-group-assignment-rejected [exit 0, 0.0s] namespace/e2e-pr2-duplicate-resource-group-assignment-rejected created 14:57:35.498 $ .bin/helm-pr2 install r charts/hip-groups-duplicate --namespace e2e-pr2-duplicate-resource-group-assignment-rejected --wait=ordered --timeout 1m --kube-context kind-hip0025-e2e [exit 1, 0.1s] Error: INSTALLATION FAILED: parsing resource-group annotations for hip-groups-duplicate: resource "apps/v1/Deployment//conflicting-app" assigned to multiple resource groups "group-a" and "group-b" 14:57:36.564 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-duplicate-resource-group-assignment-rejected --wait=false [exit 0, 0.0s] namespace "e2e-pr2-duplicate-resource-group-assignment-rejected" deleted
Files
| File | Size | Content |
|---|---|---|
| audit.jsonl | 1.3 KB | 1 kube-apiserver audit records for the namespace of the test |
| commands.log | 1020 B | the commands above |
| observations.json | 319 B | the observations above, as JSON |