wso2am-km
by Helm
Helm chartv4.7.0-5App 4.7.0
A Helm chart for the deployment of WSO2 API Manager all-in-one distribution.
About this chart
wso2am-km
A Helm chart for the deployment of WSO2 API Manager all-in-one distribution.
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-km-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-km-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.gatewayAPI | object | {"backendTLSPolicy":{"caCertificateConfigMap":"","enabled":false,"hostname":""},"enabled":true,"gatewayName":"","km":{"annotations":{},"enabled":true,"filters":[],"hostname":"km.wso2.com"}} | Kubernetes Gateway API configurations (alternative to Ingress) Requires Gateway API CRDs to be installed in the cluster The Gateway resource must be created externally before deploying this chart See resources/assets/sample-gateway.yaml for an example Gateway manifest |
| kubernetes.gatewayAPI.backendTLSPolicy | object | {"caCertificateConfigMap":"","enabled":false,"hostname":""} | Backend TLS Policy for HTTPS backend connections |
| kubernetes.gatewayAPI.backendTLSPolicy.caCertificateConfigMap | string | "" | CA certificate ConfigMap name for backend TLS verification |
| kubernetes.gatewayAPI.backendTLSPolicy.enabled | bool | false | Enable BackendTLSPolicy |
| kubernetes.gatewayAPI.backendTLSPolicy.hostname | string | "" | Backend hostname for TLS verification |
| kubernetes.gatewayAPI.enabled | bool | true | Enable Gateway API resources (HTTPRoutes and policies) |
| kubernetes.gatewayAPI.gatewayName | string | "" | Name of the externally-created Gateway resource that HTTPRoutes will reference (e.g., istio, nginx, contour, envoy-gateway, gke-l7-global-external-managed) This Gateway must exist in the same namespace before installing the chart |
| kubernetes.gatewayAPI.km.annotations | object | {} | HTTPRoute annotations |
| kubernetes.gatewayAPI.km.enabled | bool | true | Enable HTTPRoute for Key Manager |
| kubernetes.gatewayAPI.km.filters | list | [] | HTTPRoute filters (optional) |
| kubernetes.gatewayAPI.km.hostname | string | "km.wso2.com" | Hostname for Key Manager |
| kubernetes.hostAliases | list | [] | Entries added to the pod /etc/hosts (Pod spec hostAliases). Use with wso2.apim.configurations.internalHostname to resolve the internal hostname to the pod itself, e.g. hostAliases: - ip: "127.0.0.1" hostnames: - "am.example.com" |
| kubernetes.ingress.km.annotations | object | {"nginx.ingress.kubernetes.io/backend-protocol":"HTTPS","nginx.ingress.kubernetes.io/proxy-buffer-size":"8k","nginx.ingress.kubernetes.io/proxy-buffering":"on"} | Ingress annotations for Key Manager pass-through |
| kubernetes.ingress.km.enabled | bool | false | Enable ingress for Key Manager |
| kubernetes.ingress.km.hostname | string | "km.wso2.com" | Ingress hostname for Key Manager pass-through |
| kubernetes.ingress.ratelimit.burstLimit | string | "" | Ingress ratelimit burst limit |
| kubernetes.ingress.ratelimit.enabled | bool | false | Ingress rate limit |
| kubernetes.ingress.ratelimit.zoneName | string | "" | Ingress ratelimit zone name |
| kubernetes.ingress.tlsSecret | string | "" | Kubernetes secret created for Ingress TLS |
| kubernetes.ingressClass | string | "nginx" | Ingress class to be used for the ingress resource |
| kubernetes.openshift | object | {"enabled":false} | When deploying on OpenShift. |
| kubernetes.route | object | {"km":{"annotations":null,"enabled":false,"hostname":"km.wso2.com"},"tls":{"certificate":"","destinationCACertificate":"","insecureEdgeTerminationPolicy":"None","key":"","termination":"passthrough"}} | OpenShift Route configurations |
| kubernetes.route.km.annotations | string | nil | Route annotations for Key Manager |
| kubernetes.route.km.enabled | bool | false | Enable route for Key Manager |
| kubernetes.route.km.hostname | string | "km.wso2.com" | Route hostname for Key Manager |
| kubernetes.route.tls | object | {"certificate":"","destinationCACertificate":"","insecureEdgeTerminationPolicy":"None","key":"","termination":"passthrough"} | TLS configuration for OpenShift routes |
| kubernetes.route.tls.certificate | string | "" | TLS certificate for edge/reencrypt termination |
| kubernetes.route.tls.destinationCACertificate | string | "" | Destination CA certificate for reencrypt termination |
| kubernetes.route.tls.insecureEdgeTerminationPolicy | string | "None" | Insecure Edge Termination Policy |
| kubernetes.route.tls.key | string | "" | TLS private key for edge/reencrypt termination |
| kubernetes.route.tls.termination | string | "passthrough" | TLS termination type (passthrough, edge, reencrypt) |
| 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.databases.apim_db | object | {"password":"","poolParameters":{"defaultAutoCommit":true,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000},"url":"","username":""} | APIM AM_DB configurations. |
| wso2.apim.configurations.databases.apim_db.password | string | "" | APIM AM_DB password |
| wso2.apim.configurations.databases.apim_db.poolParameters | object | {"defaultAutoCommit":true,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000} | APIM database JDBC pool parameters |
| wso2.apim.configurations.databases.apim_db.url | string | "" | APIM AM_DB URL |
| wso2.apim.configurations.databases.apim_db.username | string | "" | APIM AM_DB username |
| wso2.apim.configurations.databases.jdbc.driver | string | "" | JDBC driver class name |
| wso2.apim.configurations.databases.shared_db | object | {"password":"","poolParameters":{"defaultAutoCommit":true,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000},"url":"","username":""} | APIM SharedDB configurations. |
| wso2.apim.configurations.databases.shared_db.password | string | "" | APIM SharedDB password |
| wso2.apim.configurations.databases.shared_db.poolParameters | object | {"defaultAutoCommit":true,"maxActive":100,"maxWait":60000,"minIdle":5,"testOnBorrow":true,"testWhileIdle":true,"validationInterval":30000} | APIM shared database JDBC pool parameters |
| wso2.apim.configurations.databases.shared_db.url | string | "" | APIM SharedDB URL |
| wso2.apim.configurations.databases.shared_db.username | string | "" | APIM SharedDB username |
| wso2.apim.configurations.databases.type | string | "" | Database type. eg: mysql, oracle, mssql, postgres |
| 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":"","apimDBPasswordKey":"","encryptionKeyKey":"","secretName":"","sharedDBPasswordKey":""} | 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 append |
Deploy wso2am-km with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wso2am-km 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-km 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