feat(skipPlugins): add skipPlugins to helm chart
This commit is contained in:
parent
d7ee4b26b5
commit
9f8a5376f9
|
|
@ -91,6 +91,7 @@ Kubernetes native operator which fully manages Jenkins on Kubernetes
|
||||||
| jenkins.seedJobAgentImage | string | `""` | |
|
| jenkins.seedJobAgentImage | string | `""` | |
|
||||||
| jenkins.seedJobs | list | `[]` | |
|
| jenkins.seedJobs | list | `[]` | |
|
||||||
| jenkins.serviceAccount.annotations | object | `{}` | |
|
| jenkins.serviceAccount.annotations | object | `{}` | |
|
||||||
|
| jenkins.skipPlugins | bool | `false` | |
|
||||||
| jenkins.terminationGracePeriodSeconds | int | `30` | |
|
| jenkins.terminationGracePeriodSeconds | int | `30` | |
|
||||||
| jenkins.tolerations | list | `[]` | |
|
| jenkins.tolerations | list | `[]` | |
|
||||||
| jenkins.validateSecurityWarnings | bool | `false` | |
|
| jenkins.validateSecurityWarnings | bool | `false` | |
|
||||||
|
|
|
||||||
|
|
@ -1330,6 +1330,11 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
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:
|
terminationGracePeriodSeconds:
|
||||||
description: 'Optional duration in seconds the pod needs to terminate gracefully.'
|
description: 'Optional duration in seconds the pod needs to terminate gracefully.'
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,7 @@ spec:
|
||||||
{{- with .Values.jenkins.hostAliases }}
|
{{- with .Values.jenkins.hostAliases }}
|
||||||
hostAliases: {{ toYaml . | nindent 4 }}
|
hostAliases: {{ toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
skipPlugins: {{ .Values.jenkins.skipPlugins }}
|
||||||
{{- if .Values.jenkins.terminationGracePeriodSeconds }}
|
{{- if .Values.jenkins.terminationGracePeriodSeconds }}
|
||||||
terminationGracePeriodSeconds: {{ .Values.jenkins.terminationGracePeriodSeconds }}
|
terminationGracePeriodSeconds: {{ .Values.jenkins.terminationGracePeriodSeconds }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -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 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: ""
|
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
|
# Resource limit/request for Jenkins
|
||||||
# See https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ for details
|
# See https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ for details
|
||||||
resources:
|
resources:
|
||||||
|
|
|
||||||
|
|
@ -152,9 +152,6 @@ spec:
|
||||||
Master represents Jenkins master pod properties and Jenkins plugins.
|
Master represents Jenkins master pod properties and Jenkins plugins.
|
||||||
Every single change here requires a pod restart.
|
Every single change here requires a pod restart.
|
||||||
properties:
|
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:
|
annotations:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1677,6 +1674,10 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
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:
|
terminationGracePeriodSeconds:
|
||||||
description: |-
|
description: |-
|
||||||
The grace period is the duration in seconds after the processes running in the pod are sent
|
The grace period is the duration in seconds after the processes running in the pod are sent
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue