We are using the AKS flux extension to deploy helm releases and use the valuesFrom field to override helm values via a configmap. This requires the field be a file-like yaml file so flux can merge in the values into the chart. However the kubernetes provider creates a configmap with name-value pairs with cannot be merged in using the valuesFrom directive.
As an example, this is the configmap created by the AppConfigProvider:
apiVersion: v1
kind: ConfigMap
data:
"FQDN": "app.myurl.com"
"acr_name": "myacr"
"api_app_id": "24857289457-24524524-2454254"
...
apiVersion: v1
kind: ConfigMap
data:
terraform.yaml: |
"terraform":
"FQDN": "app.myurl.com"
"acr_name": "myacr"
"api_app_id": "24857289457-24524524-2454254"
...
It would be helpful for us if there was an option to output the key-values pairs into a file-like key like the example above to support flux's valuesFrom field.
We are using the AKS flux extension to deploy helm releases and use the valuesFrom field to override helm values via a configmap. This requires the field be a file-like yaml file so flux can merge in the values into the chart. However the kubernetes provider creates a configmap with name-value pairs with cannot be merged in using the valuesFrom directive.
As an example, this is the configmap created by the AppConfigProvider:
It would be helpful for us if there was an option to output the key-values pairs into a file-like key like the example above to support flux's valuesFrom field.