mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] Added slave Pod env vars (#8743)
* [stable/jenkins] Added slave Pod env vars Signed-off-by: ecejjar <jesus.javier.arauz@ericsson.com> * Bumped up chart version Signed-off-by: ecejjar <jesus.javier.arauz@ericsson.com> * Added envVars to values.yaml Signed-off-by: ecejjar <jesus.javier.arauz@ericsson.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6a9d3752a8
commit
1499f66085
@@ -1,6 +1,6 @@
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 0.29.3
|
||||
version: 0.30.0
|
||||
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
|
||||
|
||||
@@ -111,6 +111,7 @@ Some third-party systems, e.g. GitHub, use HTML-formatted data in their payload
|
||||
| `Agent.Privileged` | Agent privileged container | `false` |
|
||||
| `Agent.resources` | Resources allocation (Requests and Limits) | `{requests: {cpu: 200m, memory: 256Mi}, limits: {cpu: 200m, memory: 256Mi}}`|
|
||||
| `Agent.volumes` | Additional volumes | `nil` |
|
||||
| `Agent.envVars | Environment variables for the slave Pod | Not set |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
|
||||
@@ -100,7 +100,14 @@ data:
|
||||
</envVars>
|
||||
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
|
||||
</containers>
|
||||
<envVars/>
|
||||
<envVars>
|
||||
{{- range $index, $var := .Values.Agent.envVars }}
|
||||
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
|
||||
<key>{{ $var.name }}</key>
|
||||
<value>{{ $var.value }}</value>
|
||||
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
|
||||
{{- end }}
|
||||
</envVars>
|
||||
<annotations/>
|
||||
{{- if .Values.Agent.ImagePullSecret }}
|
||||
<imagePullSecrets>
|
||||
|
||||
@@ -276,6 +276,10 @@ Agent:
|
||||
# Allowed types are: ConfigMap, EmptyDir, HostPath, Nfs, Pod, Secret
|
||||
# Configure the attributes as they appear in the corresponding Java class for that type
|
||||
# https://github.com/jenkinsci/kubernetes-plugin/tree/master/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes
|
||||
# Pod-wide ennvironment, these vars are visible to any container in the slave pod
|
||||
envVars:
|
||||
# - name: PATH
|
||||
# value: /usr/local/bin
|
||||
volumes:
|
||||
# - type: Secret
|
||||
# secretName: mysecret
|
||||
|
||||
Reference in New Issue
Block a user