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

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-km-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-km-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.gatewayAPIobject{"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.backendTLSPolicyobject{"caCertificateConfigMap":"","enabled":false,"hostname":""}Backend TLS Policy for HTTPS backend connections
kubernetes.gatewayAPI.backendTLSPolicy.caCertificateConfigMapstring""CA certificate ConfigMap name for backend TLS verification
kubernetes.gatewayAPI.backendTLSPolicy.enabledboolfalseEnable BackendTLSPolicy
kubernetes.gatewayAPI.backendTLSPolicy.hostnamestring""Backend hostname for TLS verification
kubernetes.gatewayAPI.enabledbooltrueEnable Gateway API resources (HTTPRoutes and policies)
kubernetes.gatewayAPI.gatewayNamestring""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.annotationsobject{}HTTPRoute annotations
kubernetes.gatewayAPI.km.enabledbooltrueEnable HTTPRoute for Key Manager
kubernetes.gatewayAPI.km.filterslist[]HTTPRoute filters (optional)
kubernetes.gatewayAPI.km.hostnamestring"km.wso2.com"Hostname for Key Manager
kubernetes.hostAliaseslist[]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.annotationsobject{"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.enabledboolfalseEnable ingress for Key Manager
kubernetes.ingress.km.hostnamestring"km.wso2.com"Ingress hostname for Key Manager pass-through
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.openshiftobject{"enabled":false}When deploying on OpenShift.
kubernetes.routeobject{"km":{"annotations":null,"enabled":false,"hostname":"km.wso2.com"},"tls":{"certificate":"","destinationCACertificate":"","insecureEdgeTerminationPolicy":"None","key":"","termination":"passthrough"}}OpenShift Route configurations
kubernetes.route.km.annotationsstringnilRoute annotations for Key Manager
kubernetes.route.km.enabledboolfalseEnable route for Key Manager
kubernetes.route.km.hostnamestring"km.wso2.com"Route hostname for Key Manager
kubernetes.route.tlsobject{"certificate":"","destinationCACertificate":"","insecureEdgeTerminationPolicy":"None","key":"","termination":"passthrough"}TLS configuration for OpenShift routes
kubernetes.route.tls.certificatestring""TLS certificate for edge/reencrypt termination
kubernetes.route.tls.destinationCACertificatestring""Destination CA certificate for reencrypt termination
kubernetes.route.tls.insecureEdgeTerminationPolicystring"None"Insecure Edge Termination Policy
kubernetes.route.tls.keystring""TLS private key for edge/reencrypt termination
kubernetes.route.tls.terminationstring"passthrough"TLS termination type (passthrough, edge, reencrypt)
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.databases.apim_dbobject{"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.passwordstring""APIM AM_DB password
wso2.apim.configurations.databases.apim_db.poolParametersobject{"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.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":true,"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":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.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.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":"","apimDBPasswordKey":"","encryptionKeyKey":"","secretName":"","sharedDBPasswordKey":""}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 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartwso2am-km 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