gocd: add deploy strategy (#8524)

* gocd: add deploy strategy value

Able to set your own deployment strategy

Signed-off-by: Johnny Bergström <johnny@klaudify.se>

* gocd: bump release

Correct version might conflict with other PRs

Signed-off-by: Johnny Bergström <johnny@klaudify.se>

* gocd: value comment for agent.deployStrategy

Signed-off-by: Johnny Bergström <johnny@klaudify.se>

* Update git ref in CHANGELOG

Rebased on latest master to resolve conflicts

Signed-off-by: Johnny Bergström <johnny@klaudify.se>
This commit is contained in:
Johnny Bergström
2018-11-20 08:03:43 -08:00
committed by k8s-ci-robot
parent 47ba7febb7
commit abbbd4da0d
5 changed files with 13 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
### 1.5.6
* [32de4923](https://github.com/kubernetes/charts/commit/32de4923)
- Deployment strategy value
### 1.5.5
* [22f3354](https://github.com/helm/charts/commit/22f3354):
+1 -1
View File
@@ -1,6 +1,6 @@
name: gocd
home: https://www.gocd.org/
version: 1.5.5
version: 1.5.6
appVersion: 18.10.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
@@ -156,6 +156,7 @@ $ kubectl create secret generic gocd-server-ssh \
| Parameter | Description | Default |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| `agent.replicaCount` | GoCD Agent replicas Count. By default, no agents are provided. | `0` |
| `agent.deployStrategy` | GoCD Agent [deployment strategy](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy). | `{}` |
| `agent.image.repository` | GoCD agent image | `gocd/gocd-agent-alpine-3.6` |
| `agent.image.tag` | GoCD agent image tag | `.Chart.appVersion` |
| `agent.image.pullPolicy` | Image pull policy | `IfNotPresent` |
@@ -10,6 +10,10 @@ metadata:
component: agent
spec:
replicas: {{ .Values.agent.replicaCount }}
{{- if .Values.agent.deployStrategy }}
strategy:
{{ toYaml .Values.agent.deployStrategy | indent 4 }}
{{- end }}
selector:
matchLabels:
app: {{ template "gocd.name" . }}
+2
View File
@@ -172,6 +172,8 @@ server:
agent:
# agent.replicaCount is the GoCD Agent replicas Count. Specify the number of GoCD agents to run
replicaCount: 0
# agent.deployStrategy is the strategy explained in detail at https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
deployStrategy: {}
image:
# agent.image.repository is the GoCD Agent image name
repository: "gocd/gocd-agent-alpine-3.6"