Skip to content

Commit d9de8ec

Browse files
committed
[MOSIP-43434] [MOSIP-43615] [MOSIP-43648] added changes
Signed-off-by: Chandra Keshav Mishra <chandrakeshavmishra@gmail.com>
1 parent c6986aa commit d9de8ec

File tree

8 files changed

+34
-15
lines changed

8 files changed

+34
-15
lines changed

helm/mock-abis/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
charts/
2-
Charts.lock
2+
Chart.lock

helm/mock-abis/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ spec:
3434
{{- if .Values.hostAliases }}
3535
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
3636
{{- end }}
37+
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds | default 60 }}
3738
{{- if .Values.affinity }}
3839
affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }}
3940
{{- else }}

helm/mock-abis/values.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,16 @@ resources:
123123
# resources, such as Minikube. If you do want to specify resources, uncomment the following
124124
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
125125
limits:
126-
cpu: 200m
127-
memory: 1500Mi
126+
cpu: 800m
127+
memory: 3400Mi
128128
requests:
129129
cpu: 100m
130130
memory: 500Mi
131131

132132
additionalResources:
133133
## Specify any JAVA_OPTS string here. These typically will be specified in conjunction with above resources
134134
## Example: java_opts: "-Xms500M -Xmx500M"
135-
javaOpts: "-Xms750M -Xmx750M"
135+
javaOpts: "-Xms2250M -Xmx2250M"
136136

137137
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
138138
## Clamav container already runs as 'mosip' user, so we may not need to enable this
@@ -213,7 +213,16 @@ podAnnotations: {}
213213

214214
## lifecycleHooks for the container to automate configuration before or after startup.
215215
##
216-
lifecycleHooks: {}
216+
lifecycleHooks:
217+
preStop:
218+
exec:
219+
command:
220+
- sh
221+
- -c
222+
- sleep 30
223+
224+
## Termination grace perios : the maximum amount of time (in seconds) Kubernetes will wait for a container to gracefully shut down
225+
terminationGracePeriodSeconds: 60
217226

218227
## Custom Liveness probes for
219228
##
@@ -311,7 +320,7 @@ volumePermissions:
311320
enabled: false
312321
image:
313322
registry: docker.io
314-
repository: bitnami/bitnami-shell
323+
repository: mosipid/bitnami-shell
315324
tag: "10"
316325
pullPolicy: Always
317326
## Optionally specify an array of imagePullSecrets.

helm/mock-mv/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
charts/
2-
Charts.lock
2+
Chart.lock

helm/mock-mv/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ spec:
3333
{{- if .Values.hostAliases }}
3434
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
3535
{{- end }}
36+
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds | default 60 }}
3637
{{- if .Values.affinity }}
3738
affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }}
3839
{{- else }}

helm/mock-mv/values.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ resources:
127127
# resources, such as Minikube. If you do want to specify resources, uncomment the following
128128
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
129129
limits:
130-
cpu: 200m
131-
memory: 1500Mi
130+
cpu: 150m
131+
memory: 1200Mi
132132
requests:
133133
cpu: 100m
134134
memory: 300Mi
@@ -217,7 +217,16 @@ podAnnotations: {}
217217

218218
## lifecycleHooks for the container to automate configuration before or after startup.
219219
##
220-
lifecycleHooks: {}
220+
lifecycleHooks:
221+
preStop:
222+
exec:
223+
command:
224+
- sh
225+
- -c
226+
- sleep 30
227+
228+
## Termination grace perios : the maximum amount of time (in seconds) Kubernetes will wait for a container to gracefully shut down
229+
terminationGracePeriodSeconds: 60
221230

222231
## Custom Liveness probes for
223232
##
@@ -316,8 +325,8 @@ volumePermissions:
316325
enabled: false
317326
image:
318327
registry: docker.io
319-
repository: bitnami/bitnami-shell
320-
tag: "10"
328+
repository: mosipid/os-shell
329+
tag: "12-debian-12-r46"
321330
pullPolicy: Always
322331
## Optionally specify an array of imagePullSecrets.
323332
## Secrets must be manually created in the namespace.

mock-abis/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
<maven.surefire.plugin.version>3.2.5</maven.surefire.plugin.version>
3737
<maven.antrun.plugin.version>3.0.0</maven.antrun.plugin.version>
3838
<central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version>
39-
<spring.boot.maven.plugin.version>3.2.5</spring.boot.maven.plugin.version>
40-
39+
<spring.boot.maven.plugin.version>3.2.3</spring.boot.maven.plugin.version>
4140
<!-- git -->
4241
<git.commit.id.plugin.version>3.0.1</git.commit.id.plugin.version>
4342

mock-mv/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<maven.resources.plugin.version>3.0.1</maven.resources.plugin.version>
3838
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
3939
<central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version>
40-
<spring.boot.maven.plugin.version>3.2.5</spring.boot.maven.plugin.version>
40+
<spring.boot.maven.plugin.version>3.2.3</spring.boot.maven.plugin.version>
4141

4242
<!-- git -->
4343
<git.commit.id.plugin.version>3.0.1</git.commit.id.plugin.version>

0 commit comments

Comments
 (0)