Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-16094

DO180: ch08s03 - grading script not considering secret for env vars - RHT2533249

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • DO180 - RHOCP4.18-en-2-20251021
    • DO180
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 8
    • en-US (English)

      URL: ch08s03
      Reporter RHNID: szymcto
      Section title: Lab: Troubleshoot and Scale Applications
      Language: English

      Issue description

      The grading script is not considering that the env variables could be mounted from a secret. 

      I created a secret with:
      oc create secret generic blabla --from-literal MYSQL_USER=operator1 --from-literal MYSQL_PASSWORD=redhat123 --from-literal MYSQL_DATABASE=quotes

      and I attached it to deployment using:
      oc set env deployment/quotesdb --from secret/blablah
      and although MySQL started. The grade script didn't pass this point for me.

              gls-curriculum-ocp-core@redhat.com PTL - OCP Platform Team
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: