From e5b0f94ac384431b7a4e9819f96fad9fa2bfde49 Mon Sep 17 00:00:00 2001 From: Christopher Montes Date: Wed, 22 Nov 2017 14:02:06 -0700 Subject: [PATCH] Add SAPHO_SERVER variable (#2678) * Add SAPHO_VERSION env var * Added saphoVersion env var * Update Chart.yaml --- stable/sapho/Chart.yaml | 2 +- stable/sapho/templates/deployment.yaml | 2 ++ stable/sapho/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/sapho/Chart.yaml b/stable/sapho/Chart.yaml index 3b89826f97..1247493f45 100755 --- a/stable/sapho/Chart.yaml +++ b/stable/sapho/Chart.yaml @@ -3,7 +3,7 @@ description: A micro application development and integration platform that enabl organizations to create and deliver secure micro applications that tie into existing business systems and track changes to key business data. name: sapho -version: 0.2.0 +version: 0.2.1 home: http://www.sapho.com icon: https://www.sapho.com/wp-content/uploads/2016/04/sapho-logotype.svg sources: diff --git a/stable/sapho/templates/deployment.yaml b/stable/sapho/templates/deployment.yaml index eb2ffc5964..5c1951879b 100644 --- a/stable/sapho/templates/deployment.yaml +++ b/stable/sapho/templates/deployment.yaml @@ -17,6 +17,8 @@ spec: image: "{{ .Values.image }}" imagePullPolicy: {{ default "" .Values.imagePullPolicy | quote }} env: + - name: SAPHO_VERSION + value: {{ .Values.saphoVersion }} - name: SAPHO_DB_HOSTNAME value: {{ template "sapho.mysql.fullname" . }} - name: SAPHO_DB_PORT diff --git a/stable/sapho/values.yaml b/stable/sapho/values.yaml index 2b28656d7a..4d08a310f4 100644 --- a/stable/sapho/values.yaml +++ b/stable/sapho/values.yaml @@ -35,6 +35,7 @@ resources: requests: cpu: 250m memory: 2048Mi +saphoVersion: 4.2.0 saphoDBport: 3306 saphoDBtype: mysql saphoDBuser: root