wso2am-universal-gw

by Helm

Helm chartv4.7.0-5App 4.7.0

A Helm chart for the deployment of WSO2 API Management Universal Gateway profile

About this chart

wso2am-universal-gw

A Helm chart for the deployment of WSO2 API Management Universal Gateway profile

Values

KeyTypeDefaultDescription
aws.automountServiceAccountTokenbooltrueWhether to automatically mount the aws service account token to the pod
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-gw-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-gw-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,"gateway":{"annotations":{},"enabled":true,"filters":[],"hostname":"gw.wso2.com"},"gatewayName":"","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.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.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), e.g. to resolve a hostname to a specific IP inside the pod. 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.enabledboolfalseEnable ingress for Gateway
kubernetes.ingress.gateway.hostnamestring"gw.wso2.com"Ingress hostname for Gateway 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.ingress.websocket.annotationsstringnilIngress annotations for Websocket
kubernetes.ingress.websocket.enabledboolfalseEnable ingress for Websocket
kubernetes.ingress.websocket.hostnamestring"websocket.wso2.com"Ingress hostname for Websocket
kubernetes.ingress.websub.annotationsstringnilIngress annotations for Websub
kubernetes.ingress.websub.enabledboolfalseEnable ingress for Websub
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"},"tls":{"certificate":"","destinationCACertificate":"","insecureEdgeTerminationPolicy":"None","key":"","termination":"passthrough"},"websocket":{"annotations":null,"enabled":false,"hostname":"websocket.wso2.com"},"websub":{"annotations":null,"enabled":false,"hostname":"websub.wso2.com"}}OpenShift Route configurations
kubernetes.route.gateway.annotationsstringnilRoute annotations for Gateway pass-through
kubernetes.route.gateway.enabledboolfalseEnable route for Gateway
kubernetes.route.gateway.hostnamestring"gw.wso2.com"Route hostname for Gateway pass-through
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.route.websocket.annotationsstringnilRoute annotations for Websocket
kubernetes.route.websocket.enabledboolfalseEnable route for Websocket
kubernetes.route.websocket.hostnamestring"websocket.wso2.com"Route hostname for Websocket
kubernetes.route.websub.annotationsstringnilRoute annotations for Websub
kubernetes.route.websub.enabledboolfalseEnable route for Websub
kubernetes.route.websub.hostnamestring"websub.wso2.com"Route hostname for Websub
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.ELKAnalyticsobject{"enabled":false}ELK Analytics Parameters
wso2.apim.configurations.adminPasswordstring""Super admin password
wso2.apim.configurations.adminUsernamestring""Super admin username
wso2.apim.configurations.aiobject{"enabled":false,"endpoint":"","token":""}APIM AI related configurations
wso2.apim.configurations.cache.gateway_token.enabledbooltrueGateway token cache enabled
wso2.apim.configurations.cache.gateway_token.expiryTimeint15Gateway token cache expiration time in minutes
wso2.apim.configurations.cache.jwt_claim.enabledbooltrueGateway JWT claim cache enabled
wso2.apim.configurations.cache.jwt_claim.expiryTimeint900Gateway JWT claim cache expiration time in seconds
wso2.apim.configurations.cache.resource.enabledbooltrueGateway resource cache enabled
wso2.apim.configurations.cache.resource.expiryTimeint900Gateway resource cache expiration time in seconds
wso2.apim.configurations.cors.allowCredentialsboolfalseCORS Access-Control-Allow-Credentials
wso2.apim.configurations.cors.allowHeaderslist["authorization","Access-Control-Allow-Origin","Content-Type","SOAPAction","apikey","Internal-Key"]CORS Access-Control-Allow-Headers
wso2.apim.configurations.cor

Deploy wso2am-universal-gw with OpenTenant

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