[stable/gocd] Add agent.env.extraEnvVars (#7638)

* [stable/gocd] Add agent.env.extraEnvVars

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd]: Bump to 1.4.2 (& changelog)

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
This commit is contained in:
Victor Sollerhed
2018-09-12 06:37:03 -07:00
committed by k8s-ci-robot
parent 907e968ae1
commit 14fd780d45
5 changed files with 11 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
### 1.4.2
* [499fddf9](https://github.com/kubernetes/charts/commit/499fddf9): Add agent.env.extraEnvVars
### 1.4.1
* [15c77caf](https://github.com/kubernetes/charts/commit/15c77caf):
- Bump up GoCD app version to 18.9.0
+1 -1
View File
@@ -1,6 +1,6 @@
name: gocd
home: https://www.gocd.org/
version: 1.4.1
version: 1.4.2
appVersion: 18.9.0
description: GoCD is an open-source continuous delivery server to model and visualize complex workflows with ease.
icon: https://gocd.github.io/assets/images/go-icon-black-192x192.png
+1
View File
@@ -165,6 +165,7 @@ $ kubectl create secret generic gocd-server-ssh \
| `agent.env.agentAutoRegisterHostname` | GoCD Agent hostname | `nil` |
| `agent.env.goAgentBootstrapperArgs` | GoCD Agent Bootstrapper Args. It can be used to [Configure end-to-end transport security](https://docs.gocd.org/current/installation/ssl_tls/end_to_end_transport_security.html) | `nil` |
| `agent.env.goAgentBootstrapperJvmArgs` | GoCD Agent Bootstrapper JVM Args. | `nil` |
| `agent.env.extraEnvVars` | GoCD Agent extra Environment variables | `nil` |
| `agent.privileged` | Run container in privileged mode (needed for DinD, Docker-in-Docker agents) | `false` |
| `agent.healthCheck.enabled` | Enable use of GoCD agent health checks. | `false` |
| `agent.healthCheck.initialDelaySeconds` | GoCD agent start up time. | `60` |
@@ -81,6 +81,9 @@ spec:
- name: AGENT_BOOTSTRAPPER_ARGS
value: {{ .Values.agent.env.goAgentBootstrapperArgs }}
{{- end }}
{{- if .Values.agent.env.extraEnvVars }}
{{ toYaml .Values.agent.env.extraEnvVars | indent 12 }}
{{- end }}
{{- if .Values.agent.healthCheck.enabled }}
livenessProbe:
httpGet:
+2
View File
@@ -170,6 +170,8 @@ agent:
goAgentBootstrapperArgs:
# agent.env.goAgentBootstrapperJvmArgs is the GoCD Agent bootstrapper JVM args
goAgentBootstrapperJvmArgs:
# agent.env.extraEnvVars is the list of environment variables passed to GoCD Agent
extraEnvVars:
persistence:
# agent.persistence.enabled is the toggle for agent volume persistence. Change to true if a persistent volume is available and configured manually.
enabled: false