wso2am-cp

by Helm

Helm chartv4.4.0-rcApp 4.4.0

A Helm chart for the deployment of WSO2 API Management Control Plane profile

About this chart

wso2am-cp

A Helm chart for the deployment of WSO2 API Management Control Plane profile

Values

KeyTypeDefaultDescription
aws.efs.accessPointsobject{"carbonDb1":"","carbonDb2":"","solr1":"","solr2":""}EFS Access Points for static provisioning
aws.efs.capacitystring""EFS capacity
aws.efs.directoryPermsstring"0777"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"wso2am-cp-secret-provider-class"AWS Secrets Manager secret provider class name
aws.serviceAccountNamestring""
azure.enabledboolfalseIf Azure is used as the cloud provider
azure.keyVault.activeDirectory.servicePrincipalobject{"appId":"","clientSecretName":"","credentialsSecretName":""}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.appIdstring""Application ID of the service principal used in secret-store-csi
azure.keyVault.activeDirectory.servicePrincipal.clientSecretNamestring""Client secret name of the service principal used in secret-store-csi
azure.keyVault.activeDirectory.servicePrincipal.credentialsSecretNamestring""Credentials secret name of the service principal used as nodePublisherRef
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.internalKeystoreKeyPasswordstring""Internal keystore key password identifier in keyvault
azure.keyVault.secretIdentifiers.internalKeystorePasswordstring""Internal keystore password identifier in keyvault
azure.keyVault.secretProviderClassstring"wso2am-cp-secret-provider-class"Azure Key vault secret provider class name
azure.persistence.capacitystring""Persistent volume capacity
azure.persistence.fileSharestring""Azure fileshare name
azure.persistence.secretNamestring""Azure file secret name
azure.persistence.storageClassstring""Persistent volume storage class
gcp.enabledboolfalseIf GCP is used as the cloud provider
gcp.fsobject{"capacity":"","fileshares":{"carbonDB1":{"fileShareName":"","fileStoreName":"","ip":""},"carbonDB2":{"fileShareName":"","fileStoreName":"","ip":""},"solr1":{"fileShareName":"","fileStoreName":"","ip":""},"solr2":{"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{"carbonDB1":{"fileShareName":"","fileStoreName":"","ip":""},"carbonDB2":{"fileShareName":"","fileStoreName":"","ip":""},"solr1":{"fileShareName":"","fileStoreName":"","ip":""},"solr2":{"fileShareName":"","fileStoreName":"","ip":""}}FileStore configuration for specific services
gcp.fs.fileshares.carbonDB1object{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for CarbonDB persistent storage for instance 1
gcp.fs.fileshares.carbonDB1.fileShareNamestring""FileShare of the CarbonDB persistent storage for instance 1
gcp.fs.fileshares.carbonDB1.fileStoreNamestring""FileStore of the CarbonDB persistent storage for instance 1
gcp.fs.fileshares.carbonDB1.ipstring""IP of the CarbonDB persistent storage for instance 1
gcp.fs.fileshares.carbonDB2object{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for CarbonDB2 persistent storage for instance 2
gcp.fs.fileshares.carbonDB2.fileShareNamestring""FileShare of the CarbonDB persistent storage for instance 2
gcp.fs.fileshares.carbonDB2.fileStoreNamestring""FileStore of the CarbonDB persistent storage for instance 2
gcp.fs.fileshares.carbonDB2.ipstring""IP of the CarbonDB persistent storage for instance 2
gcp.fs.fileshares.solr1object{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for Solr persistent storage for instance 1
gcp.fs.fileshares.solr1.fileShareNamestring""FileShare of the Solr persistent storage for instance 1
gcp.fs.fileshares.solr1.fileStoreNamestring""FileStore of the Solr persistent storage for instance 1
gcp.fs.fileshares.solr1.ipstring""IP of the Solr persistent storage for instance 1
gcp.fs.fileshares.solr2object{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for Solr persistent storage for instance 2
gcp.fs.fileshares.solr2.fileShareNamestring""FileShare of the Solr persistent storage for instance 2
gcp.fs.fileshares.solr2.fileStoreNamestring""FileStore of the Solr persistent storage for instance 2
gcp.fs.fileshares.solr2.ipstring""IP of the Solr persistent storage for instance 2
gcp.fs.locationstring""Region of the FileStore
gcp.fs.networkstring""Network of the FileStore
gcp.fs.tierstring""Tier of the FileStore
gcp.secretsManagerobject{"projectId":"","secret":{"secretName":"","secretVersion":""},"secretProviderClass":""}Secrets Manager configuration parameters
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.serviceAccountNamestring""Service Account with access to read secrets
kubernetes.enableAppArmorboolfalseEnable AppArmor profiles for the deployment
kubernetes.ingress.controlPlane.annotationsobject{"nginx.ingress.kubernetes.io/affinity":"cookie","nginx.ingress.kubernetes.io/backend-protocol":"HTTPS","nginx.ingress.kubernetes.io/session-cookie-hash":"sha1","nginx.ingress.kubernetes.io/session-cookie-name":"route"}Ingress annotations
kubernetes.ingress.controlPlane.hostnamestring"am.wso2.com"Ingress hostname
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.ingressClassstring"nginx"Ingress class to be used for the ingress resource
kubernetes.securityContext.runAsUserint802User ID of the container
wso2.apim.configurations.adminPasswordstring""Super admin password
wso2.apim.configurations.adminUsernamestring""Super admin username
wso2.apim.configurations.aiobject{"enabled":false,"endpoint":"","token":""}APIM AI related configurations
wso2.apim.configurations.databases.apim_dbobject{"password":"","poolParameters":{"defaultAutoCommit":false,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000},"url":"","username":""}APIM AM_DB configurations.
wso2.apim.configurations.databases.apim_db.passwordstring""APIM AM_DB password
wso2.apim.configurations.databases.apim_db.poolParametersobject{"defaultAutoCommit":false,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000}APIM database JDBC pool parameters
wso2.apim.configurations.databases.apim_db.urlstring""APIM AM_DB URL
wso2.apim.configurations.databases.apim_db.usernamestring""APIM AM_DB username
wso2.apim.configurations.databases.jdbc.driverstring""JDBC driver class name
wso2.apim.configurations.databases.shared_dbobject{"password":"","poolParameters":{"defaultAutoCommit":false,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000},"url":"","username":""}APIM SharedDB configurations.
wso2.apim.configurations.databases.shared_db.passwordstring""APIM SharedDB password
wso2.apim.configurations.databases.shared_db.poolParametersobject{"defaultAutoCommit":false,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000}APIM shared database JDBC pool parameters
wso2.apim.configurations.databases.shared_db.urlstring""APIM SharedDB URL
wso2.apim.configurations.databases.shared_db.usernamestring""APIM SharedDB username
wso2.apim.configurations.databases.typestring""Database type. eg: mysql, oracle, mssql, postgres
wso2.apim.configurations.devportal.applicationSharingImplstringnil
wso2.apim.configurations.devportal.applicationSharingTypestringnil
wso2.apim.configurations.devportal.defaultReservedUsernamestringnil
wso2.apim.configurations.devportal.displayDeprecatedAPIsstringnil
wso2.apim.configurations.devportal.displayMutipleVersionsstringnil
wso2.apim.configurations.devportal.enableAnonymousModestringnil
wso2.apim.configurations.devportal.enableApplicationSharingstringnil
wso2.apim.configurations.devportal.enableCommentsstringnil
wso2.apim.configurations.devportal.enableCrossTenantSubscriptionsstringnil
wso2.apim.configurations.devportal.enableForumstringnil
wso2.apim.configurations.devportal.enableKeyProvisioningstringnil
wso2.apim.configurations.devportal.enableRatingsstringnil
wso2.apim.configurations.devportal.loginUsernameCaseInsensitivestringnil
wso2.apim.configurations.gateway.environmentslist[{"description":"This is a hybrid gateway that handles both production and sandbox token traffic.","displayInApiConsole":true,"gatewayType":"Regular","httpHostname":"gw.wso2.com","name":"Default","provider":"wso2","serviceName":"wso2am-gateway-service","servicePort":9443,"showAsTokenEndpointUrl":true,"type":"hybrid","websubHostname":"websub.wso2.com","wsHostname":"websocket.wso2.com"}]APIM Gateway environments
wso2.apim.configurations.gatewayTypestring"Regular"
wso2.apim.configurations.iskm.enabledboolfalseIf Identity Server is used as the Resident KM
wso2.apim.configurations.iskm.serviceNamestring""Kubernetes service name exposing Identity Server
wso2.apim.configurations.iskm.servicePortint9443Kubernetes service port exposing Identity Serve
wso2.apim.configurations.oauth_config.allowedScopeslist["^device_.*,openid"]List of allow-listed scopes
wso2.apim.configurations.oauth_config.enableTokenEncryptionboolfalseEnable token encryption
wso2.apim.configurations.oauth_config.enableTokenHashingboolfalseEnable token hashing
wso2.apim.configurations.oauth_config.oauth2JWKSUrlstring""
wso2.apim.configurations.openTelemetry.enabledboolfalseOpen Telemetry enabled
wso2.apim.configurations.openTelemetry.hostnamestring""Remote tracer hostname
wso2.apim.configurations.openTelemetry.namestring""Remote tracer name. e.g. jaeger, zipkin, OTLP
wso2.apim.configurations.openTelemetry.portstring""Remote tracer port
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.publisher.enablePortalConfigurationOnlyModeboolfalse
wso2.apim.configurations.publisher.internalKeyIssuerstring""
wso2.apim.configurations.publisher.supportedDocumentTypesstring""Supported document types in Publisher. This should be used only if there are additional document types to be supported.
wso2.apim.configurations.security.jksSecretNamestring"apim-keystore-secret"Kubernetes secret containing the keystores and truststore
wso2.apim.configurations.security.keystores.internal.aliasstring"wso2carbon"Inte

Deploy wso2am-cp with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wso2am-cp 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-cp is pinned at v4.4.0-rc 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