Skip to content

Commit

Permalink
[MOSIP-35639] Resolved the resource allocation issue for apitestrig a…
Browse files Browse the repository at this point in the history
…nd dslorchestrator

Signed-off-by: syed salman <[email protected]>
  • Loading branch information
syedsalman3753 committed Sep 6, 2024
1 parent 3236f5d commit f8702e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/verify-keycloak-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'charts/keycloak-init/**'
workflow_dispatch:
inputs:
message:
Expand Down
3 changes: 3 additions & 0 deletions charts/apitestrig/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ spec:
ports:
- name: spring-service
containerPort: {{ $.Values.springServicePort }}
{{- if $.Values.resources }}
resources: {{- toYaml $.Values.resources | nindent 14 }}
{{- end }}
volumeMounts:
{{- if $.Values.enable_insecure }}
- mountPath: /usr/local/openjdk-11/lib/security/cacerts
Expand Down
3 changes: 3 additions & 0 deletions charts/dslorchestrator/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ spec:
ports:
- name: spring-service
containerPort: {{ $.Values.springServicePort }}
{{- if $.Values.resources }}
resources: {{- toYaml $.Values.resources | nindent 14 }}
{{- end }}
volumeMounts:
- name: {{ template "common.names.fullname" $ }}
mountPath: {{ $.Values.persistence.mountDir }}
Expand Down

0 comments on commit f8702e5

Please sign in to comment.