Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[phee-rome] Make service type configurable. #126

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion helm/ph-ee-engine/connector-ams-mifos/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ spec:
port: 80
protocol: TCP
targetPort: 5000
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
- name: http
port: 70
protocol: TCP
targetPort: 7070
selector:
app: ph-ee-connector-ams-mifos
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
5 changes: 4 additions & 1 deletion helm/ph-ee-engine/connector-bulk/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ spec:
port: 8443
protocol: TCP
targetPort: 8443
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
selector:
app: ph-ee-connector-bulk
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
5 changes: 4 additions & 1 deletion helm/ph-ee-engine/connector-channel/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ spec:
port: 8443
protocol: TCP
targetPort: 8443
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
- name: http
port: 82
protocol: TCP
targetPort: 8443
selector:
app: ph-ee-connector-channel
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
5 changes: 4 additions & 1 deletion helm/ph-ee-engine/connector-mojaloop/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ spec:
protocol: TCP
port: 8080 # Port where Actuator endpoints are exposed
targetPort: 8080
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
selector:
app: ph-ee-connector-mojaloop-java
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ spec:
port: 80
protocol: TCP
targetPort: 8080
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}

selector:
app: ph-ee-connector
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
5 changes: 4 additions & 1 deletion helm/ph-ee-engine/operations-app/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ spec:
port: 80
protocol: TCP
targetPort: 5000
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
selector:
app: ph-ee-operations-app
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
4 changes: 4 additions & 0 deletions helm/ph-ee-engine/operations-web/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ spec:
- protocol: TCP
port: 4200
targetPort: 80
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}
6 changes: 4 additions & 2 deletions helm/ph-ee-engine/vouchers/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ spec:
port: 80
protocol: TCP
targetPort: 8080

{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort.port}}
{{- end }}
selector:
app: ph-ee-vouchers
sessionAffinity: None
type: ClusterIP
type: {{ .Values.service.type | default "ClusterIP" }}
{{- end }}