fix replica count conflict (#19203)

Signed-off-by: Naseem <naseemkullah@gmail.com>
This commit is contained in:
Naseem
2019-12-01 12:23:04 -08:00
committed by Kubernetes Prow Robot
parent cbfd6764d7
commit 9fa62be553
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: cloudserver
version: 1.0.3
version: 1.0.4
appVersion: 8.1.5
kubeVersion: "^1.8.0-0"
description: An open-source Node.js implementation of the Amazon S3 protocol on the front-end and backend storage capabilities to multiple clouds, including Azure and Google.
@@ -9,7 +9,9 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
{{- if not .Values.api.autoscaling.enabled }}
replicas: {{ .Values.api.replicaCount }}
{{- end }}
selector:
matchLabels:
app: {{ template "cloudserver.name" . }}