Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7709

[heat-operator] Render Heat configuration in Go

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Normal Normal
    • rhos-18.0.3
    • None
    • heat-operator
    • None
    • [heat-operator] Heat configuration files should be rendered in Go rather than using the init.sh script
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Proposed
    • Proposed
    • To Do
    • Proposed
    • Proposed
    • 0% To Do, 0% In Progress, 100% Done
    • Regression Only

      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.

              rhn-engineering-faguiard Fabricio Aguiar de Oliveira
              rhn-support-bshephar Brendan Shephard (Inactive)
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: