wso2am-all-in-one

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-all-in-one

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.efs.accessPointsobject{"carbonDb":"","solr":""}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.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-am-secret-provider-class"AWS Secrets Manager secret provider class name
aws.serviceAccountNamestring""
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-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
azure.serviceAccountstring"wso2am-all-in-one-svc-account"
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.fsobject{"capacity":"","fileshares":{"carbonDB":{"fileShareName":"","fileStoreName":"","ip":""},"solr":{"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{"carbonDB":{"fileShareName":"","fileStoreName":"","ip":""},"solr":{"fileShareName":"","fileStoreName":"","ip":""}}FileStore configuration for specific services
gcp.fs.fileshares.carbonDBobject{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for CarbonDB persistent storage
gcp.fs.fileshares.carbonDB.fileShareNamestring""FileShare of the CarbonDB persistent storage
gcp.fs.fileshares.carbonDB.fileStoreNamestring""FileStore of the CarbonDB persistent storage
gcp.fs.fileshares.carbonDB.ipstring""IP of the CarbonDB persistent storage
gcp.fs.fileshares.solrobject{"fileShareName":"","fileStoreName":"","ip":""}FileShare configs for Solr persistent storage
gcp.fs.fileshares.solr.fileShareNamestring""FileShare of the Solr persistent storage
gcp.fs.fileshares.solr.fileStoreNamestring""FileStore of the Solr persistent storage
gcp.fs.fileshares.solr.ipstring""IP of the Solr persistent storage
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":""},"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.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":""},"backendTrafficPolicy":{"cookie":{"name":"WSO2_CP_STICKY_SESSION","ttl":"0s"},"enabled":false},"defaultConfigMapCreation":false,"enabled":true,"gateway":{"annotations":{},"enabled":true,"filters":[],"hostname":"gw.wso2.com"},"gatewayName":"","management":{"annotations":{},"enabled":true,"filters":[],"hostname":"am.wso2.com"},"websocket":{"annotations":{},"enabled":true,"filters":[],"hostname":"websocket.wso2.com"},"websub":{"annotations":{},"enabled":true,"filters":[],"hostname":"websub.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.backendTrafficPolicy.cookie.namestring"WSO2_CP_STICKY_SESSION"Cookie name used for sticky sessions
kubernetes.gatewayAPI.backendTrafficPolicy.cookie.ttlstring"0s"Cookie TTL. Use "0s" for a session cookie (expires when browser closes)
kubernetes.gatewayAPI.backendTrafficPolicy.enabledboolfalseEnable BackendTrafficPolicy
kubernetes.gatewayAPI.defaultConfigMapCreationboolfalseCreate CA certificate ConfigMap for BackendTLSPolicy
kubernetes.gatewayAPI.enabledbooltrueEnable Gateway API resources (HTTPRoutes and policies)
kubernetes.gatewayAPI.gateway.annotationsobject{}HTTPRoute annotations
kubernetes.gatewayAPI.gateway.enabledbooltrueEnable HTTPRoute for Gateway pass-through
kubernetes.gatewayAPI.gateway.filterslist[]HTTPRoute filters (optional)
kubernetes.gatewayAPI.gateway.hostnamestring"gw.wso2.com"Hostname for Gateway pass-through
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.management.annotationsobject{}HTTPRoute annotations
kubernetes.gatewayAPI.management.enabledbooltrueEnable HTTPRoute for Management Console, Publisher, DevPortal and Admin Portal
kubernetes.gatewayAPI.management.hostnamestring"am.wso2.com"Hostname for API Manager Management interfaces
kubernetes.gatewayAPI.websocket.annotationsobject{}HTTPRoute annotations
kubernetes.gatewayAPI.websocket.enabledbooltrueEnable HTTPRoute for Websocket
kubernetes.gatewayAPI.websocket.filterslist[]HTTPRoute filters (optional)
kubernetes.gatewayAPI.websocket.hostnamestring"websocket.wso2.com"Hostname for Websocket
kubernetes.gatewayAPI.websub.annotationsobject{}HTTPRoute annotations
kubernetes.gatewayAPI.websub.enabledbooltrueEnable HTTPRoute for Websub
kubernetes.gatewayAPI.websub.filterslist[]HTTPRoute filters (optional)
kubernetes.gatewayAPI.websub.hostnamestring"websub.wso2.com"Hostname for Websub
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.gateway.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 Gateway pass-through
kubernetes.ingress.gateway.enabledboolfalse
kubernetes.ingress.gateway.hostnamestring"gw.wso2.com"Ingress hostname for Gateway pass-through
kubernetes.ingress.management.annotations."nginx.ingress.kubernetes.io/affinity"string"cookie"
kubernetes.ingress.management.annotations."nginx.ingress.kubernetes.io/backend-protocol"string"HTTPS"
kubernetes.ingress.management.annotations."nginx.ingress.kubernetes.io/session-cookie-hash"string"sha1"
kubernetes.ingress.management.annotations."nginx.ingress.kubernetes.io/session-cookie-name"string"route"
kubernetes.ingress.management.enabledboolfalse
kubernetes.ingress.management.hostnamestring"am.wso2.com"
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.ingress.websocket.annotationsstringnilIngress annotations for Websocket
kubernetes.ingress.websocket.enabledboolfalse
kubernetes.ingress.websocket.hostnamestring"websocket.wso2.com"Ingress hostname for Websocket
kubernetes.ingress.websub.annotationsstringnilIngress annotations for Websub
kubernetes.ingress.websub.enabledboolfalse
kubernetes.ingress.websub.hostnamestring"websub.wso2.com"Ingress hostname for Websub
kubernetes.ingressClassstring"nginx"Ingress class to be used for the ingress resource
kubernetes.openshiftobject{"enabled":false}When deploying on OpenShift.
kubernetes.routeobject`{"gateway":{"annotations":null,"enabled":false,"hostname":"gw.wso2.com"},"

Deploy wso2am-all-in-one with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wso2am-all-in-one 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-all-in-one 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