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

Known Issue: ArgoCD deployment issues when deploying RHDH with Orchestrator via Helm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.8.0, 1.8.1, 1.9.0
    • Helm Chart, Orchestrator
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      ArgoCD deployment fails due to PostgreSQL serviceBindings incompatibility::

      The orchestrator chart uses the PostgreSQL chart's `serviceBindings` functionality to share database credentials. The PostgreSQL chart implements this feature using Helm `lookup()` function, which is not supported by ArgoCD server-side rendering. This prevents successful deployment when using ArgoCD.

      As a consequence, ArgoCD deployments fail with password authentication errors, database creation jobs fail silently, and SonataFlow services cannot connect to PostgreSQL.

      As a work to deploy with ArgoCD, complete the following steps:

      . Disable `serviceBindings` in your configuration:
      +
      [source,yaml]
      ----
        upstream:
          postgresql:
            serviceBindings:
              enabled: false
      ----

      . Create a pre-existing secret with the name `<release-name>-postgresql-svcbind-postgres` containing the following content:
      +
      [source,yaml,subs="+attributes,+quotes"]
      ----
        apiVersion: v1
        kind: Secret
        metadata:
          name: <release-name>-postgresql-svcbind-postgres
        type: Opaque
        data:
          username: <base64-encoded-username> # e.g., "postgres"
          password: <base64-encoded-password>
          postgres-password: <base64-encoded-password> # Same as password
      ----

      . Configure the chart to use the existing secret:
      +
      [source,yaml,subs="+attributes,+quotes"]
      ----
        upstream:
          postgresql:
            auth:
              existingSecret: <release-name>-postgresql-svcbind-postgres
              secretKeys:
                adminPasswordKey: password
      ----
      Show
      ArgoCD deployment fails due to PostgreSQL serviceBindings incompatibility:: The orchestrator chart uses the PostgreSQL chart's `serviceBindings` functionality to share database credentials. The PostgreSQL chart implements this feature using Helm `lookup()` function, which is not supported by ArgoCD server-side rendering. This prevents successful deployment when using ArgoCD. As a consequence, ArgoCD deployments fail with password authentication errors, database creation jobs fail silently, and SonataFlow services cannot connect to PostgreSQL. As a work to deploy with ArgoCD, complete the following steps: . Disable `serviceBindings` in your configuration: + [source,yaml] ----   upstream:     postgresql:       serviceBindings:         enabled: false ---- . Create a pre-existing secret with the name `<release-name>-postgresql-svcbind-postgres` containing the following content: + [source,yaml,subs="+attributes,+quotes"] ----   apiVersion: v1   kind: Secret   metadata:     name: <release-name>-postgresql-svcbind-postgres   type: Opaque   data:     username: <base64-encoded-username> # e.g., "postgres"     password: <base64-encoded-password>     postgres-password: <base64-encoded-password> # Same as password ---- . Configure the chart to use the existing secret: + [source,yaml,subs="+attributes,+quotes"] ----   upstream:     postgresql:       auth:         existingSecret: <release-name>-postgresql-svcbind-postgres         secretKeys:           adminPasswordKey: password ----
    • Known Issue
    • Done
    • RHDH Install 3285, RHDH Install 3286

      Description of problem:

      More context in this Slack thread: https://redhat-internal.slack.com/archives/C05HGAR2DT5/p1765212646522309

      Related Issues:
        - https://github.com/argoproj/argo-cd/issues/5202

              gazarenk-1 Gennady Azarenkov
              rh-ee-asoro Armel Soro
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: