Skip to content

Commit

Permalink
Merge pull request #292 from CAAPIM/ks_upstream_stable
Browse files Browse the repository at this point in the history
[charts/portal] Changes to remove the redundant java_options  of portal-data container
  • Loading branch information
Gazza7205 authored Feb 15, 2024
2 parents fbe4444 + 11cf694 commit 164da0f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/portal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "5.2.2"
description: CA API Developer Portal
name: portal
version: 2.3.4
version: 2.3.5
type: application
home: https://github.com/CAAPIM/apim-charts
maintainers:
Expand Down
3 changes: 1 addition & 2 deletions charts/portal/templates/portal-data/portal-data-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ data:
DATABASE_REQUIRE_SSL: {{ .Values.global.databaseRequireSSL | quote }}
FILE_REPOSITORY_DATABASE_NAME: {{ include "portal-db-name" . | quote }}
HELP_BASE_URL: {{ include "portal.help.page" . | quote }}
JAVA_OPTIONS: {{ .Values.portalData.javaOptions | default "-Xms2g -Xmx2g" | quote }}
JAVA_OPTIONS: {{ .Values.portalData.javaOptions | default "-Xms2048m -Xmx2048m" | quote }}
# TODO: Find out why this is hardcoded, can it be ommitted??
HOST_NAME_ID: MTAuMTc1LjI0Ny4yNDQgMTcyLjE4LjAuMSAxNzIuMTcuMC4xIAo=
JAVA_OPTIONS: -Xms2048m -Xmx2048m
NSS_SDB_USE_CACHE: "no"
PAPI_PUBLIC_HOST: {{ include "tssg-public-host" . | quote }}
PORTAL_SUBDOMAIN: {{ required "Please fill in domain in values.yaml" .Values.portal.domain | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/portal/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ dispatcher:
portalData:
forceRedeploy: false
replicaCount: 2
javaOptions: -Xms2g -Xmx2g
javaOptions: -Xms2048m -Xmx2048m
image:
pullPolicy: IfNotPresent
pdb:
Expand Down
2 changes: 1 addition & 1 deletion charts/portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ dispatcher:
portalData:
forceRedeploy: false
replicaCount: 1
javaOptions: -Xms2g -Xmx2g
javaOptions: -Xms2048m -Xmx2048m
image:
pullPolicy: IfNotPresent
pdb:
Expand Down

0 comments on commit 164da0f

Please sign in to comment.