Skip to content

Install Flex with Helm#

After configuring your cluster, ingress, and database, you're ready to install Flex.

Complete override.yaml Example#

Here's a complete override.yaml combining Gateway API and MySQL:

global:
  lbIp: ""  # Add your LoadBalancer IP
  fqdn: demoexample.gluu.org  # Your domain
  isFqdnRegistered: true
  gateway-api:
    enabled: true
  nginx-ingress:
    enabled: false
gateway-api:
  gateway:
    className: nginx # Match your controller (nginx, istio, etc.)
    name: gluu-gateway
    httpPort: 80
    httpsPort: 443
    attachLbIp: false # Set the value to true if loadbalancer didn't assign IP address to the gateway automatically
config:
  configmap:
    cnSqlDbName: gluu
    cnSqlDbPort: 3306
    cnSqlDbDialect: mysql
    cnSqlDbHost: mysql.gluu.svc
    cnSqlDbUser: root # Use a dedicated user in production
    cnSqlDbTimezone: UTC
    cnSqldbUserPassword: Test1234# # Change for production!

Security

Replace example credentials with secure values for production deployments.

Adjust values based on your choices from the previous steps.

Add the Flex Helm Repository#

helm repo add gluu-flex https://docs.gluu.org/charts
helm repo update

Install Flex#

helm install gluu gluu-flex/gluu -n gluu --create-namespace -f override.yaml

Verify Installation#

Check pod status:

kubectl get pods -n gluu

Wait for all pods to reach Running or Completed status.

Upgrade an Existing Installation#

To apply configuration changes:

helm upgrade gluu gluu-flex/gluu -n gluu --create-namespace -f override.yaml

Uninstall#

To remove Flex:

helm uninstall gluu -n gluu

Chart Reference#

For all available Helm values, see the Helm Chart Reference.

Next Steps#

Proceed to Post-Installation to configure and verify your deployment.