Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-747

Using generated PgSQL credentials considerations

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required
    • Rejected
    • RHDH Install 3276

      Sonataflow reuses PgSQL database created by Backstage operator including the Secret which is a part of Backstage CR instance containing generated PgSQL DB credentials.
      The problem is that if user recreates Backstage CR, the Secret (along with DB server) is recreated and credentials regenerated while Sonataflowplatform CR is still the same and tries to use "old" credentials, and fails. The workaround is re-creating Sonataflow's pods.
      The decision to make is how to avoid or make the reason and way to solve it more clear.
      Possible options:

      • better document it (OK for start)
      • make Backstage CR own the Sonataflow Platform (not complex, good fit for "easy to install" option)
      • consider shared for cluster between Sonataflowplatform instance with own DB (more complex but more prod friendly, combining with dedicated PgSQL DB)

              gazarenk-1 Gennady Azarenkov
              gazarenk-1 Gennady Azarenkov
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: