wso2am-tm
by Helm
Helm chartv4.7.0-5App 4.7.0
A Helm chart for the deployment of WSO2 API Management Traffic Manager profile
About this chart
wso2am-tm
A Helm chart for the deployment of WSO2 API Management Traffic Manager profile
Values
| Key | Type | Default | Description |
|---|---|---|---|
| aws.automountServiceAccountToken | bool | true | Whether to automatically mount the aws service account token to the pod |
| aws.ecr.registry | string | "" | AWS Elastic Container Registry name |
| aws.enabled | bool | false | If AWS is used as the cloud provider |
| aws.region | string | "" | AWS region |
| aws.secretsManager.secretIdentifiers.internalKeystorePassword | object | {"secretKey":"","secretName":""} | Internal keystore password identifier in secrets manager |
| aws.secretsManager.secretIdentifiers.internalKeystorePassword.secretKey | string | "" | AWS Secrets Manager secret key |
| aws.secretsManager.secretIdentifiers.internalKeystorePassword.secretName | string | "" | AWS Secrets Manager secret name |
| aws.secretsManager.secretIdentifiers.secretEncryptionKey | object | {"secretKey":"","secretName":""} | Symmetric encryption key identifier in secrets manager |
| aws.secretsManager.secretIdentifiers.secretEncryptionKey.secretKey | string | "" | AWS Secrets Manager secret key |
| aws.secretsManager.secretIdentifiers.secretEncryptionKey.secretName | string | "" | AWS Secrets Manager secret name |
| aws.secretsManager.secretProviderClass | string | "wso2am-tm-secret-provider-class" | AWS Secrets Manager secret provider class name |
| aws.serviceAccountName | string | "" | |
| azure.acr.registry | string | "" | Azure container registry name |
| azure.automountServiceAccountToken | bool | true | Whether to automatically mount the azure service account token to the pod |
| azure.enabled | bool | false | If Azure is used as the cloud provider |
| azure.keyVault.activeDirectory.servicePrincipal | object | {"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.appId | string | "" | Application ID of the service principal used in secret-store-csi |
| azure.keyVault.activeDirectory.servicePrincipal.clientSecretName | string | "" | Client secret name of the service principal used in secret-store-csi |
| azure.keyVault.activeDirectory.servicePrincipal.credentialsSecretName | string | "" | Credentials secret name of the service principal used as nodePublisherRef |
| azure.keyVault.activeDirectory.tenantId | string | "" | Azure Active Directory tenant ID of the target Key Vault |
| azure.keyVault.name | string | "" | Azure Key vault used for credential management |
| azure.keyVault.resourceManager.resourceGroup | string | "" | Name of the Azure Resource Group to which the target Azure Key Vault belongs |
| azure.keyVault.resourceManager.subscriptionId | string | "" | Subscription ID of the target Azure Key Vault |
| azure.keyVault.secretIdentifiers.internalKeystoreKeyPassword | string | "" | Internal keystore key password identifier in keyvault |
| azure.keyVault.secretIdentifiers.internalKeystorePassword | string | "" | Internal keystore password identifier in keyvault |
| azure.keyVault.secretIdentifiers.secretEncryptionKey | string | "" | Symmetric encryption key identifier in keyvault |
| azure.keyVault.secretProviderClass | string | "wso2am-tm-secret-provider-class" | Azure Key vault secret provider class name |
| azure.serviceAccountName | string | "" | Name of the Azure Kubernetes service account |
| gcp.automountServiceAccountToken | bool | true | Whether to automatically mount the gcp service account token to the pod |
| gcp.enabled | bool | false | If GCP is used as the cloud provider |
| gcp.secretsManager | object | {"projectId":"","secret":{"secretName":"","secretVersion":""},"secretEncryptionKey":{"secretName":"","secretVersion":""},"secretProviderClass":""} | Secrets Manager configuration parameters |
| gcp.secretsManager.projectId | string | "" | Project ID |
| gcp.secretsManager.secret.secretName | string | "" | Name of the secret |
| gcp.secretsManager.secret.secretVersion | string | "" | Version of the secret |
| gcp.secretsManager.secretEncryptionKey | object | {"secretName":"","secretVersion":""} | Symmetric encryption key identifier in Secret Manager |
| gcp.secretsManager.secretEncryptionKey.secretName | string | "" | Name of the encryption key secret |
| gcp.secretsManager.secretEncryptionKey.secretVersion | string | "" | Version of the encryption key secret |
| gcp.secretsManager.secretProviderClass | string | "" | Secret provider class |
| gcp.serviceAccountName | string | "" | Service Account with access to read secrets |
| kubernetes.configMaps | object | {"scripts":{"defaultMode":"0407"}} | Set UNIX permissions over the executable scripts |
| kubernetes.enableAppArmor | bool | false | Enable AppArmor profiles for the deployment |
| kubernetes.extraVolumeMounts | list | [] | Mount extra volumes to the deployment pods, e.g to mount secrets extraVolumeMounts: - name: my-secret mountPath: /opt/wso2/secrets readOnly: true |
| kubernetes.extraVolumes | list | [] | Define the extra volumes to be mounted extraVolumes: - name: my-secret secret: secretName: my-k8s-secret |
| kubernetes.hostAliases | list | [] | Entries added to the pod /etc/hosts (Pod spec hostAliases), e.g. to resolve a hostname to a specific IP inside the pod. hostAliases: - ip: "127.0.0.1" hostnames: - "am.example.com" |
| kubernetes.openshift | object | {"enabled":false} | When deploying on OpenShift. |
| kubernetes.securityContext.runAsGroup | int | 10001 | Group ID of the container |
| kubernetes.securityContext.runAsUser | int | 10001 | User ID of the container |
| kubernetes.securityContext.seLinux | object | {"enabled":false,"level":""} | SELinux context for the container |
| kubernetes.securityContext.seccompProfile | object | {"localhostProfile":"","type":"RuntimeDefault"} | Seccomp profile for the container |
| kubernetes.securityContext.seccompProfile.type | string | "RuntimeDefault" | Seccomp profile type(RuntimeDefault, Unconfined or Localhost) |
| wso2.apim.configurations.adminPassword | string | "" | Super admin password |
| wso2.apim.configurations.adminUsername | string | "" | Super admin username |
| wso2.apim.configurations.distributedThrottling | object | {"corePoolSize":5,"enable":false,"keyvalueStore":{"blockWhenExhausted":true,"host":"","maxIdle":20,"maxTotal":20,"minEvictableIdleTimeMillis":3000,"minIdle":4,"password":"","port":6379,"ssl":false,"testWhileIdle":true,"timeBetweenEvictionRunsMillis":1200,"user":""},"syncInterval":1,"type":"redis"} | APIM distributed throttling configurations |
| wso2.apim.configurations.encryption.cipherTransformation | string | "AES/GCM/NoPadding" | Symmetric cipher transformation. AES/GCM/NoPadding is used as the symmetric cipher transformation. |
| wso2.apim.configurations.encryption.internalCryptoProvider | string | "org.wso2.carbon.crypto.provider.SymmetricKeyInternalCryptoProvider" | Internal crypto provider implementation used for symmetric encryption. |
| wso2.apim.configurations.encryption.key | string | "" | Symmetric encryption key shared by all nodes. This must be set explicitly and must be the same across all nodes before first startup. |
| wso2.apim.configurations.eventhub.serviceUrl | string | "wso2am-cp-service" | Event hub (control plane) loadbalancer service url |
| wso2.apim.configurations.eventhub.urls | list | ["wso2am-cp-1-service","wso2am-cp-2-service"] | Event hub service urls |
| wso2.apim.configurations.existingSecret | object | {"adminPasswordKey":"","encryptionKeyKey":"","secretName":""} | Read passwords from a common secret |
| wso2.apim.configurations.extraConfigs | string | nil | Add custom configurations to deployment.toml. A table that the chart already renders (e.g. [server], or [secrets] when secure vault is enabled) is merged into the existing table instead of being added a second time; rendering fails if one of its keys is already set by the chart. Other tables are appended. For example, to add a secure vault entry and reference it: [secrets] my_alias = "ENCRYPTED_VALUE" # cipher-tool encrypted value [identity.auth_framework.endpoint] app_password = "$secret{my_alias}" |
| wso2.apim.configurations.iskm.enabled | bool | false | |
| wso2.apim.configurations.iskm.serviceName | string | "" | |
| wso2.apim.configurations.km.servicePort | int | 9443 | Key Manager service port |
| wso2.apim.configurations.km.serviceUrl | string | "wso2am-cp-service" | Key manager service name if default Resident KM is used |
| wso2.apim.configurations.oauth_config.enableTokenEncryption | bool | false | Enable token encryption |
| wso2.apim.configurations.oauth_config.enableTokenHashing | bool | false | Enable token hashing |
| wso2.apim.configurations.openTelemetry.enabled | bool | false | Open Telemetry enabled |
| wso2.apim.configurations.openTelemetry.hostname | string | "" | Remote tracer hostname |
| wso2.apim.configurations.openTelemetry.name | string | "" | Remote tracer name. e.g. jaeger, zipkin, OTLP |
| wso2.apim.configurations.openTelemetry.port | string | "" | Remote tracer port |
| wso2.apim.configurations.openTracer.enabled | bool | false | Open Tracing enabled |
| wso2.apim.configurations.openTracer.name | string | "" | Remote tracer name. e.g. jaeger, zipkin |
| wso2.apim.configurations.openTracer.properties.hostname | string | "" | Remote tracer hostname |
| wso2.apim.configurations.openTracer.properties.port | string | "" | Remote tracer port |
| wso2.apim.configurations.security.jksExistingSecret | object | {"internalKeystoreKeyPasswordKey":"","internalKeystorePasswordKey":"","primaryKeystoreKeyPasswordKey":"","primaryKeystorePasswordKey":"","secretName":"","tlsKeystoreKeyPasswordKey":"","tlsKeystorePasswordKey":"","truststorePasswordKey":""} | Existing secret containing the passwords for the keystores |
| wso2.apim.configurations.security.jksSecretName | string | "apim-keystore-secret" | Kubernetes secret containing the keystores and truststore |
| wso2.apim.configurations.security.keystores.internal.alias | string | "wso2carbon" | Internal keystore alias |
| wso2.apim.configurations.security.keystores.internal.enabled | bool | false | Internal keystore enabled |
| wso2.apim.configurations.security.keystores.internal.keyPassword | string | "" | Internal keystore key password |
| wso2.apim.configurations.security.keystores.internal.name | string | "wso2carbon.jks" | Internal keystore name |
| wso2.apim.configurations.security.keystores.internal.password | string | "" | Internal keystore password |
| wso2.apim.configurations.security.keystores.primary.alias | string | "wso2carbon" | Primary keystore alias |
| wso2.apim.configurations.security.keystores.primary.enabled | bool | false | Primary keystore enabled |
| wso2.apim.configurations.security.keystores.primary.keyPassword | string | "" | Primary keystore key password |
| wso2.apim.configurations.security.keystores.primary.name | string | "wso2carbon.jks" | Primary keystore name |
| wso2.apim.configurations.security.keystores.primary.password | string | "" | Primary keystore password |
| wso2.apim.configurations.security.keystores.tls.alias | string | "wso2carbon" | TLS keystore alias |
| wso2.apim.configurations.security.keystores.tls.enabled | bool | true | TLS keystore enabled |
| wso2.apim.configurations.security.keystores.tls.keyPassword | string | "" | TLS keystore key password |
| wso2.apim.configurations.security.keystores.tls.name | string | "wso2carbon.jks" | TLS keystore name |
| wso2.apim.configurations.security.keystores.tls.password | string | "" | TLS keystore password |
| wso2.apim.configurations.security.truststore.name | string | "client-truststore.jks" | Truststore name |
| wso2.apim.configurations.security.truststore.password | string | "" | Truststore password |
| wso2.apim.configurations.userStore.properties | object | {"key":"value"} | User store properties |
| wso2.apim.configurations.userStore.type | string | "database_unique_id" | User store type. https://apim.docs.wso2.com/en/latest/administer/managing-users-and-roles/managing-user-stores/configure-primary-user-store/configuring-the-primary-user-store/ |
| wso2.apim.log4j2.appenders | string | "" | Appenders |
| wso2.apim.log4j2.loggers | string | "" | Console loggers that can be enabled. Allowed values are AUDIT_LOG_CONSOLE, HTTP_ACCESS_CONSOLE, TRANSACTION_CONSOLE, CORRELATION_CONSOLE |
| wso2.apim.mountStartupScript | bool | false | Startup script mount status |
| wso2.apim.secureVaultEnabled | bool | false | Secure vault enabled |
| wso2.apim.startupArgs | string | "" | Startup arguments for APIM |
| wso2.apim.ulimits | object | {"nofile":null,"nproc":null} | ulimit settings for the APIM container. Required when running on platforms like AWS Fargate where the default nproc and nofile limits (1024) are insufficient. |
| wso2.apim.ulimits.nofile | string | nil | Maximum number of open files (nofile). Set to meet WSO2 recommended requirements. |
| wso2.apim.ulimits.nproc | string | nil | Maximum number of processes (nproc). Set to meet WSO2 recommended requirements. |
| wso2.apim.version | string | "4.7.0" | APIM version |
| wso2.deployment.cpuUtilizationPercentage | int | 75 | Target CPU utilization percentage for HPA |
| wso2.deployment.envs | object | {} | Environment variables for the deployment Example |
Deploy wso2am-tm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wso2am-tm 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartwso2am-tm is pinned at v4.7.0-5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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