Skip to content

Unable to configure agentInjection property using latest helm chart #1343

@vsyamala1

Description

@vsyamala1

Describe the bug

We are unable to configure below highlighted check using helm chart. If anyone can suggest using same chart how can we configure this option.
We are using default pod template and adding details as per documentations.

Image

if we check the highlighted option, we are seeing this one coming in config-as-code.

Image

Version of Helm and Kubernetes

- Helm: v3.17.2
- Kubernetes: v1.28.11+vmware.2

Chart version

jenkins-5.8.24

What happened?

1. Configure default agent using below value
  agent:
    enabled: true
    defaultsProviderTemplate: ""
    useDefaultServiceAccount: true
    serviceAccount:
    jenkinsUrl:
    jenkinsTunnel:
    skipTlsVerify: false
    usageRestricted: false
    kubernetesConnectTimeout: 5
    kubernetesReadTimeout: 15
    maxRequestsPerHostStr: "32"
    retentionTimeout: 5
    waitForPodSec: 600
    namespace: jenkins-poc1
    podLabels: {}
    jnlpregistry: <registry>/
    image:
 
2. Deployed the helm chart and triggered a job
3. Agent Pods are running but its connecting to Jenkins Controller.
4. Once we select inject option in Jenkins UI, we are able to proceed.
...

What you expected to happen?

We want to configure agentInjection option through helm chart.

How to reproduce it

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions