diff options
author | jmac <james.macnider@amdocs.com> | 2019-03-26 00:35:39 +0000 |
---|---|---|
committer | jmac <james.macnider@amdocs.com> | 2019-03-26 00:37:30 +0000 |
commit | 587ff479bc30f58ae00af64005f5e0260e99d1b7 (patch) | |
tree | d9c65cc42437a321dfced6b92476583feca37c3c /kubernetes/so/charts/so-bpmn-infra/templates | |
parent | 1748956d353d17c4864ae012fc9612cccbdd391e (diff) |
prep
Change-Id: I93651f6074a2c31785a01b65669be88e76c07d2d
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-1359
Diffstat (limited to 'kubernetes/so/charts/so-bpmn-infra/templates')
-rwxr-xr-x | kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml | 4 | ||||
-rwxr-xr-x | kubernetes/so/charts/so-bpmn-infra/templates/service.yaml | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml b/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml index ad3a19f37e..d11fe2b6a4 100755 --- a/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml +++ b/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml @@ -51,7 +51,7 @@ spec: name: {{ include "common.name" . }}-readiness containers: - name: {{ include "common.name" . }} - image: {{ include "common.repository" . }}/{{ .Values.image }} + image: "{{ .Values.repository }}/{{ .Values.image }}" resources: {{ include "common.resources" . | indent 12 }} env: @@ -85,6 +85,8 @@ spec: secretKeyRef: name: {{ .Release.Name}}-so-db-secrets key: mariadb.admin.password + - name: JVM_ARGS + value: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address={{ .Values.service.internalPort2 }} envFrom: - configMapRef: name: {{ include "common.fullname" . }}-configmap diff --git a/kubernetes/so/charts/so-bpmn-infra/templates/service.yaml b/kubernetes/so/charts/so-bpmn-infra/templates/service.yaml index 741614886c..bf423c6fab 100755 --- a/kubernetes/so/charts/so-bpmn-infra/templates/service.yaml +++ b/kubernetes/so/charts/so-bpmn-infra/templates/service.yaml @@ -26,8 +26,11 @@ spec: ports: {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.internalPort }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} + nodePort: {{ .Values.global.nodePortPrefixExt | default .Values.nodePortPrefixExt }}{{ .Values.service.nodePort }} name: {{ .Values.service.portName }} + - port: {{ .Values.service.internalPort2 }} + nodePort: {{ .Values.global.nodePortPrefixExt | default .Values.nodePortPrefixExt }}{{ .Values.service.nodePort2 }} + name: {{ .Values.service.portName2 }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} |