Helm chartv0.2.12

A Helm chart for Barracuda CloudGen Access Proxy

About this chart

cga-proxy

A Helm chart for Barracuda CloudGen Access Proxy

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add barracuda-cloudgen-access https://barracuda-cloudgen-access.github.io/helm-charts
$ helm install my-release barracuda-cloudgen-access/cga-proxy

URLs

Homepage: https://github.com/barracuda-cloudgen-access/helm-charts

Product homepage: https://www.barracuda.com/products/cloudgen-access

Requirements

RepositoryNameVersion
https://dandydeveloper.github.io/chartsredis-ha4.12.9

Values

KeyTypeDefaultDescription
commonPodAnnotationsobject{}Provide pod annotations that all pods will use
envoy.customEnvlist[]Configure envoy with environment variables. https://campus.barracuda.com/product/cloudgenaccess/doc/93201605/access-proxy-parameters
envoy.image.pullPolicystring"IfNotPresent"Docker image pullPolicy
envoy.image.repositorystring"fydeinc/envoyproxy"Docker image to use
envoy.image.sha256string"9fadb0a491db89393736a90188c8a2f01b57835abdd4cd14684f82fd198a7d50"Docker image checksum
envoy.image.tagstring"1.13.8.2"Docker image tag
envoy.loadBalancer.annotationsobject{}Specify required annotations to configure load balancer
envoy.loadBalancer.enabledboolfalseSet to true to deploy a load balancer
envoy.loadBalancer.externalTrafficPolicystring"Local"Set externalTrafficPolicy for the load balancer service. "Local" is recomended to ensure minimum hops. change to "Cluster" if you experience network issues
envoy.loadBalancer.portint443Set load balancer external port. Must match the one defined on CloudGen Access Console
envoy.nodeSelectorobject{}
envoy.podAnnotationsobject{}
envoy.podSecurityContextobject{}
envoy.replicaCountint1Number of replicas for deployment. Envoy can scale as desired
envoy.resourcesobject{}Recomended resources for initial deployment
envoy.securityContextobject{}
envoy.service.port.listenerint8000Port number to serve listener service
envoy.service.port.metricsint9000Port number to serve prometheus metrics
envoy.tolerationslist[]
fullnameOverridestring""Provide a name to substitute for the full names of resources
http-test.enabledboolfalseEnabling http-test creates a deployment with an nginx pod serving a simple http page
http-test.image.pullPolicystring"IfNotPresent"Docker image pullPolicy
http-test.image.repositorystring"fydeinc/http-test"Docker image to use
http-test.image.sha256string""Docker image checksum
http-test.image.tagstring"latest"Docker image tag
http-test.nodeSelectorobject{}
http-test.podAnnotationsobject{}
http-test.podSecurityContextobject{}
http-test.resourcesobject{"limits":{"cpu":"10m","memory":"16M"},"requests":{"cpu":"10m","memory":"16M"}}Recomended resources for deployment
http-test.securityContextobject{}
http-test.service.port.httpint80Port number to serve http service
http-test.tolerationslist[]
nameOverridestring""Provide a name in place of cga-proxy for labels
orchestrator.customEnvlist[]Configure orchestrator with environment variables. https://campus.barracuda.com/product/cloudgenaccess/doc/93201605/access-proxy-parameters
orchestrator.enrollmentToken.existingSecret.keystring""Existing secret key
orchestrator.enrollmentToken.existingSecret.namestring""Existing secret resource name
orchestrator.enrollmentToken.newSecret.valuestring""Enrollment token value to be created with new secret
orchestrator.highAvailability.enabledboolfalseEnabling high availability will deploy a redis cluster. To use an existing redis cluster provide redis settings with environment variables instead
orchestrator.image.pullPolicystring"IfNotPresent"Docker image pullPolicy
orchestrator.image.repositorystring"fydeinc/fydeproxy"Docker image to use
orchestrator.image.sha256string"80e7c00bc9e7cdc04af8821a41db3ea68aa76629ac1024da812b371f48d32a6d"Docker image checksum
orchestrator.image.tagstring"1.3.17"Docker image tag
orchestrator.nodeSelectorobject{}
orchestrator.podAnnotationsobject{}
orchestrator.podSecurityContextobject{}
orchestrator.replicaCountint1Number of replicas for deployment. If orchestrator.highAvailability.enabled is "true" this value is incremented by one
orchestrator.resourcesobject{}Recomended resources for initial deployment
orchestrator.securityContextobject{}
orchestrator.service.port.grpcint50051Port number to serve grpc service
orchestrator.service.port.metricsint9010Port number to serve prometheus metrics
orchestrator.tolerationslist[]
priorityClassNamestring""Set priorityClassName for envoy and orchestrator
redis-haobjectRequired values are pre-configured.Only used when orchestrator.highAvailability.enabled is "true". All parameters: https://github.com/DandyDeveloper/charts/blob/master/charts/redis-ha/values.yaml
redis-ha.exporter.resourcesobject{}Recomended resources for initial deployment
redis-ha.exporter.serviceMonitor.enabledboolfalseSet to true to create a serviceMonitor resource
redis-ha.hardAntiAffinityboolfalseRecomended to set to true in production
redis-ha.redis.resourcesobject{}Recomended resources for initial deployment
redis-ha.replicasint3Replicas number for each component. Minimum required is 3
redis-ha.sentinel.resourcesobject{}Recomended resources for initial deployment
revisionHistoryLimitint10Set revision history limit
serviceMonitorboolfalseCreate service monitor resources

Deploy cga-proxy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cga-proxy 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 chartcga-proxy is pinned at v0.2.12 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