Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit 6345cf9

Browse files
committed
working helm chart
1 parent aab6a67 commit 6345cf9

File tree

105 files changed

+8315
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+8315
-113
lines changed

Fineract-CN-Helm/fineract-cn/Chart.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ dependencies:
77
- name: postgresql
88
version: 11.9.5
99
repository: "https://charts.bitnami.com/bitnami"
10-
alias: postgres
10+
alias: postgres
11+
- name: cassandra
12+
version: 9.7.6
13+
repository: "https://charts.bitnami.com/bitnami"
14+
alias: cassandra
Binary file not shown.

Fineract-CN-Helm/fineract-cn/requirements.lock

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@ dependencies:
22
- name: postgresql
33
repository: https://charts.bitnami.com/bitnami
44
version: 11.9.5
5-
digest: sha256:7de4a9159b954f04043a1022404550fb9d51c6184dee8b3e2c436b1672893b42
6-
generated: "2022-11-23T21:13:35.540823+05:30"
5+
- name: cassandra
6+
repository: https://charts.bitnami.com/bitnami
7+
version: 9.7.6
8+
digest: sha256:e69d7a985cc21fb14e61fcb651e412d6a7d0fa0bc5e5ecde56dbc2c2d01855ec
9+
generated: "2023-01-19T20:49:48.565065+05:30"

Fineract-CN-Helm/fineract-cn/templates/accounting.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.accounting.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -36,6 +37,13 @@ spec:
3637
containers:
3738
- name: fineract-cn-accounting
3839
image: {{ .Values.accounting.image }}
40+
resources:
41+
limits:
42+
memory: "{{ .Values.accounting.limits.memory }}"
43+
cpu: "{{ .Values.accounting.limits.cpu }}"
44+
requests:
45+
memory: "{{ .Values.accounting.requests.memory }}"
46+
cpu: "{{ .Values.accounting.requests.cpu }}"
3947
imagePullPolicy: Always
4048
envFrom:
4149
- configMapRef:
@@ -75,4 +83,5 @@ spec:
7583
key: PRIVATE_KEY_EXPONENT
7684
name: secret-config
7785
ports:
78-
- containerPort: 2025
86+
- containerPort: 2025
87+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/activemq.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.activemq.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -57,4 +58,5 @@ spec:
5758
initialDelaySeconds: 45
5859
timeoutSeconds: 10
5960
periodSeconds: 60
60-
failureThreshold: 3
61+
failureThreshold: 3
62+
{{- end }}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.cassandra.enabled }}
12
# apiVersion: v1
23
# kind: PersistentVolume
34
# metadata:
@@ -15,78 +16,80 @@
1516

1617
# ---
1718

18-
apiVersion: v1
19-
kind: PersistentVolumeClaim
20-
metadata:
21-
name: cassandra-pvc
22-
namespace: {{ .Values.namespace }}
23-
spec:
24-
accessModes:
25-
- ReadWriteOnce
26-
resources:
27-
requests:
28-
storage: 2Gi
29-
limits:
30-
cpu: "500m"
31-
# volumeName: cassandra-pv
19+
#apiVersion: v1
20+
#kind: PersistentVolumeClaim
21+
#metadata:
22+
# name: cassandra-pvc
23+
# namespace: {{ .Values.namespace }}
24+
#spec:
25+
# accessModes:
26+
# - ReadWriteOnce
27+
# resources:
28+
# requests:
29+
# storage: 2Gi
30+
# limits:
31+
# cpu: "500m"
32+
# volumeName: cassandra-pv
3233

