[Bugfix][Helm] Fix chart resource references (#51664)

Signed-off-by: iwannagotobed <us990704@yonsei.ac.kr>
Co-authored-by: Chauncey <chaunceyjiang@gmail.com>
This commit is contained in:
iwannagotobed
2026-08-14 17:47:42 +08:00
committed by GitHub
co-authored by Chauncey
parent 69e0e58da1
commit aa31003573
9 changed files with 84 additions and 17 deletions
@@ -2,6 +2,23 @@ suite: test deployment
templates:
- deployment.yaml
tests:
- it: should use configured labels for the deployment selector and pods
set:
labels:
environment: production
release: qwen-serving
asserts:
- equal:
path: spec.selector.matchLabels
value:
environment: production
release: qwen-serving
- equal:
path: spec.template.metadata.labels
value:
environment: production
release: qwen-serving
- it: should create wait-download-model init container when modelDownload is enabled
set:
extraInit:
@@ -132,4 +149,4 @@ tests:
value: ghcr.io/llm-d/llm-d-routing-sidecar:v0.2.0
- equal:
path: spec.template.spec.initContainers[1].ports[0].containerPort
value: 8080
value: 8080