Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-27343

Fix Caddyfile in api-frontend

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      Discovered api-frontend was crashloopbackoff in preview. Problem was

       

      {"level":"info","ts":1690375529.8848,"msg":"using provided configuration","config_file":"/opt/app-root/src/Caddyfile","config_adapter":""}

       
      Error: adapting config using caddyfile: /opt/app-root/src/Caddyfile:2: unrecognized global option: {\$CADDY_TLS_MODE}

       

      Turns out api-frontend is shipping their own Caddyfile. They had an error in it, also added metrics while I was in there

       

      https://github.com/RedHatInsights/api-frontend/pull/623

              rh-ee-addrew Adam Drew
              rh-ee-addrew Adam Drew
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: