From 6cea8f2cea99ae2fba0996662d2fe8e8482d3f90 Mon Sep 17 00:00:00 2001 From: "Sasha (Alejandro Vicente Grabovetsky)" Date: Tue, 26 Feb 2019 19:11:39 +0200 Subject: [PATCH] [HLF-CouchDB] Update Rolling update strategy to allow correct updating (#11745) Signed-off-by: Alejandro Vicente Grabovetsky --- stable/hlf-couchdb/Chart.yaml | 4 ++-- stable/hlf-couchdb/templates/deployment.yaml | 4 ++++ stable/hlf-couchdb/values.yaml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/stable/hlf-couchdb/Chart.yaml b/stable/hlf-couchdb/Chart.yaml index 2fdabe95a5..bbff40a855 100644 --- a/stable/hlf-couchdb/Chart.yaml +++ b/stable/hlf-couchdb/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 description: CouchDB instance for Hyperledger Fabric (these charts are created by AID:Tech and are currently not directly associated with the Hyperledger project) name: hlf-couchdb -version: 1.0.5 -appVersion: 0.4.9 +version: 1.0.6 +appVersion: 0.4.10 keywords: - blockchain - hyperledger diff --git a/stable/hlf-couchdb/templates/deployment.yaml b/stable/hlf-couchdb/templates/deployment.yaml index e2c01961b2..3fd0019ff1 100644 --- a/stable/hlf-couchdb/templates/deployment.yaml +++ b/stable/hlf-couchdb/templates/deployment.yaml @@ -10,6 +10,10 @@ spec: matchLabels: app: {{ include "hlf-couchdb.name" . }} release: {{ .Release.Name }} + # Ensure we allow our pod to be unavailable, so we can upgrade + strategy: + rollingUpdate: + maxUnavailable: 1 template: metadata: labels: diff --git a/stable/hlf-couchdb/values.yaml b/stable/hlf-couchdb/values.yaml index 992db7de18..0df6410ca0 100644 --- a/stable/hlf-couchdb/values.yaml +++ b/stable/hlf-couchdb/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: hyperledger/fabric-couchdb - tag: 0.4.9 + tag: 0.4.10 pullPolicy: IfNotPresent service: