mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] Add support for service account annotations in jenkins (#12969)
* Fix configmap of keycloak Signed-off-by: kahootali <kahoot.ali@gmail.com> * Add support for serviceAccountAnnotations Signed-off-by: Muhammad Hamza Zaib <hamza@aurorasolutions.io>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ffd7c203b9
commit
b22774e2f2
@@ -1,6 +1,6 @@
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 0.37.2
|
||||
version: 0.37.3
|
||||
appVersion: lts
|
||||
description: Open source continuous integration server. It supports multiple SCM tools
|
||||
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
|
||||
|
||||
@@ -105,6 +105,8 @@ The following tables list the configurable parameters of the Jenkins chart and t
|
||||
| `NetworkPolicy.Enabled` | Enable creation of NetworkPolicy resources. | `false` |
|
||||
| `NetworkPolicy.ApiVersion` | NetworkPolicy ApiVersion | `networking.k8s.io/v1` |
|
||||
| `rbac.install` | Create service account and ClusterRoleBinding for Kubernetes plugin | `false` |
|
||||
| `rbac.serviceAccountName` | Name of service account | `default` |
|
||||
| `rbac.serviceAccountAnnotations` | Service Account annotations | `{}` |
|
||||
| `rbac.roleRef` | Cluster role name to bind to | `cluster-admin` |
|
||||
| `rbac.roleKind` | Role kind (`Role` or `ClusterRole`)| `ClusterRole`
|
||||
| `rbac.roleBindingKind` | Role binding kind (`RoleBinding` or `ClusterRoleBinding`)| `ClusterRoleBinding` |
|
||||
|
||||
@@ -4,6 +4,10 @@ apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ $serviceName }}
|
||||
{{- if .Values.rbac.serviceAccountAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.rbac.serviceAccountAnnotations | indent 4 }}
|
||||
{{ end }}
|
||||
labels:
|
||||
app: {{ $serviceName }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
|
||||
@@ -361,6 +361,7 @@ NetworkPolicy:
|
||||
rbac:
|
||||
install: false
|
||||
serviceAccountName: default
|
||||
serviceAccountAnnotations: {}
|
||||
# Role reference
|
||||
roleRef: cluster-admin
|
||||
# Role kind (Role or ClusterRole)
|
||||
|
||||
Reference in New Issue
Block a user