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 bbad897 commit fab36d5
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/verify-keycloak-init.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: verify-keycloak-init

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'charts/keycloak-init/**'
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
push:
branches:
- '!release-branch'
- master
- 1.*
- develop
- MOSIP*
- release*
paths:
- 'charts/keycloak-init/**'

jobs:
verify-keycloak-init:
uses: mosip/kattu/.github/workflows/verify-keycloak-init.yml@master
with:
kc_values_file_path: charts/keycloak-init/values.yaml
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 fab36d5

Please sign in to comment.