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

Jenkins Kubernetes plugin referencing config map as environment variable

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: kubernetes-plugin
    • Labels:
      None
    • Environment:
      Kubernetes plug-in 1.29.2
      Jenkins 2.263.3
    • Similar Issues:

      Description

      Hi, 

      Is there a way to reference a configMap as environment variable as describe in 

      https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-container-environment-variables-using-configmap-data

       

      Documentation from https://plugins.jenkins.io/kubernetes/ mentioned only enVar and secretEnvVar. 

      • envVars Environment variables that are applied to ALL containers.
        • envVar An environment variable whose value is defined inline.
        • secretEnvVar An environment variable whose value is derived from a Kubernetes secret.

       

      I am using a scripted pipeline to define my pod template. Is this a feature request for the plugin?

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            e88z4 Felix
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: