Closed HenrikDK closed 2 years ago
Is Binary Data not supported for the flux v2 helm controller? Or have I missed something somewhere?
It is not supported, you need to use Data.
Ok, that explains it.
How does the Kustomize controller determin if it creates a binary data or data entry?
Is it the formatting of the values.yaml thats incorrect?
Kustomize will automatically add any value that is not valid utf8 to the BinaryData, your values.yaml seems malformed.
Ok thanks for the prompt response :)
Hi, didn't know if this was the correct place to ask. But i'll try here :)
I'm currently trying to get the helm controller on our cluster to deploy a release with a values.yaml file, I discovered this repo and tried following the "redis" example:
https://github.com/fluxcd/flux2-kustomize-helm-example/tree/main/infrastructure/redis
I have a folder with 6 files (i can upload them in a zip file if thats needed):
kustomization.yaml:
kustomizeconfig.yaml:
namespace.yaml:
release.yaml:
values.yaml
And a humio-token containing a secret access token.
But the Helm Controller keeps throwing an error:
"missing key 'values.yaml' in ConfigMap 'logging/fluentbit-values-7fffgftbhb'"
This has me puzzled cause when i describe the generated config map as yaml I can se a Binary Data entry with a values.yaml:
Is Binary Data not supported for the flux v2 helm controller? Or have I missed something somewhere?
/Henrik