Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-2612

Please document suggestion *not* to use devfile to define secret for CRW

    XMLWordPrintable

Details

    • devex docs #207 Sep 9-Sep 30, devex docs #208 Sep 30-Oct 21, devex docs #209 Oct 21-Nov 11
    • 3
    • Undefined
    • ---
    • ---

    Description

      Our documentation describes how secrets can be used to mount a file (i.e. custom settings.xml) [1].

       

      Devfiles can be used to make such a secret. 

       

      But when the two points above are used together:  "A devfile defines a secret, the secret contains a file used by CRW" it does not work.  Timing (race conditions) arise.

       

      The request:  Please place a small warning note near the documentation at [1] warning the user that such secrets should not be defined via devfile.  Something like this, perhaps:

       

      ----------------- Suggested text ----------------------------------------

      Warning!  Secrets can be defined in a devfile.  Please do not use secrets defined this way for mounting files.  Race conditions can occur.  Instead, define secrets used for mounting files through the console or the CLI.

      --------------------------------------------------------------------------------

       

       

      [1] https://access.redhat.com/documentation/en-us/red_hat_codeready_workspaces/2.5/html-single/end-user_guide/index#mounting-a-secret-as-a-file-or-an-environment-variable-into-a-workspace-container_crw

      Attachments

        Activity

          People

            rhn-support-tstastna Tereza Stastna (Inactive)
            rhn-support-rick Rick Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: