Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60373

Permit to inject file credential from master filesystem

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      configuration-as-code-1.42

      Description

      Using JCasC in kubernetes/openshift container and injecting secrets to /run/secrets. Some of the secrets are binary blobs and hence are cumbersome to include in any other way but file secret. The problem is the requirement to base64 the content is impractical as it essentially require to intercept container creation and JCasC interpretation.

      To address that, I suggest to introduce an alternative for secretBytes that would read the content from a file directly (/run/secrets/FOO in this case), and would not require the content to be substituted inside the JCasC at all.

      Ex.:

      secretPath: "/run/secrets/FOO"
      

        Attachments

          Issue Links

            Activity

            olivergondza Oliver Gondža created issue -
            olivergondza Oliver Gondža made changes -
            Field Original Value New Value
            Component/s configuration-as-code-plugin [ 23170 ]
            jetersen Joseph Petersen made changes -
            Issue Type Task [ 3 ] Improvement [ 4 ]
            jetersen Joseph Petersen made changes -
            Remote Link This issue links to "configuration-as-code PR #1408 (Web Link)" [ 24949 ]
            olivergondza Oliver Gondža made changes -
            Released As configuration-as-code-1.42
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              olivergondza Oliver Gondža
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: