-
Notifications
You must be signed in to change notification settings - Fork 62
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
Addition of Financial portal and settlement services #233
Changes from 2 commits
369ec81
d5a71a3
afaedec
c6e4b44
dc0e97c
7df5f44
6441afe
212dcd2
92300e7
410cbfe
a973b97
a8b82a6
ac7ece8
0d83d78
335702b
93c7aa1
0a7f277
247c34e
d94908e
2dc543b
b7e1063
a2a037a
f6e3e59
c8860be
a36bc6c
293aa2e
0923be2
464c821
c7affc5
2da741a
b96d147
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
description: Finance portal backend service | ||
description: Finance portal service | ||
name: finance-portal | ||
version: 8.6.0 | ||
appVersion: "8.6.0" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{- if .Values.backend.ingress.enabled -}} | ||
{{- $serviceName := include "finance-portal.fullname" . -}} | ||
{{- $backendPort := .Values.backend.service.port -}} | ||
{{- $backendPath := .Values.backend.ingress.externalPath -}} | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ template "finance-portal.fullname" . }}-backend | ||
labels: | ||
app: {{ template "finance-portal.fullname" . }} | ||
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
annotations: | ||
{{- range $key, $value := .Values.backend.ingress.annotations }} | ||
{{ $key }}: {{ $value | quote }} | ||
{{- end }} | ||
spec: | ||
rules: | ||
{{- range $host := .Values.backend.ingress.hosts }} | ||
- host: {{ $host }} | ||
http: | ||
paths: | ||
- path: {{ $backendPath }} | ||
backend: | ||
serviceName: {{ $serviceName }} | ||
servicePort: {{ $backendPort }} | ||
{{- end -}} | ||
{{- if .Values.backend.ingress.tls }} | ||
tls: | ||
{{ toYaml .Values.backend.ingress.tls | indent 4 }} | ||
{{- end -}} | ||
{{- end -}} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{{- if .Values.frontend.ingress.enabled -}} | ||
{{- $serviceName := include "finance-portal.fullname" . -}} | ||
{{- $frontendPort := .Values.frontend.service.port -}} | ||
{{- $frontendPath := .Values.frontend.ingress.externalPath -}} | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ template "finance-portal.fullname" . }}-frontend | ||
labels: | ||
app: {{ template "finance-portal.fullname" . }} | ||
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
annotations: | ||
{{- range $key, $value := .Values.frontend.ingress.annotations }} | ||
{{ $key }}: {{ $value | quote }} | ||
{{- end }} | ||
spec: | ||
rules: | ||
{{- range $host := .Values.frontend.ingress.hosts }} | ||
- host: {{ $host }} | ||
http: | ||
paths: | ||
- path: {{ $frontendPath }} | ||
backend: | ||
serviceName: {{ $serviceName }} | ||
servicePort: {{ $frontendPort }} | ||
{{- end -}} | ||
{{- if .Values.frontend.ingress.tls }} | ||
tls: | ||
{{ toYaml .Values.frontend.ingress.tls | indent 4 }} | ||
{{- end -}} | ||
{{- end -}} | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,24 +45,28 @@ config: | |
report2: "something" | ||
|
||
frontend: | ||
service: | ||
port: 80 | ||
image: | ||
repository: mojaloop/finance-portal-ui | ||
tag: v0.0.3 | ||
pullPolicy: Always | ||
port: 80 | ||
ingress: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This config is not used in the ingress definition. Please advise? |
||
enabled: true | ||
externalPath: / | ||
hosts: | ||
api: finance-portal.local | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: '/' | ||
tls: | ||
|
||
externalPath: /(.*) | ||
hosts: | ||
api: finance-portal-frontend.local | ||
annotations: {} | ||
# kubernetes.io/ingress.class: nginx | ||
# nginx.ingress.kubernetes.io/rewrite-target: /$1 | ||
backend: | ||
service: | ||
port: 3000 | ||
image: | ||
repository: mojaloop/finance-portal-backend-service | ||
tag: v0.0.4 | ||
tag: v0.0.5 | ||
pullPolicy: Always | ||
port: 3000 | ||
init: | ||
|
@@ -75,9 +79,9 @@ backend: | |
secretsMountPoint: '/secrets' | ||
ingress: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This config is not used in the ingress definition. Please advise? |
||
enabled: true | ||
externalPath: /admin-portal-backend | ||
hosts: | ||
api: finance-portal.local | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: '/' | ||
tls: | ||
externalPath: /admin-portal-backend/(.*) | ||
hosts: | ||
api: finance-portal-backend.local | ||
annotations: {} | ||
# kubernetes.io/ingress.class: nginx | ||
# nginx.ingress.kubernetes.io/rewrite-target: /$1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
description: Portal Settlement | ||
name: portal-settlement | ||
version: 8.6.0 | ||
appVersion: "8.6.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about labels apply here.