tofu-controller icon indicating copy to clipboard operation
tofu-controller copied to clipboard

BackendConfigsFrom with CustomConfiguration

Open sergibarroso-datarobot opened this issue 1 year ago • 2 comments

Reading the code, I can see that BackendConfigSpec has a field named CustomConfiguration to store the custom config JSON as a string.

But I couldn't figure out what key I should use to have a CustomConfiguration in a configMap and reference it via BackendConfigsFrom.

Is this use case implemented?

sergibarroso-datarobot avatar Sep 07 '22 08:09 sergibarroso-datarobot

Currently, it doesn't support referencing a ConfigMap for the CustomConfiguration yet. PRs are welcome :)

tomhuang12 avatar Sep 09 '22 20:09 tomhuang12

You may have been confused about how backendConfig and backendConfigsFrom relate to each other, just as I have been initially. Details are here: https://github.com/weaveworks/tf-controller/discussions/306

artem-nefedov avatar Sep 10 '22 08:09 artem-nefedov