diff options
Diffstat (limited to 'deployments/helm/v2/onap4k8s/ovnaction')
3 files changed, 16 insertions, 16 deletions
diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml b/deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml index 56c62699..261b6ef2 100644 --- a/deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml +++ b/deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml @@ -43,8 +43,8 @@ spec: args: [{{ .Values.args }}] workingDir: {{ .Values.workingDir }} ports: - - containerPort: {{ .Values.service.internalPort }} - containerPort: {{ .Values.serviceInternal.internalPort }} + - containerPort: {{ .Values.service.internalPort }} {{- if eq .Values.liveness.enabled true }} livenessProbe: tcpSocket: diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml b/deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml index e9e59d38..9bf887ed 100644 --- a/deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml +++ b/deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml @@ -26,16 +26,7 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - name: {{ .Values.service.name }} - {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.internalPort }} - nodePort: {{ .Values.global.nodePortPrefixExt | default "302" }}{{ .Values.service.nodePort }} - {{- else -}} - port: {{ .Values.service.externalPort }} - targetPort: {{ .Values.service.internalPort }} - {{- end}} - protocol: TCP - - name: {{ .Values.serviceInternal.name }} + - name: {{ .Values.serviceInternal.portName }} {{if eq .Values.serviceInternal.type "NodePort" -}} port: {{ .Values.serviceInternal.internalPort }} nodePort: {{ .Values.global.nodePortPrefixExt | default "302" }}{{ .Values.serviceInternal.nodePort }} @@ -44,6 +35,15 @@ spec: targetPort: {{ .Values.serviceInternal.internalPort }} {{- end}} protocol: TCP + - name: {{ .Values.service.portName }} + {{if eq .Values.service.type "NodePort" -}} + port: {{ .Values.service.internalPort }} + nodePort: {{ .Values.global.nodePortPrefixExt | default "302" }}{{ .Values.service.nodePort }} + {{- else -}} + port: {{ .Values.service.externalPort }} + targetPort: {{ .Values.service.internalPort }} + {{- end}} + protocol: TCP selector: app: {{ include "common.name" . }} release: {{ .Release.Name }}
\ No newline at end of file diff --git a/deployments/helm/v2/onap4k8s/ovnaction/values.yaml b/deployments/helm/v2/onap4k8s/ovnaction/values.yaml index 1773592f..411e5d0e 100644 --- a/deployments/helm/v2/onap4k8s/ovnaction/values.yaml +++ b/deployments/helm/v2/onap4k8s/ovnaction/values.yaml @@ -57,17 +57,17 @@ readiness: service: type: NodePort name: ovnaction - portName: ovnaction - internalPort: 9071 - externalPort: 9071 + portName: http + internalPort: 9051 + externalPort: 9051 nodePort: 71 serviceInternal: type: NodePort name: internal portName: internal - internalPort: 9073 - externalPort: 9073 + internalPort: 9053 + externalPort: 9053 nodePort: 73 ingress: |