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

KeyTypeDefaultDescription
aws.automountServiceAccountTokenbooltrueWhether to automatically mount the aws service account token to the pod
aws.ecr.registrystring""AWS Elastic Container Registry name
aws.enabledboolfalseIf 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.secretIdentifiers.secretEncryptionKeyobject{"secretKey":"","secretName":""}Symmetric encryption key identifier in secrets manager
aws.secretsManager.secretIdentifiers.secretEncryptionKey.secretKeystring""AWS Secrets Manager secret key
aws.secretsManager.secretIdentifiers.secretEncryptionKey.secretNamestring""AWS Secrets Manager secret name
aws.secretsManager.secretProviderClassstring"wso2am-tm-secret-provider-class"AWS Secrets Manager secret provider class name
aws.serviceAccountNamestring""
azure.acr.registrystring""Azure container registry name
azure.automountServiceAccountTokenbooltrueWhether to automatically mount the azure service account token to the pod
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.secretIdentifiers.secretEncryptionKeystring""Symmetric encryption key identifier in keyvault
azure.keyVault.secretProviderClassstring"wso2am-tm-secret-provider-class"Azure Key vault secret provider class name
azure.serviceAccountNamestring""Name of the Azure Kubernetes service account
gcp.automountServiceAccountTokenbooltrueWhether to automatically mount the gcp service account token to the pod
gcp.enabledboolfalseIf GCP is used as the cloud provider
gcp.secretsManagerobject{"projectId":"","secret":{"secretName":"","secretVersion":""},"secretEncryptionKey":{"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.secretEncryptionKeyobject{"secretName":"","secretVersion":""}Symmetric encryption key identifier in Secret Manager
gcp.secretsManager.secretEncryptionKey.secretNamestring""Name of the encryption key secret
gcp.secretsManager.secretEncryptionKey.secretVersionstring""Version of the encryption key secret
gcp.secretsManager.secretProviderClassstring""Secret provider class
gcp.serviceAccountNamestring""Service Account with access to read secrets
kubernetes.configMapsobject{"scripts":{"defaultMode":"0407"}}Set UNIX permissions over the executable scripts
kubernetes.enableAppArmorboolfalseEnable AppArmor profiles for the deployment
kubernetes.extraVolumeMountslist[]Mount extra volumes to the deployment pods, e.g to mount secrets extraVolumeMounts: - name: my-secret mountPath: /opt/wso2/secrets readOnly: true
kubernetes.extraVolumeslist[]Define the extra volumes to be mounted extraVolumes: - name: my-secret secret: secretName: my-k8s-secret
kubernetes.hostAliaseslist[]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.openshiftobject{"enabled":false}When deploying on OpenShift.
kubernetes.securityContext.runAsGroupint10001Group ID of the container
kubernetes.securityContext.runAsUserint10001User ID of the container
kubernetes.securityContext.seLinuxobject{"enabled":false,"level":""}SELinux context for the container
kubernetes.securityContext.seccompProfileobject{"localhostProfile":"","type":"RuntimeDefault"}Seccomp profile for the container
kubernetes.securityContext.seccompProfile.typestring"RuntimeDefault"Seccomp profile type(RuntimeDefault, Unconfined or Localhost)
wso2.apim.configurations.adminPasswordstring""Super admin password
wso2.apim.configurations.adminUsernamestring""Super admin username
wso2.apim.configurations.distributedThrottlingobject{"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.cipherTransformationstring"AES/GCM/NoPadding"Symmetric cipher transformation. AES/GCM/NoPadding is used as the symmetric cipher transformation.
wso2.apim.configurations.encryption.internalCryptoProviderstring"org.wso2.carbon.crypto.provider.SymmetricKeyInternalCryptoProvider"Internal crypto provider implementation used for symmetric encryption.
wso2.apim.configurations.encryption.keystring""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.serviceUrlstring"wso2am-cp-service"Event hub (control plane) loadbalancer service url
wso2.apim.configurations.eventhub.urlslist["wso2am-cp-1-service","wso2am-cp-2-service"]Event hub service urls
wso2.apim.configurations.existingSecretobject{"adminPasswordKey":"","encryptionKeyKey":"","secretName":""}Read passwords from a common secret
wso2.apim.configurations.extraConfigsstringnilAdd 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.enabledboolfalse
wso2.apim.configurations.iskm.serviceNamestring""
wso2.apim.configurations.km.servicePortint9443Key Manager service port
wso2.apim.configurations.km.serviceUrlstring"wso2am-cp-service"Key manager service name if default Resident KM is used
wso2.apim.configurations.oauth_config.enableTokenEncryptionboolfalseEnable token encryption
wso2.apim.configurations.oauth_config.enableTokenHashingboolfalseEnable token hashing
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.security.jksExistingSecretobject{"internalKeystoreKeyPasswordKey":"","internalKeystorePasswordKey":"","primaryKeystoreKeyPasswordKey":"","primaryKeystorePasswordKey":"","secretName":"","tlsKeystoreKeyPasswordKey":"","tlsKeystorePasswordKey":"","truststorePasswordKey":""}Existing secret containing the passwords for the keystores
wso2.apim.configurations.security.jksSecretNamestring"apim-keystore-secret"Kubernetes secret containing the keystores and truststore
wso2.apim.configurations.security.keystores.internal.aliasstring"wso2carbon"Internal keystore alias
wso2.apim.configurations.security.keystores.internal.enabledboolfalseInternal keystore enabled
wso2.apim.configurations.security.keystores.internal.keyPasswordstring""Internal keystore key password
wso2.apim.configurations.security.keystores.internal.namestring"wso2carbon.jks"Internal keystore name
wso2.apim.configurations.security.keystores.internal.passwordstring""Internal keystore password
wso2.apim.configurations.security.keystores.primary.aliasstring"wso2carbon"Primary keystore alias
wso2.apim.configurations.security.keystores.primary.enabledboolfalsePrimary keystore enabled
wso2.apim.configurations.security.keystores.primary.keyPasswordstring""Primary keystore key password
wso2.apim.configurations.security.keystores.primary.namestring"wso2carbon.jks"Primary keystore name
wso2.apim.configurations.security.keystores.primary.passwordstring""Primary keystore password
wso2.apim.configurations.security.keystores.tls.aliasstring"wso2carbon"TLS keystore alias
wso2.apim.configurations.security.keystores.tls.enabledbooltrueTLS keystore enabled
wso2.apim.configurations.security.keystores.tls.keyPasswordstring""TLS keystore key password
wso2.apim.configurations.security.keystores.tls.namestring"wso2carbon.jks"TLS keystore name
wso2.apim.configurations.security.keystores.tls.passwordstring""TLS keystore password
wso2.apim.configurations.security.truststore.namestring"client-truststore.jks"Truststore name
wso2.apim.configurations.security.truststore.passwordstring""Truststore password
wso2.apim.configurations.userStore.propertiesobject{"key":"value"}User store properties
wso2.apim.configurations.userStore.typestring"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.appendersstring""Appenders
wso2.apim.log4j2.loggersstring""Console loggers that can be enabled. Allowed values are AUDIT_LOG_CONSOLE, HTTP_ACCESS_CONSOLE, TRANSACTION_CONSOLE, CORRELATION_CONSOLE
wso2.apim.mountStartupScriptboolfalseStartup script mount status
wso2.apim.secureVaultEnabledboolfalseSecure vault enabled
wso2.apim.startupArgsstring""Startup arguments for APIM
wso2.apim.ulimitsobject{"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.nofilestringnilMaximum number of open files (nofile). Set to meet WSO2 recommended requirements.
wso2.apim.ulimits.nprocstringnilMaximum number of processes (nproc). Set to meet WSO2 recommended requirements.
wso2.apim.versionstring"4.7.0"APIM version
wso2.deployment.cpuUtilizationPercentageint75Target CPU utilization percentage for HPA
wso2.deployment.envsobject{}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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartwso2am-tm is pinned at v4.7.0-5 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