Skip to content

Commit aa9c12d

Browse files
authoredAug 6, 2024
Merge pull request #324 from CAAPIM/gateway_111
[charts/gateway] gateway v11.1.1 updates
2 parents a5bf45c + 6159c04 commit aa9c12d

13 files changed

+985
-462
lines changed
 

‎charts/gateway/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: "11.1.00"
2+
appVersion: "11.1.1"
33
description: This Helm Chart deploys the Layer7 Gateway in Kubernetes.
44
name: gateway
5-
version: 3.0.29
5+
version: 3.0.30
66
type: application
77
home: https://github.com/CAAPIM/apim-charts
88
maintainers:

‎charts/gateway/README.md

+258-330
Large diffs are not rendered by default.

‎charts/gateway/production-values.yaml

+74-8
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,23 @@ license:
99
accept: false
1010
# existingSecretName: ssg-license
1111

12+
# Diskless Configuration modes for the Gateway
13+
disklessConfig:
14+
# true - environment variables are used for gateway configuration
15+
# false - node.properties is used for gateway configuration
16+
enabled: true
17+
existingSecret: {}
18+
# name: gateway-secret
19+
# csi:
20+
# driver: secrets-store.csi.k8s.io
21+
# readOnly: true
22+
# volumeAttributes:
23+
# secretProviderClass: "secret-provider-class-name"
24+
1225
image:
1326
registry: docker.io
1427
repository: caapim/gateway
15-
tag: 11.1.00
28+
tag: 11.1.1
1629
pullPolicy: IfNotPresent
1730

