mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
k8s-ci-robot
parent
47ba7febb7
commit
abbbd4da0d
@@ -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,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
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user