vsphere-cpi broken since flux bump
Summary
The vsphere-cpi HelmRelease fails with:
Helm install failed for release kube-system/vsphere-cpi with chart vsphere-cpi@1.28.0: error while running post render on files: trouble configuring builtin PatchTransformer with config: `
patch: |-
kind:
apiVersion: v1
metadata:
name: vsphere-cloud-config
namespace: kube-system
data:
vsphere.conf: 'global:
insecureFlag: true
port: 443
secretName: vsphere-cloud-secret
secretNamespace: kube-system
vcenter:
'<server>':
datacenters:
- 'TIM'
password: '<pwd>'
server: '<server>'
user: '<user>''
`: unable to parse SM or JSON patch from [patch: "kind:\napiVersion: v1\nmetadata:\n name: vsphere-cloud-config\n namespace: kube-system\ndata:\n vsphere.conf: 'global:\n insecureFlag: true\n port: 443\n secretName: vsphere-cloud-secret\n secretNamespace: kube-system\nvcenter:\n '<server>':\n datacenters:\n - 'TIM'\n password: '<pwd>'\n server: '<server>'\n user: '<user>''"]
The patch that fails come from https://gitlab.com/sylva-projects/sylva-core/-/blob/9f9596e637e06cc9dc04c8a4fff0c0fb38bb3580/charts/sylva-units/values.yaml#L4738-4748 and is meant to inject the vsphere.conf into a configMap
This error happens since the latest flux bump (!2653 (merged))