diff --git a/stable/cloudserver/Chart.yaml b/stable/cloudserver/Chart.yaml index 2dfa250687..503a260d62 100644 --- a/stable/cloudserver/Chart.yaml +++ b/stable/cloudserver/Chart.yaml @@ -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. diff --git a/stable/cloudserver/templates/api-deployment.yaml b/stable/cloudserver/templates/api-deployment.yaml index 5b4483f0f0..2b9ff028ba 100644 --- a/stable/cloudserver/templates/api-deployment.yaml +++ b/stable/cloudserver/templates/api-deployment.yaml @@ -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" . }}