1# Default values for jenkins.
2# This is a YAML-formatted file.
3# Declare name/value pairs to be passed into your templates.
6## Overrides for generated resource names
7# See templates/_helpers.tpl
8# -- Override the resource name prefix
9# @default -- `Chart.Name`
11# -- Override the full resource names
12# @default -- `jenkins-(release-name)` or `jenkins` if the release-name is `jenkins`
14# -- Override the deployment namespace
15# @default -- `Release.Namespace`
17# For FQDN resolving of the controller service. Change this value to match your existing configuration.
18# ref: https://github.com/kubernetes/dns/blob/master/docs/specification.md
19# -- Override the cluster name for FQDN resolving
20clusterZone: "cluster.local"
21# -- The URL of the Kubernetes API server
22kubernetesURL: "https://kubernetes.default"
23# -- The Jenkins credentials to access the Kubernetes API server. For the default cluster it is not needed.
25# -- Enables rendering of the helm.sh/chart label to the annotations
27# -- Configures extra labels for the agent all objects
29# -- Configures extra manifests
32 # -- Used for label app.kubernetes.io/component
33 componentName: "jenkins-controller"
35 # -- Controller image registry
37 # -- Controller image repository
38 repository: scratch-images/test-tmp/jenkins
39 # -- Controller image tag override; i.e., tag: "2.440.1-jdk21"
40 tag: 2.580-r0-jdk21@sha256:2ef12fc4714e12f464204c15b038410579ca2b2a213289381581569861ae4a49
41 # -- Controller image tag label
43 # -- Controller image pull policy
45 # -- Number of replicas. Max 1. Can be set to 0 for maintenance scenarios.
47 # -- Controller image pull secret
49 # -- Lifecycle specification for controller-container
57 # -- Disable use of remember me
58 disableRememberMe: false
59 # -- Set Number of executors
61 # -- Sets the executor mode of the Jenkins node. Possible values are "NORMAL" or "EXCLUSIVE"
62 executorMode: "NORMAL"
63 # -- Append Jenkins labels to the controller
64 customJenkinsLabels: []
66 # When enabling LDAP or another non-Jenkins identity source, the built-in admin account will no longer exist.
67 # If you disable the non-Jenkins identity store and instead use the Jenkins internal one,
68 # you should revert controller.admin.username to your preferred admin user:
70 # -- Admin username created as a secret if `controller.admin.createSecret` is true
72 # -- Admin password created as a secret if `controller.admin.createSecret` is true
73 # @default -- <random password>
75 # -- The key in the existing admin secret containing the username
76 userKey: jenkins-admin-user
77 # -- The key in the existing admin secret containing the password
78 passwordKey: jenkins-admin-password
79 # The default configuration uses this secret to configure an admin user
80 # If you don't need that user or use a different security realm, then you can disable it
81 # -- Create secret for admin user
83 # -- The name of an existing secret containing the admin credentials
85 # -- Email address for the administrator of the Jenkins instance
87 # This value should not be changed unless you use your custom image of jenkins or any derived from.
88 # If you want to use Cloudbees Jenkins Distribution docker, you should set jenkinsHome: "/var/cloudbees-jenkins-distribution"
89 # -- Custom Jenkins home path
90 jenkinsHome: "/var/jenkins_home"
91 # This value should not be changed unless you use your custom image of jenkins or any derived from.
92 # If you want to use Cloudbees Jenkins Distribution docker, you should set jenkinsRef: "/usr/share/cloudbees-jenkins-distribution/ref"
93 # -- Custom Jenkins reference path
94 jenkinsRef: "/usr/share/jenkins/ref"
95 # Path to the jenkins war file which is used by jenkins-plugin-cli.
96 jenkinsWar: "/usr/share/jenkins/jenkins.war"
97 # Override the default arguments passed to the war
101 # -- Resource allocation (Requests and Limits)
109 # Share process namespace to allow sidecar containers to interact with processes in other containers in the same pod
110 shareProcessNamespace: false
111 # Service links might cause issue if running in a namespace with a large amount of services
112 # that might cause a slow startup when plugins are copied from ref to volume
113 # Set to true to keep previous behavior
114 # See https://github.com/kubernetes/kubernetes/issues/121787
115 enableServiceLinks: false
116 # Overrides the init container default values
117 # -- Resources allocation (Requests and Limits) for Init Container
118 initContainerResources: {}
119 # initContainerResources:
126 # -- Environment variable sources for Init Container
127 initContainerEnvFrom: []
128 # useful for i.e., http_proxy
129 # -- Environment variables for Init Container
133 # value: "http://192.168.64.1:3128"
135 # -- Environment variable sources for Jenkins Container
137 # -- Environment variables for Jenkins Container
140 # value: "http://192.168.64.1:3128"
142 # Set min/max heap here if needed with "-Xms512m -Xmx512m"
143 # -- Append to `JAVA_OPTS` env var
145 # -- Append to `JENKINS_OPTS` env var
147 # If you are using the ingress definitions provided by this chart via the `controller.ingress` block,
148 # the configured hostname will be the ingress hostname starting with `https://`
149 # or `http://` depending on the `tls` configuration.
150 # The Protocol can be overwritten by specifying `controller.jenkinsUrlProtocol`.
151 # -- Set protocol for Jenkins URL; `https` if `controller.ingress.tls`, `http` otherwise
153 # -- Set Jenkins URL if you are not using the ingress definitions provided by the chart
155 # If you set this prefix and use ingress controller, then you might want to set the ingress path below
157 # -- Root URI Jenkins will be served on
159 # -- Enable pod security context (must be `true` if podSecurityContextOverride, runAsUser or fsGroup are set)
160 usePodSecurityContext: true
161 # Note that `runAsUser`, `fsGroup`, and `securityContextCapabilities` are
162 # being deprecated and replaced by `podSecurityContextOverride`.
163 # Set runAsUser to 1000 to let Jenkins run as non-root user 'jenkins', which exists in 'jenkins/jenkins' docker image.
164 # When configuring runAsUser to a different value than 0 also set fsGroup to the same value:
165 # -- Deprecated in favor of `controller.podSecurityContextOverride`. uid that jenkins runs with.
167 # -- Deprecated in favor of `controller.podSecurityContextOverride`. uid that will be used for persistent volume.
169 # -- Deprecated in favor of `controller.podSecurityContextOverride`. fsGroupChangePolicy for the pod security context
170 fsGroupChangePolicy: OnRootMismatch
171 # If you have PodSecurityPolicies that require dropping of capabilities as suggested by CIS K8s benchmark, put them here
172 # securityContextCapabilities:
175 securityContextCapabilities: {}
176 # In the case of mounting an ext4 filesystem, it might be desirable to use `supplementalGroups` instead of `fsGroup` in
177 # the `securityContext` block: https://github.com/kubernetes/kubernetes/issues/67014#issuecomment-589915496
178 # podSecurityContextOverride:
181 # supplementalGroups: [1000]
183 # -- Completely overwrites the contents of the pod security context, ignoring the values provided for `runAsUser`, `fsGroup`, and `securityContextCapabilities`
184 podSecurityContextOverride: ~
185 # -- Allow controlling the securityContext for the jenkins container
186 containerSecurityContext:
189 readOnlyRootFilesystem: true
190 allowPrivilegeEscalation: false
191 # -- enable or disable the controller k8s service
193 # For minikube, set this to NodePort, elsewhere uses LoadBalancer
194 # Use ClusterIP if your setup includes ingress controller
195 # -- k8s service type
196 serviceType: ClusterIP
197 # -- k8s service clusterIP. Only used if serviceType is ClusterIP
199 # -- k8s service port
203 # -- k8s node port. Only used if serviceType is NodePort
205 # Use Local to preserve the client source IP and avoids a second hop for LoadBalancer and NodePort type services,
206 # but risks potentially imbalanced traffic spreading.
207 serviceExternalTrafficPolicy:
208 # If enabled, the controller is available through its service before its pods reports ready. Makes startup screen and
209 # auto-reload on restart feature possible.
210 publishNotReadyAddresses:
211 # -- Jenkins controller service annotations
212 serviceAnnotations: {}
213 # -- Jenkins controller custom labels for the StatefulSet
214 statefulSetLabels: {}
217 # -- Labels for the Jenkins controller-service
219 # service.beta.kubernetes.io/aws-load-balancer-backend-protocol: https
221 # Put labels on Jenkins controller pod
222 # -- Custom Pod labels (an object with `label-key: label-value` pairs)
224 # Enable Kubernetes Startup, Liveness and Readiness Probes
225 # if Startup Probe is supported, enable it too
226 # ~ 2 minutes to allow Jenkins to restart when upgrading plugins. Set ReadinessTimeout to be shorter than LivenessTimeout.
227 # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes
228 # -- Enable Kubernetes Probes configuration configured in `controller.probes`
232 # -- Set the failure threshold for the startup probe
235 # -- Set the Pod's HTTP path for the startup probe
236 path: '{{ default "" .Values.controller.jenkinsUriPrefix }}/login'
237 # -- Set the Pod's HTTP port to use for the startup probe
239 # -- Set the time interval between two startup probes executions in seconds
241 # -- Set the timeout for the startup probe in seconds
244 # -- Set the failure threshold for the liveness probe
247 # -- Set the Pod's HTTP path for the liveness probe
248 path: '{{ default "" .Values.controller.jenkinsUriPrefix }}/login'
249 # -- Set the Pod's HTTP port to use for the liveness probe
251 # -- Set the time interval between two liveness probes executions in seconds
253 # -- Set the timeout for the liveness probe in seconds
255 # If Startup Probe is not supported on your Kubernetes cluster, you might want to use "initialDelaySeconds" instead.
256 # It delays the initial liveness probe while Jenkins is starting
257 # -- Set the initial delay for the liveness probe in seconds
260 # -- Set the failure threshold for the readiness probe
263 # -- Set the Pod's HTTP path for the liveness probe
264 path: '{{ default "" .Values.controller.jenkinsUriPrefix }}/login'
265 # -- Set the Pod's HTTP port to use for the readiness probe
267 # -- Set the time interval between two readiness probes executions in seconds
269 # -- Set the timeout for the readiness probe in seconds
271 # If Startup Probe is not supported on your Kubernetes cluster, you might want to use "initialDelaySeconds" instead.
272 # It delays the initial readiness probe while Jenkins is starting
273 # -- Set the initial delay for the readiness probe in seconds
275 # PodDisruptionBudget config
277 # ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
279 # -- Enable Kubernetes Pod Disruption Budget configuration
281 # For Kubernetes v1.5+, use 'policy/v1beta1'
282 # For Kubernetes v1.21+, use 'policy/v1'
283 # -- Policy API version
284 apiVersion: "policy/v1beta1"
287 # -- Number of pods that can be unavailable. Either an absolute number or a percentage
289 # -- Create Agent listener service
290 agentListenerEnabled: true
291 # -- Listening port for agents
292 agentListenerPort: 50000
293 # -- Host port to listen for agents
294 agentListenerHostPort:
295 # -- Node port to listen for agents
296 agentListenerNodePort:
297 # ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies
298 # -- Traffic Policy of for the agentListener service
299 agentListenerExternalTrafficPolicy:
300 # -- Allowed inbound IP for the agentListener service
301 agentListenerLoadBalancerSourceRanges:
303 # -- Disabled agent protocols
304 disabledAgentProtocols:
309 # -- Enable the default CSRF Crumb issuer
311 # -- Enable proxy compatibility. This setting is ignored if you are not on the current LTS release and will be dropped with the next LTS.
312 proxyCompatability: true
313 # Kubernetes service type for the JNLP agent service
314 # agentListenerServiceType is the Kubernetes Service type for the JNLP agent service,
315 # either 'LoadBalancer', 'NodePort', or 'ClusterIP'
316 # Note if you set this to 'LoadBalancer', you *must* define annotations to secure it. By default,
317 # this will be an external load balancer and allowing inbound 0.0.0.0/0, a HUGE
318 # security risk: https://github.com/kubernetes/charts/issues/1341
319 # -- Defines how to expose the agentListener service
320 agentListenerServiceType: "ClusterIP"
321 # -- Annotations for the agentListener service
322 agentListenerServiceAnnotations: {}
323 # Optionally, assign an IP to the LoadBalancer agentListenerService LoadBalancer
324 # GKE users: only regional static IPs will work for Service Load balancer.
325 # -- Static IP for the agentListener LoadBalancer
326 agentListenerLoadBalancerIP:
327 # -- Whether legacy remoting security should be enabled
328 legacyRemotingSecurityEnabled: false
329 # Example of a 'LoadBalancer'-type agent listener with annotations securing it
330 # agentListenerServiceType: LoadBalancer
331 # agentListenerServiceAnnotations:
332 # service.beta.kubernetes.io/aws-load-balancer-internal: "True"
333 # service.beta.kubernetes.io/load-balancer-source-ranges: "172.0.0.0/8, 10.0.0.0/8"
335 # LoadBalancerSourcesRange is a list of allowed CIDR values, which are combined with ServicePort to
336 # set allowed inbound rules on the security group assigned to the controller load balancer
337 # -- Allowed inbound IP addresses
338 loadBalancerSourceRanges:
340 # -- Optionally assign a known public LB IP
342 # Optionally configure a JMX port. This requires additional javaOpts, for example,
344 # -Dcom.sun.management.jmxremote.port=4000
345 # -Dcom.sun.management.jmxremote.authenticate=false
346 # -Dcom.sun.management.jmxremote.ssl=false
348 # -- Open a port, for JMX stats
350 # -- Optionally configure other ports to expose in the controller container
352 # - name: BuildInfoProxy
354 # targetPort: 9010 (Optional: Use to explicitly set targetPort if different from port)
356 # Plugins will be installed during Jenkins controller start
357 # -- List of Jenkins plugins to install. If you don't want to install plugins, set it to `false`
359 - kubernetes:4540.v612369217f87
360 - workflow-aggregator:608.v67378e9d3db_1
362 - configuration-as-code:2121.v86fe99d4b_b_a_b_
363 # If set to false, Jenkins will download the minimum required version of all dependencies.
364 # -- Download the minimum required version or latest version of all dependencies
365 installLatestPlugins: true
366 # -- Set to true to download the latest version of any plugin that is requested to have the latest version
367 installLatestSpecifiedPlugins: false
368 # -- List of plugins to install in addition to those listed in controller.installPlugins
369 additionalPlugins: []
370 # Without this; whenever the controller gets restarted (Evicted, etc.) it will fetch plugin updates that have the potential to cause breakage.
371 # Note that for this to work, `persistence.enabled` needs to be set to `true`
372 # -- Initialize only on first installation. Ensures plugins do not get updated inadvertently. Requires `persistence.enabled` to be set to `true`
373 initializeOnce: false
374 # Enable to always override the installed plugins with the values of 'controller.installPlugins' on upgrade or redeployment.
375 # -- Overwrite installed plugins on start
376 overwritePlugins: false
377 # Configures if plugins bundled with `controller.image` should be overwritten with the values of 'controller.installPlugins' on upgrade or redeployment.
378 # -- Overwrite plugins that are already installed in the controller image
379 overwritePluginsFromImage: true
380 # Configures the restrictions for naming projects. Set this key to null or empty to skip it in the default config.
381 projectNamingStrategy: standard
382 # Useful with ghprb plugin. The OWASP plugin is not installed by default, please update controller.installPlugins.
383 # -- Enable HTML parsing using OWASP Markup Formatter Plugin (antisamy-markup-formatter)
384 enableRawHtmlMarkupFormatter: false
385 # This is ignored if enableRawHtmlMarkupFormatter is true
386 # -- Yaml of the markup formatter to use
387 markupFormatter: plainText
388 # Used to approve a list of groovy functions in pipelines used the script-security plugin. Can be viewed under /scriptApproval
389 # -- List of groovy functions to approve
391 # - "method groovy.json.JsonSlurperClassic parseText java.lang.String"
392 # - "new groovy.json.JsonSlurperClassic"
394 # -- Map of groovy init scripts to be executed during Jenkins controller start
397 # print 'adding global pipeline libraries, register properties, bootstrap jobs...'
398 # -- Name of the existing ConfigMap that contains init scripts
400 # 'name' is a name of an existing secret in the same namespace as jenkins,
401 # 'keyName' is the name of one of the keys inside the current secret.
402 # the 'name' and 'keyName' are concatenated with a '-' in between, so for example:
403 # an existing secret "secret-credentials" and a key inside it named "github-password" should be used in JCasC as ${secret-credentials-github-password}
404 # 'name' and 'keyName' must be lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-',
405 # and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc')
406 # existingSecret existing secret "secret-credentials" and a key inside it named "github-username" should be used in JCasC as ${github-username}
407 # When using existingSecret no need to specify the keyName under additionalExistingSecrets.
409 # -- List of additional existing secrets to mount
410 additionalExistingSecrets: []
411 # ref: https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/features/secrets.adoc#kubernetes-secrets
412 # additionalExistingSecrets:
413 # - name: secret-name-1
415 # - name: secret-name-1
418 # -- List of additional secrets to create and mount
419 additionalSecrets: []
420 # ref: https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/features/secrets.adoc#kubernetes-secrets
422 # - name: nameOfSecret
425 # Generate SecretClaim resources to create Kubernetes secrets from HashiCorp Vault using kube-vault-controller.
426 # 'name' is the name of the secret that will be created in Kubernetes. The Jenkins fullname is prepended to this value.
427 # 'path' is the fully qualified path to the secret in Vault
428 # 'type' is an optional Kubernetes secret type. The default is 'Opaque'
429 # 'renew' is an optional secret renewal time in seconds
430 # -- List of `SecretClaim` resources to create
432 # - name: secretName # required
433 # path: testPath # required
434 # type: kubernetes.io/tls # optional
435 # renew: 60 # optional
437 # -- Name of default cloud configuration.
438 cloudName: "kubernetes"
439 # Below is the implementation of Jenkins Configuration as Code. Add a key under configScripts for each configuration area,
440 # where each corresponds to a plugin or section of the UI. Each key (prior to | character) is just a label, and can be any value.
441 # Keys are only used to give the section a meaningful name. The only restriction is they may only contain RFC 1123 \ DNS label
442 # characters: lowercase letters, numbers, and hyphens. The keys become the name of a configuration yaml file on the controller in
443 # /var/jenkins_home/casc_configs (by default) and will be processed by the Configuration as Code Plugin. The lines after each |
444 # become the content of the configuration yaml file. The first line after this is a JCasC root element, e.g., jenkins, credentials,
445 # etc. Best reference is https://<jenkins_url>/configuration-as-code/reference. The example below creates a welcome message:
447 # -- Enables default Jenkins configuration via configuration as code plugin
449 # If true, the init container deletes all the plugin config files and Jenkins Config as Code overwrites any existing configuration
450 # -- Whether Jenkins Config as Code should overwrite any existing configuration
451 overwriteConfiguration: false
452 # -- Remote URLs for configuration files.
454 # - https://acme.org/jenkins.yaml
455 # -- List of Jenkins Config as Code scripts
459 # systemMessage: Welcome to our CI\CD server. This Jenkins is configured and managed 'as code'.
461 # Allows adding to the top-level security JCasC section. For legacy purposes, by default, the chart includes apiToken configurations
462 # -- Jenkins Config as Code security-section
465 creationOfLegacyTokenEnabled: false
466 tokenGenerationOnCreationEnabled: false
467 usageStatisticsEnabled: true
468 # Ignored if securityRealm is defined in controller.JCasC.configScripts
469 # -- Jenkins Config as Code Security Realm-section
475 - id: "${chart-admin-username}"
476 name: "Jenkins Admin"
477 password: "${chart-admin-password}"
478 # Ignored if authorizationStrategy is defined in controller.JCasC.configScripts
479 # -- Jenkins Config as Code Authorization Strategy-section
480 authorizationStrategy: |-
481 loggedInUsersCanDoAnything:
482 allowAnonymousRead: false
483 # -- Annotations for the JCasC ConfigMap
484 configMapAnnotations: {}
485 # -- Custom init-container specification in raw-yaml format
486 customInitContainers: []
487 # - name: custom-init
489 # imagePullPolicy: Always
490 # command: [ "uname", "-a" ]
494 # If enabled: true, Jenkins Configuration as Code will be reloaded on-the-fly without a reboot.
495 # If false or not-specified, JCasC changes will cause a reboot and will only be applied at the subsequent start-up.
496 # Auto-reload uses the http://<jenkins_url>/reload-configuration-as-code endpoint to reapply config when changes to
497 # the configScripts are detected.
498 # -- Enable Jenkins Config as Code auto-reload
501 # -- Registry for the image that triggers the reload
503 # -- Repository of the image that triggers the reload
504 repository: scratch-images/test-tmp/k8s-sidecar
505 # -- Tag for the image that triggers the reload
506 tag: 2.11.2-r0@sha256:46642034de7c0b26d01c2d4e5bc481c45645f854eacdb65a45a467a035399351
507 imagePullPolicy: IfNotPresent
508 # -- Port for sidecar health probes
517 # -- Enables additional volume mounts for the config auto-reload container
518 additionalVolumeMounts: []
519 # - name: auto-reload-config
520 # mountPath: /var/config/logger
521 # - name: auto-reload-logs
522 # mountPath: /var/log/auto_reload
523 # -- Config auto-reload logging settings
525 # See default settings https://github.com/kiwigrid/k8s-sidecar/blob/master/src/logger.py
527 # -- Enables custom log config utilizing using the settings below.
535 # -- The scheme to use when connecting to the Jenkins configuration as code endpoint
537 # -- Skip TLS verification when connecting to the Jenkins configuration as code endpoint
539 # -- How many connection-related errors to retry on
541 # -- How many seconds to wait before updating config-maps/secrets (sets METHOD=SLEEP on the sidecar)
543 # -- Environment variable sources for the Jenkins Config as Code auto-reload container
545 # -- Environment variables for the Jenkins Config as Code auto-reload container
547 # - name: REQ_TIMEOUT
550 # SSH port value can be set to any unused TCP port. The default, 1044, is a non-standard SSH port that has been chosen at random.
551 # This is only used to reload JCasC config from the sidecar container running in the Jenkins controller pod.
552 # This TCP port will not be open in the pod (unless you specifically configure this), so Jenkins will not be
553 # accessible via SSH from outside the pod. Note if you use non-root pod privileges (runAsUser & fsGroup),
554 # this must be > 1024:
556 # folder in the pod that should hold the collected dashboards:
557 folder: "/var/jenkins_home/casc_configs"
558 # If specified, the sidecar will search for JCasC config-maps inside this namespace.
559 # Otherwise, the namespace in which the sidecar is running will be used.
560 # It's also possible to specify ALL to search in all namespaces:
562 # -- Enable container security context
563 containerSecurityContext:
564 readOnlyRootFilesystem: true
565 allowPrivilegeEscalation: false
566 # -- Configures additional sidecar container(s) for the Jenkins controller
567 additionalSidecarContainers: []
568 ## The example below runs the client for https://smee.io as sidecar container next to Jenkins,
569 ## that allows triggering build behind a secure firewall.
570 ## https://jenkins.io/blog/2019/01/07/webhook-firewalls/#triggering-builds-with-webhooks-behind-a-secure-firewall
572 ## Note: To use it you should go to https://smee.io/new and update the url to the generated one.
574 # image: docker.io/twalter/smee-client:1.0.2
575 # args: ["--port", "{{ .Values.controller.servicePort }}", "--path", "/github-webhook/", "--url", "https://smee.io/new"]
583 # -- Name of the Kubernetes scheduler to use
585 # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
586 # -- Node labels for pod assignment
588 # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
589 # -- Toleration labels for pod assignment
591 # -- Set TerminationGracePeriodSeconds
592 terminationGracePeriodSeconds:
593 # -- Set the termination message path
594 terminationMessagePath:
595 # -- Set the termination message policy
596 terminationMessagePolicy:
597 # -- Affinity settings
599 # Leverage a priorityClass to ensure your pods survive resource shortages
600 # ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
601 # -- The name of a `priorityClass` to apply to the controller pod
603 # -- Annotations for controller pod
605 # -- Annotations for controller StatefulSet
606 statefulSetAnnotations: {}
607 # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
608 # -- Update strategy for StatefulSet
610 # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#managing-revision-history
611 # -- Maximum number of revisions that will be maintained in the StatefulSet's revision history
612 revisionHistoryLimit:
613 # -- Topology spread constraints
614 topologySpreadConstraints: []
615 # -- DNS config for the pod
618 # -- Enables the Primary ingress
620 # Override for the default paths that map requests to the backend
621 # -- Override for the default Primary Ingress paths
624 # serviceName: ssl-redirect
625 # servicePort: use-annotation
628 # {{ template "jenkins.fullname" . }}
629 # # Don't use string here, use only integer value!
632 # -- Primary Ingress rule pathType, choices are: Exact, ImplementationSpecific, Prefix
633 pathType: ImplementationSpecific
634 # For Kubernetes v1.14+, use 'networking.k8s.io/v1beta1'
635 # For Kubernetes v1.19+, use 'networking.k8s.io/v1'
636 # -- Primary Ingress API version
637 apiVersion: "networking.k8s.io/v1"
638 # -- Primary Ingress labels
640 # -- Primary Ingress annotations
642 # kubernetes.io/ingress.class: nginx
643 # kubernetes.io/tls-acme: "true"
644 # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
645 # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
646 # ingressClassName: nginx
647 # -- Primary Ingress ingressClassName
649 # Set this path to jenkinsUriPrefix above or use annotations to rewrite path
650 # -- Primary Ingress path
652 # configures the hostname e.g. jenkins.example.com
653 # -- Primary Ingress hostname
655 # -- Primary Hostname to serve assets from
657 # -- Primary Ingress TLS configuration
659 # - secretName: jenkins.cluster.local
661 # - jenkins.cluster.local
662 # often you want to have your controller all locked down and private,
663 # but you still want to get webhooks from your SCM
664 # A secondary ingress will let you expose different urls
665 # with a different configuration
667 # -- Enables the Secondary Ingress
669 # paths you want forwarded to the backend
671 # -- Secondary Ingress paths
673 # -- Secondary Ingress rule pathType, choices are: Exact, ImplementationSpecific, Prefix
674 pathType: ImplementationSpecific
675 # For Kubernetes v1.14+, use 'networking.k8s.io/v1beta1'
676 # For Kubernetes v1.19+, use 'networking.k8s.io/v1'
677 # -- Secondary Ingress API version
678 apiVersion: "networking.k8s.io/v1"
679 # -- Secondary Ingress labels
681 # -- Secondary Ingress annotations
683 # kubernetes.io/ingress.class: nginx
684 # kubernetes.io/tls-acme: "true"
685 # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
686 # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
687 # -- Secondary Ingress ingressClassName
689 # configures the hostname e.g., jenkins-external.example.com
690 # -- Secondary Ingress hostname
692 # -- Secondary Ingress TLS configuration
694 # - secretName: jenkins-external.example.com
696 # - jenkins-external.example.com
697 # If you're running on GKE and need to configure a backendconfig
698 # to finish ingress setup, use the following values.
699 # Docs: https://cloud.google.com/kubernetes-engine/docs/concepts/backendconfig
701 # -- Enables backendconfig
703 # -- backendconfig API version
704 apiVersion: "extensions/v1beta1"
705 # -- backendconfig name
707 # -- backendconfig labels
709 # -- backendconfig annotations
711 # -- backendconfig spec
715 # -- Enables openshift route
719 # -- Route annotations
723 # Gateway API HTTPRoute
725 # Toggle to create an HTTPRoute resource alongside the existing ingress definition
727 apiVersion: "gateway.networking.k8s.io/v1"
729 # specify the Gateway instance to bind the HTTPRoute to.
731 # - name: envoy-gateway-bundle
732 # namespace: envoy-gateway-system
733 # Reuse ingress host information if true; set to false to manage hostnames below
734 reuseIngressConfiguration: false
735 # Hostnames to use for the http route, only used if reuseIngressConfiguration is false.
737 # Extra HTTPRoute rules that will be appended before the default backend
739 # -- HTTPRoute annotations
741 # -- Allows for adding entries to Pod /etc/hosts
743 # ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
745 # - ip: 192.168.50.50
752 # Expose Prometheus metrics
754 # If enabled, add the prometheus plugin to the list of plugins to install
755 # https://plugins.jenkins.io/prometheus
757 # -- Enables prometheus service monitor
759 # -- Additional labels to add to the service monitor object
760 serviceMonitorAdditionalLabels: {}
761 # -- Set a custom namespace where to deploy ServiceMonitor resource
762 serviceMonitorNamespace:
763 # -- How often prometheus should scrape metrics
765 # Defaults to the default endpoint used by the prometheus plugin
766 # -- The endpoint prometheus should get metrics from
767 scrapeEndpoint: /prometheus
768 # See here: https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
769 # The `groups` root object is added by default, add the rule entries
770 # -- Array of prometheus alerting rules
772 # -- Additional labels to add to the PrometheusRule object
773 alertingRulesAdditionalLabels: {}
774 # -- Set a custom namespace where to deploy PrometheusRule resource
775 prometheusRuleNamespace: ""
776 # RelabelConfigs to apply to samples before scraping. Prometheus Operator automatically adds
777 # relabelings for a few standard Kubernetes fields. The original scrape job’s name
778 # is available via the __tmp_prometheus_job_name label.
779 # More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
781 # MetricRelabelConfigs to apply to samples before ingestion.
782 metricRelabelings: []
784 # If enabled, It creates Google Managed Prometheus scraping config
786 # Set a custom namespace where to deploy PodMonitoring resource
787 # serviceMonitorNamespace: ""
789 # This is the default endpoint used by the prometheus plugin
790 scrapeEndpoint: /prometheus
791 # -- Can be used to disable rendering controller test resources when using helm template
794 # -- Enables HTTPS keystore on jenkins controller
796 # -- Name of the secret that already has SSL keystore
797 jenkinsHttpsJksSecretName: ""
798 # -- Name of the key in the secret that already has SSL keystore
799 jenkinsHttpsJksSecretKey: "jenkins-jks-file"
800 # -- Name of the secret that contains the JKS password, if it is not in the same secret as the JKS file
801 jenkinsHttpsJksPasswordSecretName: ""
802 # -- Name of the key in the secret that contains the JKS password
803 jenkinsHttpsJksPasswordSecretKey: "https-jks-password"
804 disableSecretMount: false
805 # When HTTPS keystore is enabled, servicePort and targetPort will be used as HTTPS port
806 # -- HTTP Port that Jenkins should listen to along with HTTPS, it also serves as the liveness and readiness probes port.
808 # -- Path of HTTPS keystore file
809 path: "/var/jenkins_keystore"
810 # -- Jenkins keystore filename which will appear under controller.httpsKeyStore.path
811 fileName: "keystore.jks"
812 # -- Jenkins keystore password
814 # -- Base64 encoded Keystore content. Keystore must be converted to base64 then being pasted here
815 jenkinsKeyStoreBase64Encoded:
816 # Convert keystore.jks files content to base64 > $ cat keystore.jks | base64
817# /u3+7QAAAAIAAAABAAAAAQANamVua2luc2NpLmNvbQAAAW2r/b1ZAAAFATCCBP0wDgYKKwYBBAEq
818# AhEBAQUABIIE6QbCqasvoHS0pSwYqSvdydMCB9t+VNfwhFIiiuAelJfO5sSe2SebJbtwHgLcRz1Z
819# gMtWgOSFdl3bWSzA7vrW2LED52h+jXLYSWvZzuDuh8hYO85m10ikF6QR+dTi4jra0whIFDvq3pxe
820# TnESxEsN+DvbZM3jA3qsjQJSeISNpDjO099dqQvHpnCn18lyk7J4TWJ8sOQQb1EM2zDAfAOSqA/x
821# QuPEFl74DlY+5DIk6EBvpmWhaMSvXzWZACGA0sYqa157dq7O0AqmuLG/EI5EkHETO4CrtBW+yLcy
822# 2dUCXOMA+j+NjM1BjrQkYE5vtSfNO6lFZcISyKo5pTFlcA7ut0Fx2nZ8GhHTn32CpeWwNcZBn1gR
823# pZVt6DxVVkhTAkMLhR4rL2wGIi/1WRs23ZOLGKtyDNvDHnQyDiQEoJGy9nAthA8aNHa3cfdF10vB
824# Drb19vtpFHmpvKEEhpk2EBRF4fTi644Fuhu2Ied6118AlaPvEea+n6G4vBz+8RWuVCmZjLU+7h8l
825# Hy3/WdUPoIL5eW7Kz+hS+sRTFzfu9C48dMkQH3a6f3wSY+mufizNF9U298r98TnYy+PfDJK0bstG
826# Ph6yPWx8DGXKQBwrhWJWXI6JwZDeC5Ny+l8p1SypTmAjpIaSW3ge+KgcL6Wtt1R5hUV1ajVwVSUi
827# HF/FachKqPqyLJFZTGjNrxnmNYpt8P1d5JTvJfmfr55Su/P9n7kcyWp7zMcb2Q5nlXt4tWogOHLI
828# OzEWKCacbFfVHE+PpdrcvCVZMDzFogIq5EqGTOZe2poPpBVE+1y9mf5+TXBegy5HToLWvmfmJNTO
829# NCDuBjgLs2tdw2yMPm4YEr57PnMX5gGTC3f2ZihXCIJDCRCdQ9sVBOjIQbOCzxFXkVITo0BAZhCi
830# Yz61wt3Ud8e//zhXWCkCsSV+IZCxxPzhEFd+RFVjW0Nm9hsb2FgAhkXCjsGROgoleYgaZJWvQaAg
831# UyBzMmKDPKTllBHyE3Gy1ehBNGPgEBChf17/9M+j8pcm1OmlM434ctWQ4qW7RU56//yq1soFY0Te
832# fu2ei03a6m68fYuW6s7XEEK58QisJWRAvEbpwu/eyqfs7PsQ+zSgJHyk2rO95IxdMtEESb2GRuoi
833# Bs+AHNdYFTAi+GBWw9dvEgqQ0Mpv0//6bBE/Fb4d7b7f56uUNnnE7mFnjGmGQN+MvC62pfwfvJTT
834# EkT1iZ9kjM9FprTFWXT4UmO3XTvesGeE50sV9YPm71X4DCQwc4KE8vyuwj0s6oMNAUACW2ClU9QQ
835# y0tRpaF1tzs4N42Q5zl0TzWxbCCjAtC3u6xf+c8MCGrr7DzNhm42LOQiHTa4MwX4x96q7235oiAU
836# iQqSI/hyF5yLpWw4etyUvsx2/0/0wkuTU1FozbLoCWJEWcPS7QadMrRRISxHf0YobIeQyz34regl
837# t1qSQ3dCU9D6AHLgX6kqllx4X0fnFq7LtfN7fA2itW26v+kAT2QFZ3qZhINGfofCja/pITC1uNAZ
838# gsJaTMcQ600krj/ynoxnjT+n1gmeqThac6/Mi3YlVeRtaxI2InL82ZuD+w/dfY9OpPssQjy3xiQa
839# jPuaMWXRxz/sS9syOoGVH7XBwKrWpQcpchozWJt40QV5DslJkclcr8aC2AGlzuJMTdEgz1eqV0+H
840# bAXG9HRHN/0eJTn1/QAAAAEABVguNTA5AAADjzCCA4swggJzAhRGqVxH4HTLYPGO4rzHcCPeGDKn
841# xTANBgkqhkiG9w0BAQsFADCBgTELMAkGA1UEBhMCY2ExEDAOBgNVBAgMB29udGFyaW8xEDAOBgNV
842# BAcMB3Rvcm9udG8xFDASBgNVBAoMC2plbmtpbnN0ZXN0MRkwFwYDVQQDDBBqZW5raW5zdGVzdC5p
843# bmZvMR0wGwYJKoZIhvcNAQkBFg50ZXN0QHRlc3QuaW5mbzAeFw0xOTEwMDgxNTI5NTVaFw0xOTEx
844# MDcxNTI5NTVaMIGBMQswCQYDVQQGEwJjYTEQMA4GA1UECAwHb250YXJpbzEQMA4GA1UEBwwHdG9y
845# b250bzEUMBIGA1UECgwLamVua2luc3Rlc3QxGTAXBgNVBAMMEGplbmtpbnN0ZXN0LmluZm8xHTAb
846# BgkqhkiG9w0BCQEWDnRlc3RAdGVzdC5pbmZvMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
847# AQEA02q352JTHGvROMBhSHvSv+vnoOTDKSTz2aLQn0tYrIRqRo+8bfmMjXuhkwZPSnCpvUGNAJ+w
848# Jrt/dqMoYUjCBkjylD/qHmnXN5EwS1cMg1Djh65gi5JJLFJ7eNcoSsr/0AJ+TweIal1jJSP3t3PF
849# 9Uv21gm6xdm7HnNK66WpUUXLDTKaIs/jtagVY1bLOo9oEVeLN4nT2CYWztpMvdCyEDUzgEdDbmrP
850# F5nKUPK5hrFqo1Dc5rUI4ZshL3Lpv398aMxv6n2adQvuL++URMEbXXBhxOrT6rCtYzbcR5fkwS9i
851# d3Br45CoWOQro02JAepoU0MQKY5+xQ4Bq9Q7tB9BAwIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAe
852# 4xc+mSvKkrKBHg9/zpkWgZUiOp4ENJCi8H4tea/PCM439v6y/kfjT/okOokFvX8N5aa1OSz2Vsrl
853# m8kjIc6hiA7bKzT6lb0EyjUShFFZ5jmGVP4S7/hviDvgB5yEQxOPpumkdRP513YnEGj/o9Pazi5h
854# /MwpRxxazoda9r45kqQpyG+XoM4pB+Fd3JzMc4FUGxfVPxJU4jLawnJJiZ3vqiSyaB0YyUL+Er1Q
855# 6NnqtR4gEBF0ZVlQmkycFvD4EC2boP943dLqNUvop+4R3SM1QMM6P5u8iTXtHd/VN4MwMyy1wtog
856# hYAzODo1Jt59pcqqKJEas0C/lFJEB3frw4ImNx5fNlJYOpx+ijfQs9m39CevDq0=
859 # -- Add the environment proxy settings form jenkins controller to the agents.
860 addMasterProxyEnvVars: false
861 # -- Enable Kubernetes plugin jnlp-agent podTemplate
863 # -- The name of the pod template to use for providing default values
864 defaultsProviderTemplate: ""
865 # Useful for not including a serviceAccount in the template if `false`
866 # -- Use `serviceAccountAgent.name` as the default value for defaults template `serviceAccount`
867 useDefaultServiceAccount: true
868 # -- Override the default service account
869 # @default -- `serviceAccountAgent.name` if `agent.useDefaultServiceAccount` is `true`
871 # For connecting to the Jenkins controller
872 # -- Overrides the Kubernetes Jenkins URL
874 # connects to the specified host and port, instead of connecting directly to the Jenkins controller
875 # -- Overrides the Kubernetes Jenkins tunnel
877 # -- Disables the verification of the controller certificate on remote connection. This flag correspond to the "Disable https certificate check" flag in kubernetes plugin UI
879 # -- Enable the possibility to restrict the usage of this agent to specific folder. This flag correspond to the "Restrict pipeline support to authorized folders" flag in kubernetes plugin UI
880 usageRestricted: false
881 # -- The connection timeout in seconds for connections to Kubernetes API. The minimum value is 5
882 kubernetesConnectTimeout: 5
883 # -- The read timeout in seconds for connections to Kubernetes API. The minimum value is 15
884 kubernetesReadTimeout: 15
885 # -- The maximum concurrent connections to Kubernetes API
886 maxRequestsPerHostStr: "32"
887 # -- Time in minutes after which the Kubernetes cloud plugin will clean up an idle worker that has not already terminated
889 # -- Seconds to wait for pod to be running
891 # -- Namespace in which the Kubernetes agents should be launched
893 # -- Custom Pod labels (an object with `label-key: label-value` pairs)
895 # -- Custom registry used to pull the agent jnlp image from
898 # -- Registry to pull the agent jnlp image from
900 # -- Repository to pull the agent jnlp image from
901 repository: scratch-images/test-tmp/jenkins-inbound-agent
902 # -- Tag of the image to pull
903 tag: 2.580-r0-jdk21@sha256:41473a541a05229aff56b3cf8a240b384f918f9bc7d0021e705fd5f19645c9df
904 # -- Configure working directory for default agent
905 workingDir: "/home/jenkins/agent"
906 nodeUsageMode: "NORMAL"
907 # -- Append Jenkins labels to the agent
908 customJenkinsLabels: []
909 # -- Name of the secret to be used to pull the image
911 componentName: "jenkins-agent"
912 # -- Enables agent communication via websockets
914 directConnection: false
915 # -- Agent privileged container
917 # -- Configure container user
919 # -- Configure container group
921 # -- Enables the agent to use the host network
922 hostNetworking: false
923 # -- Resources allocation (Requests and Limits)
934 # execArgs: "cat /tmp/healthy"
935 # failureThreshold: 3
936 # initialDelaySeconds: 0
938 # successThreshold: 1
941 # You may want to change this to true while testing a new image
942 # -- Always pull agent container image before build
943 alwaysPullImage: false
944 # When using Pod Security Admission in the Agents namespace with the restricted Pod Security Standard,
945 # the jnlp container cannot be scheduled without overriding its container definition with a securityContext.
946 # This option allows to automatically inject in the jnlp container a securityContext
947 # that is suitable for the use of the restricted Pod Security Standard.
948 # -- Set a restricted securityContext on jnlp containers
949 restrictedPssSecurityContext: false
950 # Controls how agent pods are retained after the Jenkins build completes
951 # Possible values: Always, Never, OnFailure
952 podRetention: "Never"
953 # Disable if you do not want the Yaml the agent pod template to show up
954 # in the job Console Output. This can be helpful for either security reasons
955 # or simply to clean up the output to make it easier to read.
957 # You can define the volumes that you want to mount for this container
958 # Allowed types are: ConfigMap, EmptyDir, EphemeralVolume, HostPath, Nfs, PVC, Secret
959 # Configure the attributes as they appear in the corresponding Java class for that type
960 # https://github.com/jenkinsci/kubernetes-plugin/tree/master/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes
961 # -- Additional volumes
964 # configMapName: myconfigmap
965 # mountPath: /var/myapp/myconfigmap
967 # mountPath: /var/myapp/myemptydir
969 # - type: EphemeralVolume
970 # mountPath: /var/myapp/myephemeralvolume
971 # accessModes: ReadWriteOnce
973 # storageClassName: mystorageclass
975 # hostPath: /var/lib/containers
976 # mountPath: /var/myapp/myhostpath
978 # mountPath: /var/myapp/mynfs
980 # serverAddress: "192.0.2.0"
981 # serverPath: /var/lib/containers
984 # mountPath: /var/myapp/mypvc
988 # mountPath: /var/myapp/mysecret
989 # secretName: mysecret
990 # Pod-wide environment, these vars are visible to any container in the agent pod
992 # You can define the workspaceVolume that you want to mount for this container
993 # Allowed types are: DynamicPVC, EmptyDir, EphemeralVolume, HostPath, Nfs, PVC
994 # Configure the attributes as they appear in the corresponding Java class for that type
995 # https://github.com/jenkinsci/kubernetes-plugin/tree/master/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/workspace
996 # -- Workspace volume (defaults to EmptyDir)
998 ## DynamicPVC example
1000 # configMapName: myconfigmap
1004 ## EphemeralVolume example
1005 # - type: EphemeralVolume
1006 # accessModes: ReadWriteOnce
1007 # requestsSize: 10Gi
1008 # storageClassName: mystorageclass
1011 # hostPath: /var/lib/containers
1015 # serverAddress: "192.0.2.0"
1016 # serverPath: /var/lib/containers
1022 # Pod-wide environment, these vars are visible to any container in the agent pod
1023 # -- Environment variables for the agent Pod
1026 # value: /usr/local/bin
1027 # -- Mount a secret as environment variable
1030 # optional: false # default: false
1031 # secretKey: MY-K8S-PATH
1032 # secretName: my-k8s-secret
1034 # -- Node labels for pod assignment
1036 # Key Value selectors. Ex:
1040 # -- Command to execute when side container starts
1042 # -- Arguments passed to command to execute
1043 args: "${computer.jnlpmac} ${computer.name}"
1044 # -- Side container name
1045 sideContainerName: "jnlp"
1046 # Doesn't allocate pseudo TTY by default
1047 # -- Allocate pseudo tty to the side container
1049 # -- Max number of agents to launch for a whole cluster.
1051 # -- Max number of agents to launch for this type of agent
1052 instanceCap: 2147483647
1053 # -- Agent Pod base name
1055 # Enables garbage collection of orphan pods for this Kubernetes cloud. (beta)
1057 # -- When enabled, Jenkins will periodically check for orphan pods that have not been touched for the given timeout period and delete them.
1059 # -- Namespaces to look at for garbage collection, in addition to the default namespace defined for the cloud. One namespace per line.
1064 # -- Timeout value for orphaned pods
1066 # -- Allows the Pod to remain active for reuse until the configured number of minutes has passed since the last step was executed on it
1068 # The raw yaml of a Pod API Object, for example, this allows usage of toleration for agent pods.
1069 # https://github.com/jenkinsci/kubernetes-plugin#using-yaml-to-define-pod-templates
1070 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1071 # -- The raw yaml of a Pod API Object to merge into the agent spec
1082 # -- Defines how the raw yaml field gets merged with yaml definitions from inherited pod templates. Possible values: "merge" or "override"
1083 yamlMergeStrategy: "override"
1084 # -- Controls whether the defined yaml merge strategy will be inherited if another defined pod template is configured to inherit from the current one
1085 inheritYamlMergeStrategy: false
1086 # -- Timeout in seconds for an agent to be online
1088 # -- Annotations to apply to the pod
1090 # Containers specified here are added to all agents. Set key empty to remove container from additional agents.
1091 # -- Add additional containers to the agents
1092 additionalContainers: []
1093 # - sideContainerName: dind
1095 # repository: docker
1097 # command: dockerd-entrypoint.sh
1108 # Useful when configuring agents only with the podTemplates value, since the default podTemplate populated by values mentioned above will be excluded in the rendered template.
1109 # -- Disable the default Jenkins Agent configuration
1110 disableDefaultAgent: false
1111 # Below is the implementation of custom pod templates for the default configured kubernetes cloud.
1112 # Add a key under podTemplates for each pod template. Each key (prior to | character) is just a label, and can be any value.
1113 # Keys are only used to give the pod template a meaningful name. The only restriction is they may only contain RFC 1123 \ DNS label
1114 # characters: lowercase letters, numbers, and hyphens. Each pod template can contain multiple containers.
1115 # For this pod templates configuration to be loaded, the following values must be set:
1116 # controller.JCasC.defaultConfig: true
1117 # Best reference is https://<jenkins_url>/configuration-as-code/reference#Cloud-kubernetes. The example below creates a python pod template.
1118 # -- Configures extra pod templates for the default kubernetes cloud
1122 # label: jenkins-python
1123 # serviceAccount: jenkins
1127 # command: "/bin/sh -c"
1131 # resourceRequestCpu: "400m"
1132 # resourceRequestMemory: "512Mi"
1133 # resourceLimitCpu: "1"
1134 # resourceLimitMemory: "1024Mi"
1135# Inherits all values from `agent` so you only need to specify values which differ
1136# -- Configure additional
1140# customJenkinsLabels: maven
1141# # An example of overriding the jnlp container
1142# # sideContainerName: jnlp
1144# repository: jenkins/jnlp-agent-maven
1148# customJenkinsLabels: python
1149# sideContainerName: python
1153# command: "/bin/sh -c"
1157# Here you can add additional clouds
1158# They inherit all values from the default cloud (including the main agent), so
1159# you only need to specify values which differ. If you want to override
1160# default additionalAgents with the additionalClouds.additionalAgents set
1161# additionalAgentsOverride to `true`.
1164# kubernetesURL: https://api.remote-cloud.com
1165# additionalAgentsOverride: true
1169# customJenkinsLabels: maven
1170# # An example of overriding the jnlp container
1171# # sideContainerName: jnlp
1173# repository: jenkins/jnlp-agent-maven
1175# namespace: my-other-maven-namespace
1177# kubernetesURL: https://api.remote-cloud.com
1180 # -- Enable the use of a Jenkins PVC
1182 # A manually managed Persistent Volume and Claim
1183 # Requires persistence.enabled: true
1184 # If defined, PVC must be created manually before volume will be bound
1185 # -- Provide the name of a PVC
1187 # jenkins data Persistent Volume Storage Class
1188 # If defined, storageClassName: <storageClass>
1189 # If set to "-", storageClassName: "", which disables dynamic provisioning
1190 # If undefined (the default) or set to null, no storageClassName spec is
1191 # set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS & OpenStack)
1192 # -- Storage class for the PVC
1194 # -- Annotations for the PVC
1196 # -- Labels for the PVC
1198 # -- The PVC access mode
1199 accessMode: "ReadWriteOnce"
1200 # -- The size of the PVC
1202 # ref: https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/
1203 # -- Existing data source to clone PVC from
1206 # kind: PersistentVolumeClaim
1208 # -- SubPath for jenkins-home mount
1210 # -- Additional volumes
1215 # -- Additional mounts
1217 # - mountPath: /var/nothing
1221 # -- Enable the creation of NetworkPolicy resources
1223 # For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
1224 # For Kubernetes v1.7, use 'networking.k8s.io/v1'
1225 # -- NetworkPolicy ApiVersion
1226 apiVersion: networking.k8s.io/v1
1227 # You can allow agents to connect from both within the cluster (from within specific/all namespaces) AND/OR from a given external IP range
1229 # -- Allow internal agents (from the same cluster) to connect to controller. Agent pods will be filtered based on PodLabels
1231 # -- A map of labels (keys/values) that agent pods must have to be able to connect to controller
1233 # -- A map of labels (keys/values) that agents namespaces must have to be able to connect to controller
1235 # project: myproject
1237 # -- The IP range from which external agents are allowed to connect to controller, i.e., 172.17.0.0/16
1239 # -- A list of IP sub-ranges to be excluded from the allowlisted IP range
1242## Install Default RBAC roles and bindings
1244 # -- Whether RBAC resources are created
1246 # -- Whether the Jenkins service account should be able to read Kubernetes secrets
1248 # -- Whether the Jenkins service account should be able to use the OpenShift "nonroot" Security Context Constraints
1249 useOpenShiftNonRootSCC: false
1251 # -- Configures if a ServiceAccount with this name should be created
1253 # The name of the ServiceAccount is autogenerated by default
1254 # -- The name of the ServiceAccount to be used by access-controlled resources
1256 # -- Configures annotations for the ServiceAccount
1258 # -- Configures extra labels for the ServiceAccount
1260 # -- Controller ServiceAccount image pull secret
1261 imagePullSecretName:
1262 # -- Auto-mount ServiceAccount token
1263 automountServiceAccountToken: true
1265 # -- Configures if an agent ServiceAccount should be created
1267 # If not set and create is true, a name is generated using the fullname template
1268 # -- The name of the agent ServiceAccount to be used by access-controlled resources
1270 # -- Configures annotations for the agent ServiceAccount
1272 # -- Configures extra labels for the agent ServiceAccount
1274 # -- Agent ServiceAccount image pull secret
1275 imagePullSecretName:
1276 # -- Auto-mount ServiceAccount token
1277 automountServiceAccountToken: true
1278# -- Checks if any deprecated values are used
1279checkDeprecation: true
1280awsSecurityGroupPolicies:
1284 securityGroupIds: []
1286# Here you can configure unit tests values when executing the helm unittest in the CONTRIBUTING.md
1288 # A testing framework for bash
1290 # Bash Automated Testing System (BATS)
1292 # -- Registry of the image used to test the framework
1293 registry: "docker.io"
1294 # -- Repository of the image used to test the framework
1295 repository: "bats/bats"
1296 # -- Tag of the image to test the framework