Skip to content

Commit 4a1bc69

Browse files
authored
Bugfix/fix invalid notes deprecation warning (#64296)
* clarify non-trivial deprecation warning in chart * fix NOTES.txt deprecation warning
1 parent ec561c6 commit 4a1bc69

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

chart/templates/NOTES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,10 @@ DEPRECATION WARNING:
405405

406406
{{- end }}
407407

408-
{{- if hasKey .Values.workers.podDisruptionBudget.config "minUnavailable" }}
408+
{{- if hasKey .Values.workers.podDisruptionBudget.config "minAvailable" }}
409409

410410
DEPRECATION WARNING:
411-
`workers.podDisruptionBudget.config.minUnavailable` has been renamed to `workers.celery.podDisruptionBudget.config.minUnavailable`.
411+
`workers.podDisruptionBudget.config.minAvailable` has been renamed to `workers.celery.podDisruptionBudget.config.minAvailable`.
412412
Please change your values as support for the old name will be dropped in a future release.
413413

414414
{{- end }}

chart/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,10 @@ workers:
777777
# (deprecated, use `workers.celery.podDisruptionBudget.config` instead)
778778
config:
779779
# minAvailable and maxUnavailable are mutually exclusive
780-
# (deprecated, use `workers.celery.podDisruptionBudget.config.maxUnavailable` instead)
781780
maxUnavailable: 1
782-
# (deprecated, use `workers.celery.podDisruptionBudget.config.minAvailable` instead)
781+
# (deprecated, use `workers.celery.podDisruptionBudget.config.maxUnavailable` instead)
783782
# minAvailable: 1
783+
# (deprecated, use `workers.celery.podDisruptionBudget.config.minAvailable` instead)
784784

785785
# Create ServiceAccount for Airflow Celery workers and pods created with pod-template-file
786786
serviceAccount:

0 commit comments

Comments
 (0)