wso2am-gateway

by Helm

Helm chartv4.7.0-1App 3.2.0

A Helm chart for the deployment of WSO2 API Management deployment

About this chart

wso2am-gateway

A Helm chart for the deployment of WSO2 API Management deployment

Values

KeyTypeDefaultDescription
aws.efs.accessPointsobject{"synapseConfigs":""}EFS Access Points for static provisioning
aws.efs.accessPoints.synapseConfigsstring""EFS Access Point ID for mounting synapse configs
aws.efs.capacitystring""EFS capacity
aws.efs.directoryPermsstring""EFS directory permissions
aws.efs.fileSystemIdstring""EFS file system ID for mounting the persistent volume
aws.enabledbooltrueIf AWS is used as the cloud provider
aws.regionstring""AWS region
aws.secretsManager.secretIdentifiers.internalKeystorePasswordobject{"secretKey":"","secretName":""}Internal keystore password identifier in secrets manager
aws.secretsManager.secretIdentifiers.internalKeystorePassword.secretKeystring""AWS Secrets Manager secret key
aws.secretsManager.secretIdentifiers.internalKeystorePassword.secretNamestring""AWS Secrets Manager secret name
aws.secretsManager.secretProviderClassstring""AWS Secrets Manager secret provider class name
aws.secretsManager.serviceAccountNamestring""
azure.enabledboolfalseIf Azure is used as the cloud provider
azure.keyVault.activeDirectory.servicePrincipalobject{"clientID":"","clientSecret":""}Service Principal created for transacting with the target Azure Key Vault For advanced details refer to official documentation (https://github.com/Azure/secrets-store-csi-driver-provider-azure/blob/master/docs/service-principal-mode.md)
azure.keyVault.activeDirectory.servicePrincipal.clientIDstring""Application ID of the service principal used in secret-store-csi
azure.keyVault.activeDirectory.servicePrincipal.clientSecretstring""Client secret name of the service principal used in secret-store-csi
azure.keyVault.activeDirectory.tenantIdstring""Azure Active Directory tenant ID of the target Key Vault
azure.keyVault.namestring""Azure Key vault used for credential management
azure.keyVault.resourceManager.resourceGroupstring""Name of the Azure Resource Group to which the target Azure Key Vault belongs
azure.keyVault.resourceManager.subscriptionIdstring""Subscription ID of the target Azure Key Vault
azure.keyVault.secretIdentifiers.internalKeystorePasswordIDstring""Internal keystore password identifier in keyvault
azure.keyVault.secretProviderClassstring""Azure Key vault secret provider class name
azure.persistence.capacitystring""Persistent volume capacity
azure.persistence.fileShares.synapseConfigsstring""Azure fileshare share name for synapse configs
azure.persistence.secretNamestring""Azure file secret name
azure.persistence.storageAccountTypestring""Persistent volume storage account type
azure.persistence.storageClassstring""Persistent volume storage class
gcp.enabledbooltrueIf GCP is used as the cloud provider
gcp.fsobject{"capacity":"","fileshares":{"sharedConfigs":{"fileShareName":"","fileStoreName":"","ip":""}},"location":"","network":"","tier":""}File Store configuration parameters
gcp.fs.capacitystring""Storage capacity of the file system (in GB or other appropriate units)
gcp.fs.filesharesobject{"sharedConfigs":{"fileShareName":"","fileStoreName":"","ip":""}}FileStore configuration for specific services
gcp.fs.fileshares.sharedConfigsobject{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for CarbonDB persistent storage for instance 1
gcp.fs.fileshares.sharedConfigs.fileShareNamestring""FileShare of the CarbonDB persistent storage for instance 1
gcp.fs.fileshares.sharedConfigs.fileStoreNamestring""FileStore of the CarbonDB persistent storage for instance 1
gcp.fs.fileshares.sharedConfigs.ipstring""IP of the CarbonDB persistent storage for instance 1
gcp.fs.locationstring""Region of the FileStore
gcp.fs.networkstring""Network of the FileStore
gcp.fs.tierstring""Tier of the FileStore
gcp.secretsManager.projectIdstring""Project ID
gcp.secretsManager.secret.secretNamestring""Name of the secret
gcp.secretsManager.secret.secretVersionstring""Version of the secret
gcp.secretsManager.secretProviderClassstring""Secret provider class
gcp.secretsManager.serviceAccountNamestring""Service Account with access to read secrets
kubernetes.ingress.gateway.annotationsobject{"nginx.ingress.kubernetes.io/backend-protocol":"HTTPS","nginx.ingress.kubernetes.io/proxy-buffer-size":"8k","nginx.ingress.kubernetes.io/proxy-buffering":"on"}Gateway ingress annotations
kubernetes.ingress.gateway.hostnamestring"gw.wso2.com"Gateway ingress hostname
kubernetes.ingress.ingressClassstring"nginx"Ingress class used for exposing the API Manager Gateway
kubernetes.ingress.ratelimit.burstLimitstring""Ingress ratelimit burst limit
kubernetes.ingress.ratelimit.enabledboolfalseIngress rate limit
kubernetes.ingress.ratelimit.zoneNamestring""Ingress ratelimit zone name
kubernetes.ingress.tlsSecretstring""Kubernetes secret created for Ingress TLS
kubernetes.ingress.websocket.annotationsobject{"nginx.ingress.kubernetes.io/backend-protocol":"HTTPS","nginx.ingress.kubernetes.io/proxy-buffer-size":"8k","nginx.ingress.kubernetes.io/proxy-buffering":"on"}Gateway websocket ingress annotations
kubernetes.ingress.websocket.hostnamestring"ws.gw.wso2.com"Gateway websocket ingress hostname
kubernetes.resourceSuffixstring""Suffix for kubernetes resources when multiple Gateway deployments are used in the same cluster
kubernetes.securityContext.runAsUserstring"802"User ID of the container
wso2.apim.configurations.adminPasswordstring"admin"Admin password of the API Manager
wso2.apim.configurations.adminUsernamestring"admin"Admin username of the API Manager
wso2.apim.configurations.analytics.analyticsAuthUrlsstringnilAuthentication URL list for Analytics
wso2.apim.configurations.analytics.analyticsUrlsstringnilURL list for Analytics
wso2.apim.configurations.analytics.enabledboolfalseEnable or disable APIM Analytics (true/false)
wso2.apim.configurations.analytics.eventPublishingTypestringnilEvent publishing type
wso2.apim.configurations.analytics.passwordstringnilPassword for Analytics
wso2.apim.configurations.analytics.receiverPasswordstringnilReceiver password for Analytics
wso2.apim.configurations.analytics.receiverUsernamestringnilReceiver username for Analytics
wso2.apim.configurations.analytics.storeApiPasswordstringnilStore API password for Analytics
wso2.apim.configurations.analytics.storeApiUrlstringnilStore API URL for Analytics
wso2.apim.configurations.analytics.storeApiUsernamestringnilStore API username for Analytics
wso2.apim.configurations.analytics.usernamestringnilUsername for Analytics
wso2.apim.configurations.cache.gatewayToken.enabledboolfalseEnable or disable gateway token cache (true/false)
wso2.apim.configurations.cache.gatewayToken.expiryTimestring"15m"Expiration time for gateway token cache
wso2.apim.configurations.cache.jwtClaim.enabledboolfalseEnable or disable JWT claim cache (true/false)
wso2.apim.configurations.cache.jwtClaim.expiryTimestring"15m"Expiration time for JWT claim cache
wso2.apim.configurations.cache.kmToken.enabledboolfalseEnable or disable KM token cache (true/false)
wso2.apim.configurations.cache.kmToken.expiryTimestring"15m"Expiration time for KM token cache
wso2.apim.configurations.cache.publisherRoles.enabledboolfalsePublisher roles cache configuration
wso2.apim.configurations.cache.recentApis.enabledboolfalseEnable or disable recent APIs cache (true/false)
wso2.apim.configurations.cache.resource.enabledboolfalseEnable or disable resource cache (true/false)
wso2.apim.configurations.cache.resource.expiryTimestring"900s"Expiration time for resource cache
wso2.apim.configurations.cache.scopes.enabledboolfalseScopes cache configuration
wso2.apim.configurations.cache.tags.enabledboolfalseEnable or disable tags cache (true/false)
wso2.apim.configurations.cache.tags.expiryTimestring"2m"Expiration time for tags cache
wso2.apim.configurations.cors.allowCredentialsboolfalseCORS Access-Control-Allow-Credentials
wso2.apim.configurations.cors.allowHeaderslist["authorization","Access-Control-Allow-Origin","Content-Type","SOAPAction","apikey","Internal-Key"]CORS Access-Control-Allow-Headers
wso2.apim.configurations.cors.allowMethodslist["GET","PUT","POST","DELETE","PATCH","OPTIONS"]CORS Access-Control-Allow-Methods
wso2.apim.configurations.cors.allowOriginslist["*"]CORS Access-Control-Allow-Origin
wso2.apim.configurations.cors.enableForWSboolfalseEnable CORS for Websockets
wso2.apim.configurations.cors.enabledbooltrueCORS configuration enabled
wso2.apim.configurations.databases.jdbc.driverstring"com.mysql.cj.jdbc.Driver"JDBC driver class name
wso2.apim.configurations.databases.sharedDB.passwordstring"wso2carbon"Shared database password
wso2.apim.configurations.databases.sharedDB.poolParametersobject{"indexingFrequencyInSeconds":10,"removeAbandoned":true,"removeAbandonedTimeout":300,"testOnBorrow":true,"validationQuery":"SELECT 1"}JDBC pool parameters for shared database
wso2.apim.configurations.databases.sharedDB.urlstring"jdbc:mysql://localhost:3306/shared_db?useSSL=false"Shared database URL
wso2.apim.configurations.databases.sharedDB.usernamestring"wso2carbon"Shared database username
wso2.apim.configurations.databases.typestring"mysql"Azure database type
wso2.apim.configurations.iskm.enabledboolfalseSet true ISKM is used instead of Resident KM
wso2.apim.configurations.iskm.serviceNamestring""ISKM kubernetes service name if ISKM is used instead of Resident KM
wso2.apim.configurations.iskm.servicePortstringnilISKM kubernetes service port
wso2.apim.configurations.jwt.claimDialectstring"http://wso2.org/claims"
wso2.apim.configurations.jwt.claimsExtractorImplstring"org.wso2.carbon.apimgt.impl.token.DefaultClaimsRetriever"
wso2.apim.configurations.jwt.enableUserClaimsstring"false"
wso2.apim.configurations.jwt.enabledboolfalse
wso2.apim.configurations.jwt.encodingstring"base64"
wso2.apim.configurations.jwt.generatorImplstring"org.wso2.carbon.apimgt.keymgt.token.JWTGenerator"
wso2.apim.configurations.jwt.headerstring"X-JWT-Assertion"
wso2.apim.configurations.jwt.signingAlgorithmstring"SHA256withRSA"
wso2.apim.configurations.km.servicePortint9443Key Manager service port
wso2.apim.configurations.km.serviceUrlstring"wso2am-cp-service"Key Manager service name
wso2.apim.configurations.log4j2.appendersstring""Appenders that can be enabled
wso2.apim.configurations.log4j2.loggersstring"AUDIT_LOG_CONSOLE, HTTP_ACCESS_CONSOLE, TRANSACTION_CONSOLE, CORRELATION_CONSOLE, jms"Console loggers that can be enabled. Allowed values are AUDIT_LOG_CONSOLE, HTTP_ACCESS_CONSOLE, TRANSACTION_CONSOLE, CORRELATION_CONSOLE
wso2.apim.configurations.oauthConfigobject{"authHeader":null,"enableOutboundAuthHeader":null,"enableTokenEncryption":null,"enableTokenHashing":null,"enabled":false,"revokeEndpoint":null}OAuth configuration
wso2.apim.configurations.oauthConfig.authHeaderstringnilAuthentication header configuration
wso2.apim.configurations.oauthConfig.enableOutboundAuthHeaderstringnilEnable outbound authentication header for OAuth
wso2.apim.configurations.oauthConfig.enableTokenEncryptionstringnilEnable token encryption for OAuth
wso2.apim.configurations.oauthConfig.enableTokenHashingstringnilEnable token hashing for OAuth
wso2.apim.configurations.oauthConfig.enabledboolfalseEnable or disable OAuth functionality (true/false)
wso2.apim.configurations.oauthConfig.revokeEndpointstringnilOAuth2 token revocation endpoint URL
wso2.apim.configurations.openTracer.enabledboolfalseOpen Tracing enabled
wso2.apim.configurations.openTracer.namestring""Remote tracer name. e.g. jaeger, zipkin
wso2.apim.configurations.openTracer.properties.hostnamestring""Remote tracer hostname
wso2.apim.configurations.openTracer.properties.portstring""Remote tracer port
wso2.apim.configurations.security.jksSecretNamestring""Kubernetes secret name containing the keystores and truststore
wso2.apim.configurations.security.keystores.internal.aliasstring"wso2carbon"Internal keystore alias
wso2.apim.configurations.security.keystores.internal.enabledbooltrueInternal keystore enable

Deploy wso2am-gateway with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wso2am-gateway on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartwso2am-gateway is pinned at v4.7.0-1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply