From 8831fb5cf75498a27e42fcc0a71ed7910f5d319b Mon Sep 17 00:00:00 2001 From: "Sasha (Alejandro Vicente Grabovetsky)" Date: Tue, 26 Feb 2019 19:11:29 +0200 Subject: [PATCH] [HLF-CA] Update CA address to allow correct functioning on Minikube (#11744) Signed-off-by: Alejandro Vicente Grabovetsky --- stable/hlf-ca/Chart.yaml | 2 +- stable/hlf-ca/templates/configmap--ca.yaml | 2 +- stable/hlf-ca/templates/deployment.yaml | 4 ++++ stable/hlf-ca/tests/README.md | 4 +--- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/stable/hlf-ca/Chart.yaml b/stable/hlf-ca/Chart.yaml index 4e280e7f5b..78ab43d301 100644 --- a/stable/hlf-ca/Chart.yaml +++ b/stable/hlf-ca/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Hyperledger Fabric Certificate Authority chart (these charts are created by AID:Tech and are currently not directly associated with the Hyperledger project) name: hlf-ca -version: 1.1.4 +version: 1.1.6 appVersion: 1.3.0 keywords: - blockchain diff --git a/stable/hlf-ca/templates/configmap--ca.yaml b/stable/hlf-ca/templates/configmap--ca.yaml index 340e6aae68..94793fa9a5 100644 --- a/stable/hlf-ca/templates/configmap--ca.yaml +++ b/stable/hlf-ca/templates/configmap--ca.yaml @@ -8,4 +8,4 @@ data: GODEBUG: "netdns=go" FABRIC_CA_HOME: /var/hyperledger/fabric-ca FABRIC_CA_SERVER_CA_NAME: {{ .Values.caName | quote }} - SERVICE_DNS: {{ include "hlf-ca.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local + SERVICE_DNS: 0.0.0.0 # Point to itself diff --git a/stable/hlf-ca/templates/deployment.yaml b/stable/hlf-ca/templates/deployment.yaml index 6d2998276d..ea9a81847e 100644 --- a/stable/hlf-ca/templates/deployment.yaml +++ b/stable/hlf-ca/templates/deployment.yaml @@ -10,6 +10,10 @@ spec: matchLabels: app: {{ include "hlf-ca.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-ca/tests/README.md b/stable/hlf-ca/tests/README.md index 4617812d1a..84753c85d7 100644 --- a/stable/hlf-ca/tests/README.md +++ b/stable/hlf-ca/tests/README.md @@ -10,9 +10,7 @@ Commands should be run from the root folder of the repository. Due to presence of dependencies, please run inside the chart dir: -``` -helm dependency update -``` + helm dependency update ### Install