From 992e1ad6288c0b05484e54f2d881d24a74c659ca Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Fri, 6 Apr 2018 15:42:40 -0700 Subject: Using .values.service.name for service URL Use .values.service.name to get the service URL prefix Using common.namepace was an error Issue-ID: AAF-162 Change-Id: I11daa933b9f3a767aea7eac512bd09f4589fcde5 Signed-off-by: Kiran Kamineni --- kubernetes/aaf/charts/sms/templates/deployment.yaml | 3 --- kubernetes/aaf/charts/sms/templates/service.yaml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'kubernetes/aaf/charts/sms/templates') diff --git a/kubernetes/aaf/charts/sms/templates/deployment.yaml b/kubernetes/aaf/charts/sms/templates/deployment.yaml index 66c649cab4..e5381a0f0c 100644 --- a/kubernetes/aaf/charts/sms/templates/deployment.yaml +++ b/kubernetes/aaf/charts/sms/templates/deployment.yaml @@ -36,9 +36,6 @@ spec: imagePullPolicy: {{ .Values.pullPolicy }} command: ["/sms/bin/sms"] workingDir: /sms/ - env: - - name: {{ .Values.config.smsdburlenv }} - value: "http://{{ include "common.namespace" . }}-smsdb:8200" ports: - containerPort: {{ .Values.service.internalPort }} {{- if eq .Values.liveness.enabled true }} diff --git a/kubernetes/aaf/charts/sms/templates/service.yaml b/kubernetes/aaf/charts/sms/templates/service.yaml index cb2f286a29..1ba8580840 100644 --- a/kubernetes/aaf/charts/sms/templates/service.yaml +++ b/kubernetes/aaf/charts/sms/templates/service.yaml @@ -15,7 +15,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "common.fullname" . }} + name: {{ .Values.service.name }} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.fullname" . }} -- cgit 1.2.3-korg