-
Epic
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
[heat-operator] Heat configuration files should be rendered in Go rather than using the init.sh script
-
10
-
False
-
-
False
-
Not Selected
-
Proposed
-
Proposed
-
To Do
-
Proposed
-
Proposed
-
0% To Do, 0% In Progress, 100% Done
-
-
-
EDPM
We currently leverage a `init.sh` script executed from the `init` container to render and merge the configurations into the `heat.conf` file. This rendering should instead be done in Go during the operators reconcile function.
So, we would ideally remove the use of `crudini`:
https://github.com/openstack-k8s-operators/heat-operator/blob/main/templates/heat/bin/init.sh#L55
To do this effectively, we probably need to maintain a full sample of the `heat.conf` configuration rather than a partial and then trying to merge the defaults with our custom configuration.