diff --git a/stable/gocd/CHANGELOG.md b/stable/gocd/CHANGELOG.md index 86f39ebc6f..1c20d11808 100644 --- a/stable/gocd/CHANGELOG.md +++ b/stable/gocd/CHANGELOG.md @@ -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): diff --git a/stable/gocd/Chart.yaml b/stable/gocd/Chart.yaml index 72040d02e5..5f2affa173 100644 --- a/stable/gocd/Chart.yaml +++ b/stable/gocd/Chart.yaml @@ -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 diff --git a/stable/gocd/README.md b/stable/gocd/README.md index ec381c7f30..d8bfd5eea2 100644 --- a/stable/gocd/README.md +++ b/stable/gocd/README.md @@ -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` | diff --git a/stable/gocd/templates/gocd-agent-deployment.yaml b/stable/gocd/templates/gocd-agent-deployment.yaml index c24f5d2465..3d89357678 100644 --- a/stable/gocd/templates/gocd-agent-deployment.yaml +++ b/stable/gocd/templates/gocd-agent-deployment.yaml @@ -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" . }} diff --git a/stable/gocd/values.yaml b/stable/gocd/values.yaml index 187b9ab82e..24c720586a 100644 --- a/stable/gocd/values.yaml +++ b/stable/gocd/values.yaml @@ -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"