1# Default values for unleash.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
7# preferredDuringSchedulingIgnoredDuringExecution:
11# - key: app.kubernetes.io/instance
15# topologyKey: failure-domain.beta.kubernetes.io/zone
18# HorizontalPodAutoscaler
19# https://kubernetes.io/de/docs/tasks/run-application/horizontal-pod-autoscale/
21# Unleash v4 comes with basic username/password and API tokens.
23# To login the first time use the following:
25# password: unleash4all
27# You can also add your own custom auth:
28# See https://github.com/Unleash/unleash-examples/tree/main/v4 for an example index.js configmap. Do be aware that since 6.0.0 of Unleash OSS, it no longer bundles passport libraries, so the v4 examples are no longer valid.
29# If you want SSO, you can use images from our community repos. There are prebuilt images for Google, Azure and OIDC.
30# Update your image.repository setting in your custom values.yaml file to use the image from the [community repo](https://github.com/Unleash/unleash-docker-community?tab=readme-ov-file#looking-for-sso-and-coming-from-httpsgithubcomunleashhelm-charts-), then configure the environment variables for the image as documented in the community repo.
34 # if postgres dependency chart is used, this needs to be the same value as postgresql.auth.database
35 # Will be used to set DATABASE_NAME as an environment variable.
37 # Defaults to 'public'
40 # if postgres dependency chart is used, this needs to be the same value as postgresql.auth.password
41 # this should be change to something more secure or use an existing secret
47 # if postgres dependency chart is used, this needs to be the same value as postgresql.auth.username
49 # ssl value must be a stringified JSON object https://docs.getunleash.io/reference/deploy/configuring-unleash#dbssl-vs-database_ssl-options
50 # ssl: { rejectUnauthorized: false }
51 # sslConfigFile can be a path to a json file containing the keys listed in https://docs.getunleash.io/reference/deploy/configuring-unleash#dbssl-vs-database_ssl-options
53 # sslCaFile should be a path to a CA file in pem format
55 # sslCertFile should be a path to the cert file in pem format to use to connect to postgres
57 # sslKeyFile should be a path to the key file in pem format to use to connect to postgres
59 # sslRejectUnauthorized can be set to true|false. Don't set this to false in production, it will void any security you get from using SSL to connect
60 # sslRejectUnauthorized
61# adds DATABASE_ host, port, username and password environment vars from a secrets file for use with Crossplane RDSInstance
63# - name: DATABASE_HOST
68# - name: DATABASE_PORT
73# - name: DATABASE_USERNAME
78# - name: DATABASE_PASSWORD
85# - name: GOOGLE_CLIENT_ID
86# value: 999999999999-999z99zz9zzzzzz99z9zz9z9zzzzzz9z.apps.googleusercontent.com
87# - name: GOOGLE_CALLBACK_URL
88# value: https://unleash.example.com/api/auth/callback
90# adds environmentvars for existing secrets to the container via tpl function
92# - name: GOOGLE_CLIENT_SECRET
100 repository: cgr.dev/chainguard-private/unleash-server
101 # Obtained from .Chart.AppVersion, up to date tags available at https://hub.docker.com/r/unleashorg/unleash-server/tags
102 tag: 8.2.0-r1@sha256:f1cecab21c502cc4fbb62f059d6e75ac505c29d8c2c68ba4a0c948155dce603c
106 # Specifies whether a service account should be created
108 # Annotations to add to the service account
110 # The name of the service account to use.
111 # If not set and create is true, a name is generated using the fullname template
117 # kubernetes.io/ingress.class: nginx
118 # kubernetes.io/tls-acme: "true"
121 - host: chart-example.local
124 pathType: ImplementationSpecific
126 # - secretName: chart-example-tls
128 # - chart-example.local
129# Gateway API HTTPRoute configuration
130# Ref: https://gateway-api.sigs.k8s.io/api-types/httproute/
132 # -- Enable HTTPRoute resource (Gateway API)
134 # -- Additional HTTPRoute labels
136 # -- Additional HTTPRoute annotations
138 # -- Gateway API parentRefs for the HTTPRoute
139 # Must reference an existing Gateway resource
141 # - name: example-gateway
142 # namespace: example-gateway-namespace
144 # -- List of hostnames for the HTTPRoute
146 # - unleash.example.com
147 # -- HTTPRoute rules configuration
148 # Note: backendRefs in custom rules will be ignored;
149 # the chart service is always used as the backend.
156 # - type: RequestHeaderModifier
157 # requestHeaderModifier:
159 # - name: X-Custom-Header
160 # value: custom-value
169 initialDelaySeconds: 30
173deploymentAnnotations: {}
178 initialDelaySeconds: 30
184# We usually recommend not to specify default resources and to leave this as a conscious
185# choice for the user. If you do want to specify resources, uncomment the following
186# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
194# The key value pairs under secrets will be included in a Kubernetes Secret,
195# and they will generate environment variables that use `valueFrom` to refer to
196# the secrets in the Kubernetes Secret.
198# SHARED_SECRET: 999z9z9z99https://meet.google.com/rtk-rbjr-tkv99zzz9
199# GOOGLE_CLIENT_SECRET: zzzZZz9ZZzZzZzz9Z9zZZZZZ
202 # Supported types: ClusterIP, NodePort, LoadBalancer
205 # target port will be set to port if not set
207 # nodePort is optional and only used when service.type is NodePort or LoadBalancer
210 ## Load Balancer sources
211 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
213 ## loadBalancerSourceRanges:
215 ## loadBalancerIP: ""
216 loadBalancerSourceRanges: []
219# VerticalPodAutoscaler
222# postgresql dependency chart config
223# https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml
226 fullnameOverride: "unleash-postgresql"
233 # this should be changed to something more secure or use an existing secret
236podSecurityContext: {}
243# readOnlyRootFilesystem: true
248# https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
249# Allows Unleash to setup HPA
254 targetCPUUtilizationPercentage: 70
255 targetMemoryUtilizationPercentage: 70
257# - apiVersion: mumoshu.github.io/v1alpha1
260# name: unleash-secret
263# secretsManagerSecretRef:
264# secretId: unleash-secret-production
265# versionId: 00000000-1111-2222-3333-444444444444
269 # If you enable cloudsql, ensure that serviceAccount.annotations is populated with associated GKE workload identity:
270 # e.g. iam.gke.io/gcp-service-account: airflow@gcp-project.iam.gserviceaccount.com
272 # Set CloudSQL instance: 'project:zone:instancename'
275 repository: cgr.dev/chainguard-private/cloud-sql-proxy
276 tag: 2.25.4-r1@sha256:abca1a9582bc1a9b2ebb4bf7295398469df452f054fcbccf1a6a0eac3252d78f
277 pullPolicy: IfNotPresent
279 # We usually recommend not to specify default resources and to leave this as a conscious
280 # choice for the user. This also increases chances charts run on environments with little
281 # resources, such as Minikube. If you do want to specify resources, uncomment the following
282 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
289 # Additional flags to pass to cloudsql
295topologySpreadConstraints: {}
297# topologyKey: topology.kubernetes.io/zone
298# whenUnsatisfiable: DoNotSchedule
300# Add additional volumes and mounts, for example to read other secrets.
306 extraSelectorLabels: {}