Skip to content

Commit

Permalink
[DSD-3247] updated .workflowaction.server.port=8023 in values.yaml, s… (
Browse files Browse the repository at this point in the history
#510)

* [DSD-3247] updated .workflowaction.server.port=8023 in values.yaml, service.yaml, virtualservice.yaml and deployment.yaml

* Update values.yaml

Signed-off-by: PRAFUL RAKHADE <[email protected]>

---------

Signed-off-by: PRAFUL RAKHADE <[email protected]>
  • Loading branch information
Prafulrakhade authored Aug 21, 2023
1 parent d5f6d66 commit c043afc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/regproc-workflow/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ spec:
ports:
- name: spring-service
containerPort: {{ .Values.springServicePort }}
- name: workflow-action
containerPort: {{ .Values.workflowActionPort }}
{{- if .Values.resources }}
resources: {{- toYaml .Values.resources | nindent 12 }}
{{- end }}
Expand Down
7 changes: 6 additions & 1 deletion charts/regproc-workflow/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ spec:
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
ports:
- port: {{ .Values.service.port }}
- name: spring-service
port: {{ .Values.service.port }}
protocol: TCP
targetPort: {{ .Values.springServicePort }}
- name: http-workflow-action
port: {{ .Values.workflowActionPort }}
protocol: TCP
targetPort: {{ .Values.workflowActionPort }}
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
12 changes: 12 additions & 0 deletions charts/regproc-workflow/templates/virtualservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,16 @@ spec:
request:
set:
x-forwarded-proto: https
- match:
- uri:
prefix: {{ .Values.istio.workflowAction.prefix }}
route:
- destination:
host: {{ template "common.names.fullname" . }}
port:
number: {{ .Values.workflowActionPort }}
headers:
request:
set:
x-forwarded-proto: https
{{- end }}
3 changes: 3 additions & 0 deletions charts/regproc-workflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ image:

## Port on which this particular spring service module is running.
springServicePort: 8026
workflowActionPort: 8023

## Configure extra options for liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
Expand Down Expand Up @@ -418,3 +419,5 @@ istio:
gateways:
- istio-system/internal
prefix: /registrationprocessor/v1/workflowmanager
workflowAction:
prefix: /registrationprocessor/v1/workflowmanager/workflowaction

0 comments on commit c043afc

Please sign in to comment.