From acfecc0faf0676ed58b8eb168a3dc6700806bcfb Mon Sep 17 00:00:00 2001 From: Pin Jin Date: Wed, 29 Apr 2020 01:35:06 +0000 Subject: [PATCH] Fix wps base version --- stable/datacube-wps/Chart.yaml | 2 +- stable/datacube-wps/templates/deployment.yaml | 5 +++-- stable/datacube-wps/values.yaml | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stable/datacube-wps/Chart.yaml b/stable/datacube-wps/Chart.yaml index 2af1ef4..830cf0c 100644 --- a/stable/datacube-wps/Chart.yaml +++ b/stable/datacube-wps/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: alpha description: A Helm chart for Datacube WPS on Kubernetes name: datacube-wps -version: 0.7.9 +version: 0.8.1 diff --git a/stable/datacube-wps/templates/deployment.yaml b/stable/datacube-wps/templates/deployment.yaml index cacb8ba..4736c2e 100644 --- a/stable/datacube-wps/templates/deployment.yaml +++ b/stable/datacube-wps/templates/deployment.yaml @@ -87,9 +87,10 @@ spec: {{- end }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} - args: [ {{- range .Values.wps.dockerArgs }} {{ . | quote }}, {{ end -}} ] ports: - - containerPort: 8000 + - name: http + containerPort: 8000 + protocol: TCP {{- with .Values.wps.livenessProbe }} livenessProbe: {{ toYaml . | indent 12 }} diff --git a/stable/datacube-wps/values.yaml b/stable/datacube-wps/values.yaml index b57180d..a040a95 100644 --- a/stable/datacube-wps/values.yaml +++ b/stable/datacube-wps/values.yaml @@ -29,7 +29,6 @@ wps: memory: 2048Mi annotations: { } additionalEnvironmentVars: { } - dockerArgs: [ "gunicorn", "-b", "0.0.0.0:8000", "-w", "4", "--keep-alive", "5", "--timeout", "121", "wps:app" ] livenessProbe: exec: command: