feat: support inline tag in image.repository for jupyterlab chart

Allow repository field to include a tag (e.g. "repo:tag"), in which case
the tag field is ignored. Update docs and custom-values to reflect the
new behavior and add dshm volume notes.
This commit is contained in:
ychangkim
2026-03-31 12:29:23 +09:00
parent b4213e4872
commit 9be83c6f3a
6 changed files with 55 additions and 12 deletions
@@ -25,10 +25,24 @@ custom-values.yaml (override)
```yaml
image:
registry: "quay.io" # 레지스트리 주소. 비워두면 Docker Hub 사용
repository: "jupyter/scipy-notebook"
tag: "latest" # 특정 버전 고정 권장 (예: "2024-01-15")
# tag는 생략 가능. repository에 태그를 포함하면 tag 필드는 무시됨.
# 방법1: repository에 태그 포함 (tag 불필요)
repository: "jupyter/scipy-notebook:ubuntu-22.04"
# 방법2: repository + tag 분리
# repository: "jupyter/scipy-notebook"
# tag: "latest"
tag: "latest" # repository에 ":"가 있으면 이 값은 무시됨
```
| 입력 | 결과 이미지 |
|------|------------|
| `repository: "repo:ubuntu-22.04"`, `tag: "latest"` | `quay.io/repo:ubuntu-22.04` (tag 무시) |
| `repository: "repo"`, `tag: "latest"` | `quay.io/repo:latest` |
| `repository: "repo"`, `tag: ""` | `quay.io/repo` |
> `image.pullPolicy`는 custom-values에 없으므로 `values.yaml` 기본값 `IfNotPresent` 적용
### resources
@@ -144,6 +158,7 @@ helm diff upgrade my-jupyter ./manifests/helm/jupyterlab \
```yaml
image:
repository: "jupyter/scipy-notebook"
tag: "latest"
resources:
@@ -173,7 +188,11 @@ ingress:
```yaml
image:
tag: "2024-01-15" # 버전 고정
# repository에 태그 포함 방식 (권장 - 버전 고정)
repository: "jupyter/scipy-notebook:2024-01-15"
# 또는 분리 방식:
# repository: "jupyter/scipy-notebook"
# tag: "2024-01-15"
resources:
limits: