From 0fe206fe7af777b26649bc5158992bb05e41e23e Mon Sep 17 00:00:00 2001 From: Jed Cunningham Date: Mon, 2 Mar 2026 11:19:36 -0700 Subject: [PATCH] Chart: warn on deprecated per-component securityContext values Add DEPRECATION WARNING notices in NOTES.txt for scheduler.securityContext, webserver.securityContext, and statsd.securityContext. These fields were already marked deprecated in values.yaml (use securityContexts instead) but no warning was shown to users at install/upgrade time. --- chart/templates/NOTES.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/chart/templates/NOTES.txt b/chart/templates/NOTES.txt index 8e0f30a5f242c..061d8c5f64554 100644 --- a/chart/templates/NOTES.txt +++ b/chart/templates/NOTES.txt @@ -223,6 +223,30 @@ DEPRECATION WARNING: {{- end }} +{{- if .Values.scheduler.securityContext }} + + DEPRECATION WARNING: + `scheduler.securityContext` has been renamed to `scheduler.securityContexts`. + Please change your values as support for the old name will be dropped in a future release. + +{{- end }} + +{{- if .Values.webserver.securityContext }} + + DEPRECATION WARNING: + `webserver.securityContext` has been renamed to `webserver.securityContexts`. + Please change your values as support for the old name will be dropped in a future release. + +{{- end }} + +{{- if .Values.statsd.securityContext }} + + DEPRECATION WARNING: + `statsd.securityContext` has been renamed to `statsd.securityContexts`. + Please change your values as support for the old name will be dropped in a future release. + +{{- end }} + {{- if ne (int .Values.workers.replicas) 1 }} DEPRECATION WARNING: