diff --git a/cicd/Chart.yaml b/cicd/Chart.yaml index 78fc9d38..f20cf004 100755 --- a/cicd/Chart.yaml +++ b/cicd/Chart.yaml @@ -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 diff --git a/cicd/templates/deployment.yaml b/cicd/templates/deployment.yaml index 0a35cf68..88b19c18 100644 --- a/cicd/templates/deployment.yaml +++ b/cicd/templates/deployment.yaml @@ -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" . }}" diff --git a/cicd/values.yaml b/cicd/values.yaml index f9718904..a66510b9 100644 --- a/cicd/values.yaml +++ b/cicd/values.yaml @@ -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: