feat(skipPlugins): add skipPlugins to helm chart

This commit is contained in:
Tobia De Koninck 2025-04-18 11:05:51 +02:00
parent d7ee4b26b5
commit 9f8a5376f9
5 changed files with 16 additions and 3 deletions

View File

@ -91,6 +91,7 @@ Kubernetes native operator which fully manages Jenkins on Kubernetes
| jenkins.seedJobAgentImage | string | `""` | |
| jenkins.seedJobs | list | `[]` | |
| jenkins.serviceAccount.annotations | object | `{}` | |
| jenkins.skipPlugins | bool | `false` | |
| jenkins.terminationGracePeriodSeconds | int | `30` | |
| jenkins.tolerations | list | `[]` | |
| jenkins.validateSecurityWarnings | bool | `false` | |

View File

@ -1330,6 +1330,11 @@ spec:
type: string
type: object
type: object
skipPlugins:
description: 'Allow to skip installation of both BasePlugins and
Plugins. Requires using a custom image which includes the
BasePlugins. Defaults to false.'
type: boolean
terminationGracePeriodSeconds:
description: 'Optional duration in seconds the pod needs to terminate gracefully.'
type: integer

View File

@ -115,6 +115,7 @@ spec:
{{- with .Values.jenkins.hostAliases }}
hostAliases: {{ toYaml . | nindent 4 }}
{{- end }}
skipPlugins: {{ .Values.jenkins.skipPlugins }}
{{- if .Values.jenkins.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.jenkins.terminationGracePeriodSeconds }}
{{- end }}

View File

@ -145,6 +145,11 @@ jenkins:
# SeedJobAgentImage defines the image that will be used by the seed job agent. If not defined jenkins/inbound-agent:3248.v65ecb_254c298-6 will be used.
seedJobAgentImage: ""
# skipPlugins allows to skip installation of both BasePlugins and Plugins.
# Requires using a custom image which includes the BasePlugins.
# Defaults to false.
skipPlugins: false
# Resource limit/request for Jenkins
# See https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ for details
resources:

View File

@ -152,9 +152,6 @@ spec:
Master represents Jenkins master pod properties and Jenkins plugins.
Every single change here requires a pod restart.
properties:
skipPlugins:
description: Allow to skip installation of both BasePlugins and Plugins. Requires using a custom image which includes the BasePlugins. Defaults to false.
type: boolean
annotations:
additionalProperties:
type: string
@ -1677,6 +1674,10 @@ spec:
type: string
type: object
type: object
skipPlugins:
description: Allow to skip installation of both BasePlugins and Plugins. Requires using a custom
image which includes the BasePlugins. Defaults to false.
type: boolean
terminationGracePeriodSeconds:
description: |-
The grace period is the duration in seconds after the processes running in the pod are sent