You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by da...@apache.org on 2018/08/22 01:25:16 UTC

[incubator-openwhisk-deploy-kube] branch master updated: bugfix in StatefulSet templates: use serviceName, not name (#280)

This is an automated email from the ASF dual-hosted git repository.

daisyguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new be820ef  bugfix in StatefulSet templates: use serviceName, not name (#280)
be820ef is described below

commit be820ef33dab5422ed1898d439bd7e87aed954f5
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Tue Aug 21 21:25:14 2018 -0400

    bugfix in StatefulSet templates: use serviceName, not name (#280)
    
    Fixes #278.
---
 helm/openwhisk/templates/controller.yaml | 2 +-
 helm/openwhisk/templates/kafka.yaml      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/helm/openwhisk/templates/controller.yaml b/helm/openwhisk/templates/controller.yaml
index a4549dd..306f72c 100644
--- a/helm/openwhisk/templates/controller.yaml
+++ b/helm/openwhisk/templates/controller.yaml
@@ -24,9 +24,9 @@ metadata:
   labels:
     name: {{ .Values.controller.name | quote }}
 spec:
+  serviceName: {{ .Values.controller.name | quote }}
   podManagementPolicy: "Parallel"
   replicas: {{ .Values.controller.replicaCount }}
-  name: {{ .Values.controller.name | quote }}
   template:
     metadata:
       labels:
diff --git a/helm/openwhisk/templates/kafka.yaml b/helm/openwhisk/templates/kafka.yaml
index a84f503..b55a767 100644
--- a/helm/openwhisk/templates/kafka.yaml
+++ b/helm/openwhisk/templates/kafka.yaml
@@ -21,8 +21,8 @@ metadata:
   name: {{ .Values.kafka.name | quote }}
   namespace: {{ .Release.Namespace | quote }}
 spec:
+  serviceName: {{ .Values.kafka.name | quote }}
   podManagementPolicy: "Parallel"
-  name: {{ .Values.kafka.name | quote }}
   replicas: {{ .Values.kafka.replicaCount }}
   template:
     metadata: