X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Faaf%2Fcomponents%2Faaf-sms%2Fcharts%2Faaf-sms-quorumclient%2Ftemplates%2Fstatefulset.yaml;h=c72d9e0422e0953201a13f3b7039aef0e866bf10;hb=b1ee058f941a9c9ff27467054d98b8a56c988797;hp=1c6cc933f551a54aafd4e791ca9b7e0f2a1bdd2c;hpb=8e8f8cd139689ebf89e8c2fdf11419418913a840;p=oom.git diff --git a/kubernetes/aaf/components/aaf-sms/charts/aaf-sms-quorumclient/templates/statefulset.yaml b/kubernetes/aaf/components/aaf-sms/charts/aaf-sms-quorumclient/templates/statefulset.yaml index 1c6cc933f5..c72d9e0422 100644 --- a/kubernetes/aaf/components/aaf-sms/charts/aaf-sms-quorumclient/templates/statefulset.yaml +++ b/kubernetes/aaf/components/aaf-sms/charts/aaf-sms-quorumclient/templates/statefulset.yaml @@ -1,3 +1,4 @@ +{{/* # Copyright 2018 Intel Corporation, Inc # Modifications © 2020 AT&T # @@ -12,8 +13,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +*/}} -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -25,7 +27,10 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} - serviceName: + selector: + matchLabels: + app: {{ include "common.name" . }} + serviceName: {{ include "common.servicename" . }} template: metadata: labels: