Skip to content

Commit b615ad6

Browse files
committed
refactor(helm): fail on removed pvc value keys
1 parent 5f1b56b commit b615ad6

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

docs/2026-02-05-shared-mount-syncer.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,6 @@ Alternative (Kubernetes-native):
237237
For Spritz pods, the shared mount is writable. The syncer sidecar uses a filesystem
238238
watcher to publish quickly when content changes, with a periodic safety tick.
239239

240-
## Deprecated: Shared Config PVC
241-
242-
The shared config PVC approach is sunsetted and is **not** planned for implementation
243-
in the near future. Any existing PVC code should be treated as legacy and not enabled
244-
for new deployments. Use the object-storage syncer above.
245-
246240
## GCS Uniform Bucket-Level Access (Important)
247241

248242
When using GCS buckets with Uniform Bucket-Level Access (UBLA) enabled, rclone must

helm/spritz/templates/operator-deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{- if hasKey .Values.operator "homePVC" -}}
2+
{{ fail "operator.homePVC has been removed; use operator.homeSizeLimit and sharedMounts instead" }}
3+
{{- end -}}
4+
{{- if hasKey .Values.operator "sharedConfigPVC" -}}
5+
{{ fail "operator.sharedConfigPVC has been removed; use operator.sharedMounts/api.sharedMounts instead" }}
6+
{{- end -}}
17
apiVersion: apps/v1
28
kind: Deployment
39
metadata:

scripts/verify-helm.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,12 @@ expect_failure \
8787
"global.ingress.className must be nginx when authGateway.enabled=true" \
8888
helm template spritz "${chart_dir}" -f "${example_values}" --set global.ingress.className=traefik
8989

90+
expect_failure \
91+
"operator.homePVC has been removed; use operator.homeSizeLimit and sharedMounts instead" \
92+
helm template spritz "${chart_dir}" --set operator.homePVC.enabled=true
93+
94+
expect_failure \
95+
"operator.sharedConfigPVC has been removed; use operator.sharedMounts/api.sharedMounts instead" \
96+
helm template spritz "${chart_dir}" --set operator.sharedConfigPVC.enabled=true
97+
9098
echo "helm checks passed"

0 commit comments

Comments
 (0)