1831
# If you are using a Hazelcast 3.x server then you need to set hazelcast.legacy.enabled=true
@@ -169,6 +182,10 @@ config:
169182
# Heap Size should be a percentage of the memory configured in resource limits
170183
# by default it is 50% - you should not go above 75%
171184
heapSize: "2g"
185+
# Gateway v11.1.1 provides min and max heap size options
186+
# If you are using an earlier version of the Gateway, these will be ignored.
187+
# minHeapSize: "1g"
188+
# maxHeapSize: "3g"
172189
javaArgs:
173190
- -Dcom.l7tech.bootstrap.autoTrustSslKey=trustAnchor,TrustedFor.SSL,TrustedFor.SAML_ISSUER
174191
- -Dcom.l7tech.server.audit.message.saveToInternal=false
@@ -235,7 +252,7 @@ config:
235252
com.l7tech.server.extension.sharedClusterInfoProvider=ssgdb
236253
# By default, FIPS module will block an RSA modulus from being used for encryption if it has been used for
237254
# signing, or visa-versa. Set true to disable this default behaviour and remain backwards compatible.
238-
com.safelogic.cryptocomply.rsa.allow_multi_use=true
255+
com.l7tech.org.bouncycastle.rsa.allow_multi_use=true
239256
# Specifies the type of Trust Store (JKS/PKCS12) provided by AdoptOpenJDK that is used by Gateway.
240257
# Must be set correctly when Gateway is running in FIPS mode. If not specified it will default to PKCS12.
241258
javax.net.ssl.trustStoreType=jks
@@ -245,6 +262,9 @@ config:
245262
# com.l7tech.server.extension.sharedKeyValueStoreProvider=redis
246263
# com.l7tech.server.extension.sharedCounterProvider=redis
247264
# com.l7tech.server.extension.sharedRateLimiterProvider=redis
265+
# Shared state provider preview settings
266+
# com.l7tech.external.assertions.keyvaluestore.sharedKeyValueStoreProvider=redis
267+
# com.l7tech.external.assertions.keyvaluestore.storeIdList=GW_STORE_ID
248268
# If you would like to use the built in OpenTelemetry SDK uncomment and set the following configuration
249269
# otel.sdk.disabled=false
250270
# otel.java.global-autoconfigure.enabled=true
@@ -396,8 +416,10 @@ config:
396416
enabled: false
397417
redis:
398418
# enable or disable redis integration
399-
# please uncomment the 3 redis properties in config.systemProperties
419+
# please uncomment the 5 redis properties in config.systemProperties
420+
# view more configurable system properties here - https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/congw11-1/policy-assertions/assertion-palette/service-availability-assertions/key-value-storage-assertions.html#_c8b71b7b-dd84-4ee6-9771-d0bc262c36e9_sys_prop_configs
400421
# Redis client properties for configuring Redis Standalone or Redis Sentinel connections
422+
# This configuration is parsed into redis.default in sharedstate_client.yaml
401423
enabled: false
402424
# We recommend using an existing secret for Redis configuration in production environments
403425
# for separation of concerns and to better secure Redis client property secrets.
@@ -406,6 +428,8 @@ config:
406428
# To configure the Redis client directly in this values file uncomment and/or set the following client properties
407429
groupName: l7GW
408430
commandTimeout: 5000
431+
connectTimeout: 10000
432+
testOnStart: false
409433
# The Gateway supports Redis master auth only.
410434
# If trying out auth using the subChart redis.auth.enabled should be true, and redis.auth.sentinel should be false (default)
411435
# If redis.auth.sentinel is enabled in the redis subChart or on your External Redis Sentinel Deployment, the Gateway will fail to start.
@@ -423,9 +447,12 @@ config:
423447
masterSet: mymaster
424448
# If the subChart is not enabled sentinel nodes need to be set
425449
nodes:
426-
- <host>:<port>
427-
- <host>:<port>
428-
- <host>:<port>
450+
- host: <host>
451+
port: <port>
452+
- host: <host>
453+
port: <port>
454+
- host: <host>
455+
port: <port>
429456
standalone: {}
430457
# host: redis-standalone
431458
# port: 6379
@@ -445,7 +472,43 @@ config:
445472
# changes will be required
446473
# Using Redis as a subChart is not recommended in production, please use your own Redis for this integration.
447474
enabled: false
448-
475+
additionalProviders: []
476+
# - name: myRegionalRedisInstance1
477+
# redis:
478+
# tls:
479+
# existingSecret: myRegionalRedisCertSecret1
480+
# key: redis.crt
481+
# # path must match ssl.cert in your provider config
482+
# path: myRegionalRedisCert.crt
483+
# config: {}
484+
# config:
485+
# regional:
486+
# type: sentinel
487+
# keyPrefixGroupName: test
488+
# username: abc
489+
# password: "def"
490+
# commandTimeout: 5000
491+
# connectTimeout: 10000
492+
# testOnStart: false
493+
# ssl:
494+
# enabled: true
495+
# cert: myRegionalRedisCert.crt
496+
# verifyPeer: false
497+
# sentinel:
498+
# master: mymaster
499+
# nodes:
500+
# - host: 127.0.0.1
501+
# port: 26379
502+
# - host: 192.168.0.1
503+
# port: 26379
504+
505+
# In Gateway v11.1.1 shared state providers like redis (redis only currently) can be configured in a yaml file.
506+
sharedStateClient:
507+
enabled: true
508+
# If you are using an existingConfigSecret for more than one shared state client that requires a tls cert, please use the customConfig section to mount
509+
# existingConfigSecret: shared-state-client-secret
510+
# reserved for future use
511+
additionalProviders: []
449512

450513
## Reference an existing secret for sensitive Gateway fields
451514
## Note that additionalSecret will no longer take effect when existingGatewaySecret is set.
@@ -474,6 +537,10 @@ database:
474537
# Configurable, update the mysql.auth.<settings> if you change this and would like to use the demo database server.
475538
username: gateway
476539
password: mypassword
540+
# Liquibase log level can be set to one of the following.
541+
# This configuration is only valid from Gateway v11.1.1 onwards.
542+
# severe/warning/info/fine(debug)/off
543+
liquibaseLogLevel: "off"
477544
name: ssg
478545

479546
## If loading a TLS Key/Pair
@@ -941,7 +1008,6 @@ startupProbe:
9411008
successThreshold: 1
9421009
failureThreshold: 15
9431010

944-
9451011
livenessProbe:
9461012
enabled: true
9471013
type: command

0 commit comments

Comments
 (0)