summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/templates
diff options
context:
space:
mode:
authorJerome Doucerain <jerome.doucerain@bell.ca>2018-03-17 16:03:08 -0400
committerJerome Doucerain <jerome.doucerain@bell.ca>2018-03-17 16:06:36 -0400
commit96bebdcf842ef0e6c1c65713930331f0c72d1d55 (patch)
tree62cdf02606e8e752f0702fdd194ad77ad40a8cad /kubernetes/so/templates
parentaa56bbc3f170f6d4b417354a111ad2c50d79d53a (diff)
SO endpoints and service update
updated the endpoints and service in a single namespace onap deployment prospective updated the parameters order for the image source to allow override Issue-ID: OOM-743 Change-Id: I6a379ec4661d465f95478b383d60c3b2eecc0f72 Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
Diffstat (limited to 'kubernetes/so/templates')
-rw-r--r--kubernetes/so/templates/deployment.yaml3
-rw-r--r--kubernetes/so/templates/service.yaml5
2 files changed, 5 insertions, 3 deletions
diff --git a/kubernetes/so/templates/deployment.yaml b/kubernetes/so/templates/deployment.yaml
index 8706951467..0727ce80a3 100644
--- a/kubernetes/so/templates/deployment.yaml
+++ b/kubernetes/so/templates/deployment.yaml
@@ -49,7 +49,7 @@ spec:
- name: {{ .Chart.Name }}
command:
- /tmp/start-jboss-server.sh
- image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"
+ image: "{{ .Values.repository | default .Values.global.repository }}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports:
- containerPort: {{ .Values.service.internalPort }}
@@ -189,3 +189,4 @@ spec:
mode: 0755
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
+
diff --git a/kubernetes/so/templates/service.yaml b/kubernetes/so/templates/service.yaml
index de7e1c4a4c..63e41acc46 100644
--- a/kubernetes/so/templates/service.yaml
+++ b/kubernetes/so/templates/service.yaml
@@ -15,7 +15,7 @@
apiVersion: v1
kind: Service
metadata:
- name: {{ include "common.fullname" . }}
+ name: so
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}
@@ -80,4 +80,5 @@ spec:
{{- end}}
selector:
app: {{ include "common.name" . }}
- release: {{ .Release.Name }} \ No newline at end of file
+ release: {{ .Release.Name }}
+