Skip to content

Commit

Permalink
cicd: add replicaCount and strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
bonifaido authored and baluchicken committed Apr 2, 2019
1 parent 164af8d commit 9cdec73
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cicd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: cicd
home: https://banzaicloud.com/
version: 1.0.3
appVersion: "0.8.1"
version: 1.1.0
appVersion: "0.8.6"
description: Pipeline CI/CD
keywords:
- continuous-delivery
Expand Down
6 changes: 5 additions & 1 deletion cicd/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
replicas: 1
replicas: {{ .Values.replicaCount }}
{{- if .Values.strategy }}
strategy:
{{ toYaml .Values.strategy | indent 4 }}
{{- end }}
selector:
matchLabels:
app: "{{ template "cicd.name" . }}"
Expand Down
7 changes: 6 additions & 1 deletion cicd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ annotations: {}
##
labels: {}

## Resource definitions for Kubernetes resources
replicaCount: 1
# Upgrade strategy
strategy: {}

## The official CI/CD image, change tag to use a different version.
## https://hub.docker.com/r/banzaicloud/cicd/tags/
##
image:
repository: "banzaicloud/cicd"
tag: "0.8.1"
tag: "0.8.6"
pullPolicy: "IfNotPresent"

global:
Expand Down

0 comments on commit 9cdec73

Please sign in to comment.