diff --git a/changelog.d/3-bug-fixes/WPB-6428 b/changelog.d/3-bug-fixes/WPB-6428 new file mode 100644 index 00000000000..028535d5d4e --- /dev/null +++ b/changelog.d/3-bug-fixes/WPB-6428 @@ -0,0 +1 @@ +fix Helm pretty-printer for disabledAPIVersions diff --git a/charts/brig/templates/configmap.yaml b/charts/brig/templates/configmap.yaml index 90b1c242067..e128169dbe4 100644 --- a/charts/brig/templates/configmap.yaml +++ b/charts/brig/templates/configmap.yaml @@ -323,7 +323,7 @@ data: {{- if .setOAuthEnabled }} setOAuthEnabled: {{ .setOAuthEnabled }} {{- end }} - setDisabledAPIVersions: {{ .setDisabledAPIVersions }} + setDisabledAPIVersions: {{ toJson .setDisabledAPIVersions }} {{- if .setOAuthRefreshTokenExpirationTimeSecs }} setOAuthRefreshTokenExpirationTimeSecs: {{ .setOAuthRefreshTokenExpirationTimeSecs }} {{- end }} diff --git a/charts/cannon/templates/configmap.yaml b/charts/cannon/templates/configmap.yaml index 0d965904e11..6537fc0172a 100644 --- a/charts/cannon/templates/configmap.yaml +++ b/charts/cannon/templates/configmap.yaml @@ -19,7 +19,7 @@ data: millisecondsBetweenBatches: {{ .Values.config.drainOpts.millisecondsBetweenBatches }} minBatchSize: {{ .Values.config.drainOpts.minBatchSize }} - disabledAPIVersions: {{ .Values.config.disabledAPIVersions }} + disabledAPIVersions: {{ toJson .Values.config.disabledAPIVersions }} kind: ConfigMap metadata: diff --git a/charts/cargohold/templates/configmap.yaml b/charts/cargohold/templates/configmap.yaml index 4f56edc8f5c..da764c8a50d 100644 --- a/charts/cargohold/templates/configmap.yaml +++ b/charts/cargohold/templates/configmap.yaml @@ -56,5 +56,5 @@ data: downloadLinkTTL: {{ .downloadLinkTTL }} {{- end }} federationDomain: {{ .federationDomain }} - disabledAPIVersions: {{ .disabledAPIVersions }} + disabledAPIVersions: {{ toJson .disabledAPIVersions }} {{- end }} diff --git a/charts/galley/templates/configmap.yaml b/charts/galley/templates/configmap.yaml index a96d8bd30ae..1ff99379292 100644 --- a/charts/galley/templates/configmap.yaml +++ b/charts/galley/templates/configmap.yaml @@ -80,7 +80,7 @@ data: ed25519: "/etc/wire/galley/secrets/removal_ed25519.pem" {{- end }} {{- end }} - disabledAPIVersions: {{ .settings.disabledAPIVersions }} + disabledAPIVersions: {{ toJson .settings.disabledAPIVersions }} {{- if .settings.featureFlags }} {{- if .settings.guestLinkTTLSeconds }} guestLinkTTLSeconds: {{ .settings.guestLinkTTLSeconds }} diff --git a/charts/gundeck/templates/configmap.yaml b/charts/gundeck/templates/configmap.yaml index 1086c2995b7..cac6782ab9a 100644 --- a/charts/gundeck/templates/configmap.yaml +++ b/charts/gundeck/templates/configmap.yaml @@ -60,7 +60,7 @@ data: {{- if hasKey . "perNativePushConcurrency" }} perNativePushConcurrency: {{ .perNativePushConcurrency }} {{- end }} - disabledAPIVersions: {{ .disabledAPIVersions }} + disabledAPIVersions: {{ toJson .disabledAPIVersions }} # disabledAPIVersions: [ 2 ] maxConcurrentNativePushes: soft: {{ .maxConcurrentNativePushes.soft }} diff --git a/charts/proxy/templates/configmap.yaml b/charts/proxy/templates/configmap.yaml index 95814bd1a73..a69b96e663f 100644 --- a/charts/proxy/templates/configmap.yaml +++ b/charts/proxy/templates/configmap.yaml @@ -7,7 +7,7 @@ data: logFormat: {{ .Values.config.logFormat }} logLevel: {{ .Values.config.logLevel }} logNetStrings: {{ .Values.config.logNetStrings }} - disabledAPIVersions: {{ .Values.config.disabledAPIVersions }} + disabledAPIVersions: {{ toJson .Values.config.disabledAPIVersions }} host: 0.0.0.0 port: {{ .Values.service.internalPort }} httpPoolSize: 1000 diff --git a/charts/spar/templates/configmap.yaml b/charts/spar/templates/configmap.yaml index 74913bf8fc8..34718f6a4a0 100644 --- a/charts/spar/templates/configmap.yaml +++ b/charts/spar/templates/configmap.yaml @@ -36,7 +36,7 @@ data: maxScimTokens: {{ .maxScimTokens }} - disabledAPIVersions: {{ .disabledAPIVersions }} + disabledAPIVersions: {{ toJson .disabledAPIVersions }} saml: version: SAML2.0