refactor: Make notes error on use of dind.enabled
@@ -145,13 +145,6 @@ config:
{{- fail (include "removedConfig" .) }}
{{- end }}
-{{- if .Values.dind.enabled }}
-[WARNING] Use of dind "enabled" detected.
-
-This value is considered legacy and should be replaced by:
- containerBuilderPod: dind
-{{- end }}
-
1. Get the application URL by running these commands:
{{- if .Values.ingress.hostname }}
@@ -189,8 +182,12 @@ This value is considered legacy and should be replaced by:
{{- $breaking = print $breaking "\n\nRENAMED: jupyterhub.custom.cors.allowOrigin has been renamed to jupyterhub.hub.config.BinderSpawner.cors_allow_origin" }}
{{- end }}
-{{- if and (ne .Values.containerBuilderPod "disabled") .Values.dind.enabled -}}
-{{ $breaking = print $breaking "\n\nUse of both dind \"enabled\" and containerBuilderPod detected. Please use the later" }}
+{{- if hasKey .Values.dind "enabled" -}}
+{{ $breaking = print $breaking "\n\nCHANGED:"}}
+{{ $breaking = print $breaking "\n\ndind:" }}
+{{ $breaking = print $breaking "\n enabled: true" }}
+{{ $breaking = print $breaking "\n\nmust as of version 0.3.0 be replace by" }}
+{{ $breaking = print $breaking "\n\ncontainerBuilderPod: dind" }}
{{- end }}
{{- if $breaking }}