33-
---
34-
35-
apiVersion: v1
36-
kind: Service
37-
metadata:
38-
name: cassandra-cluster
39-
namespace: {{ .Values.namespace }}
40-
spec:
41-
selector:
42-
app: cassandra
43-
ports:
44-
- port: 9042
45-
targetPort: 9042
46-
type: LoadBalancer
47-
48-
---
49-
50-
apiVersion: apps/v1
51-
kind: Deployment
52-
metadata:
53-
name: cassandra-cluster
54-
namespace: {{ .Values.namespace }}
55-
spec:
56-
replicas: 1
57-
selector:
58-
matchLabels:
59-
app: cassandra
60-
strategy:
61-
rollingUpdate:
62-
maxSurge: 25%
63-
maxUnavailable: 25%
64-
type: RollingUpdate
65-
template:
66-
metadata:
67-
labels:
68-
app: cassandra
69-
spec:
70-
containers:
71-
- image: {{ .Values.cassandra.image }}
72-
imagePullPolicy: Always
73-
name: cassandra
74-
ports:
75-
- containerPort: 9042
76-
name: cql
77-
livenessProbe:
78-
exec:
79-
command:
80-
- cqlsh
81-
- --help
82-
initialDelaySeconds: 10
83-
timeoutSeconds: 1
84-
periodSeconds: 10
85-
failureThreshold: 3
86-
volumeMounts:
87-
- mountPath: /var/lib/cassandra
88-
name: cassandra-storage
89-
volumes:
90-
- name: cassandra-storage
91-
persistentVolumeClaim:
92-
claimName: cassandra-pvc
34+
#---
35+
#
36+
#apiVersion: v1
37+
#kind: Service
38+
#metadata:
39+
# name: cassandra-cluster
40+
# namespace: {{ .Values.namespace }}
41+
#spec:
42+
# selector:
43+
# app: cassandra
44+
# ports:
45+
# - port: 9042
46+
# targetPort: 9042
47+
# type: LoadBalancer
48+
#
49+
#---
50+
#
51+
#apiVersion: apps/v1
52+
#kind: Deployment
53+
#metadata:
54+
# name: cassandra-cluster
55+
# namespace: {{ .Values.namespace }}
56+
#spec:
57+
# replicas: 1
58+
# selector:
59+
# matchLabels:
60+
# app: cassandra
61+
# strategy:
62+
# rollingUpdate:
63+
# maxSurge: 25%
64+
# maxUnavailable: 25%
65+
# type: RollingUpdate
66+
# template:
67+
# metadata:
68+
# labels:
69+
# app: cassandra
70+
# spec:
71+
# containers:
72+
# - image: {{ .Values.cassandra.image }}
73+
# imagePullPolicy: Always
74+
#
75+
# name: cassandra
76+
# ports:
77+
# - containerPort: 9042
78+
# name: cql
79+
# livenessProbe:
80+
# exec:
81+
# command:
82+
# - cqlsh
83+
# - --help
84+
# initialDelaySeconds: 10
85+
# timeoutSeconds: 1
86+
# periodSeconds: 10
87+
# failureThreshold: 3
88+
# volumeMounts:
89+
# - mountPath: /var/lib/cassandra
90+
# name: cassandra-storage
91+
# volumes:
92+
# - name: cassandra-storage
93+
# persistentVolumeClaim:
94+
# claimName: cassandra-pvc
95+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/config.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ data:
3939
keycloak.bearer-only: "true"
4040
conf.enableAccountLevelAccessVerification: "false"
4141
fin.keycloak.realm.publicKey: "keycloak-rsa-public-key"
42-
keycloak.use-resource-role-mappings: "true"
42+
keycloak.use-resource-role-mappings: "true"
43+
spring.profiles.active: "cassandra"
44+
spring.autoconfigure.exclude: "org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration"
45+
authentication.enabled: "false"

Fineract-CN-Helm/fineract-cn/templates/customer.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.customer.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2024
79+
- containerPort: 2024
80+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/deposit.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.deposit.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2027
79+
- containerPort: 2027
80+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/group.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.group.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2032
79+
- containerPort: 2032
80+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/identity.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.identity.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -36,6 +37,13 @@ spec:
3637
containers:
3738
- name: identity-ms
3839
image: {{ .Values.identity.image }}
40+
resources:
41+
limits:
42+
memory: "{{ .Values.identity.limits.memory }}"
43+
cpu: "{{ .Values.identity.limits.cpu }}"
44+
requests:
45+
memory: "{{ .Values.identity.requests.memory }}"
46+
cpu: "{{ .Values.identity.requests.cpu }}"
3947
imagePullPolicy: Always
4048
envFrom:
4149
- configMapRef:
@@ -77,4 +85,5 @@ spec:
7785
key: PRIVATE_KEY_EXPONENT
7886
name: secret-config
7987
ports:
80-
- containerPort: 2021
88+
- containerPort: 2021
89+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/ingress.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
# nginx.ingress.kubernetes.io/backend-protocol: HTTP
1010
spec:
1111
rules:
12-
- host: "3813e012-us-east.lb.appdomain.cloud"
12+
- host: "fineract-cn.sandbox.fynarfin.io"
1313
http:
1414
paths:
1515
- path: /provisioner/v1/

Fineract-CN-Helm/fineract-cn/templates/notifications.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.notifications.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2033
79+
- containerPort: 2033
80+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/office.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.office.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2023
79+
- containerPort: 2023
80+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/payroll.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.payroll.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2031
79+
- containerPort: 2031
80+
{{- end }}

Fineract-CN-Helm/fineract-cn/templates/portfolio.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.portfolio.enabled }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -75,4 +76,5 @@ spec:
7576
key: PRIVATE_KEY_EXPONENT
7677
name: secret-config
7778
ports:
78-
- containerPort: 2026
79+
- containerPort: 2026
80+
{{- end }}

0 commit comments

Comments
 (0)