[bitnami/jenkins] feat: allow config service account (#8953)

* [bitnami/jenkins] feat: allow config service account

Signed-off-by: Tony Yip <tony@tonyhhyip.me>

* [bitnami/jenkins] chore: bump Jenkins chart version

Signed-off-by: Tony Yip <tony@tonyhhyip.me>

* [bitnami/jenkins] chore: update README.md

Signed-off-by: Tony Yip <tony@tonyhhyip.me>

* [bitnami/jenkins] style: fix for yamllint

Signed-off-by: Tony Yip <tony@tonyhhyip.me>

* [bitnami/jenkins] docs: update README.md

Signed-off-by: Tony Yip <tony@tonyhhyip.me>
This commit is contained in:
Tony Yip
2022-02-14 21:50:12 +08:00
committed by GitHub
parent f81b5e4e3f
commit 6868455c96
5 changed files with 18 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ dependencies:
tags:
- bitnami-common
version: 1.x.x
description: Jenkins is an open source Continuous Integration and Continuous Delivery (CI/CD) server designed to automate the building, testing, and deploying of any software project.
description: Jenkins is an open source Continuous Integration and Continuous Delivery (CI/CD) server designed to automate the building, testing, and deploying of any software project.
engine: gotpl
home: https://github.com/bitnami/charts/tree/master/bitnami/jenkins
icon: https://bitnami.com/assets/stacks/jenkins/img/jenkins-stack-220x234.png
@@ -26,4 +26,4 @@ name: jenkins
sources:
- https://github.com/bitnami/bitnami-docker-jenkins
- https://jenkins.io/
version: 8.1.7
version: 8.2.0

View File

@@ -81,7 +81,7 @@ The command removes all the Kubernetes components associated with the chart and
| ------------------- | -------------------------------------------------- | ---------------------- |
| `image.registry` | Jenkins image registry | `docker.io` |
| `image.repository` | Jenkins image repository | `bitnami/jenkins` |
| `image.tag` | Jenkins image tag (immutable tags are recommended) | `2.319.2-debian-10-r0` |
| `image.tag` | Jenkins image tag (immutable tags are recommended) | `2.319.3-debian-10-r3` |
| `image.pullPolicy` | Jenkins image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Jenkins image pull secrets | `[]` |
| `image.debug` | Enable image debug mode | `false` |
@@ -109,6 +109,7 @@ The command removes all the Kubernetes components associated with the chart and
| Name | Description | Value |
| --------------------------------------- | ----------------------------------------------------------------------------------------- | --------------- |
| `updateStrategy.type` | Jenkins deployment strategy type | `RollingUpdate` |
| `serviceAccountName` | Jenkins pod service account name | `default` |
| `priorityClassName` | Jenkins pod priority class name | `""` |
| `hostAliases` | Jenkins pod host aliases | `[]` |
| `extraVolumes` | Optionally specify extra list of additional volumes for Jenkins pods | `[]` |
@@ -191,7 +192,7 @@ The command removes all the Kubernetes components associated with the chart and
| `volumePermissions.enabled` | Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup` | `false` |
| `volumePermissions.image.registry` | Bitnami Shell image registry | `docker.io` |
| `volumePermissions.image.repository` | Bitnami Shell image repository | `bitnami/bitnami-shell` |
| `volumePermissions.image.tag` | Bitnami Shell image tag (immutable tags are recommended) | `10-debian-10-r311` |
| `volumePermissions.image.tag` | Bitnami Shell image tag (immutable tags are recommended) | `10-debian-10-r337` |
| `volumePermissions.image.pullPolicy` | Bitnami Shell image pull policy | `IfNotPresent` |
| `volumePermissions.image.pullSecrets` | Bitnami Shell image pull secrets | `[]` |
| `volumePermissions.resources.limits` | The resources limits for the init container | `{}` |
@@ -206,7 +207,7 @@ The command removes all the Kubernetes components associated with the chart and
| `metrics.enabled` | Start a sidecar prometheus exporter to expose Jenkins metrics | `false` |
| `metrics.image.registry` | Jenkins Exporter image registry | `docker.io` |
| `metrics.image.repository` | Jenkins Exporter image repository | `bitnami/jenkins-exporter` |
| `metrics.image.tag` | Jenkins Jenkins Exporter image tag (immutable tags are recommended) | `0.20171225.0-debian-10-r678` |
| `metrics.image.tag` | Jenkins Jenkins Exporter image tag (immutable tags are recommended) | `0.20171225.0-debian-10-r701` |
| `metrics.image.pullPolicy` | Jenkins Exporter image pull policy | `IfNotPresent` |
| `metrics.image.pullSecrets` | Jenkins Exporter image pull secrets | `[]` |
| `metrics.containerSecurityContext.enabled` | Enabled Jenkins exporter containers' Security Context | `true` |

View File

@@ -26,6 +26,7 @@ spec:
{{- include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccountName }}
{{- include "jenkins.imagePullSecrets" . | nindent 6 }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}

View File

@@ -2,6 +2,12 @@
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"serviceAccountName": {
"type": "string",
"title": "ServiceAccount name",
"form": true,
"description": "Defaults to use default if not set"
},
"jenkinsUser": {
"type": "string",
"title": "Username",

View File

@@ -129,6 +129,11 @@ extraEnvVarsSecret: ""
##
updateStrategy:
type: RollingUpdate
## @param serviceAccountName Jenkins pod service account name
##
serviceAccountName: "default"
## @param priorityClassName Jenkins pod priority class name
##
priorityClassName: ""