5 repository: cgr.dev/chainguard-private/openfga
7 tag: 1.22.1-r0@sha256:ee94fa367f2628a735c06380ae32d6383178873bf864c0f10d4555d1b41782af
11# Specify additional labels to apply to OpenFGA resources
14# app.example.com/system: permissions
15# app.example.com/domain: example
18 # Specifies whether a service account should be created
20 # Annotations to add to the service account
22 # The name of the service account to use.
23 # If not set and create is true, a name is generated using the fullname template
31extraInitContainers: []
39# readOnlyRootFilesystem: true
44 repository: cgr.dev/chainguard-private/k8s-wait-for
45 tag: 2.0-r6@sha256:21ade3ec0e4b4e5448a0dd1c7b94971e0524290a8491b70abea7a4ffce9f037e
46 pullPolicy: IfNotPresent
47## Configure extra options for OpenFGA containers' liveness, readiness and startup probes
48## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
50## @param livenessProbe.enabled Enable liveness probes on OpenFGA containers.
51## @param livenessProbe.initialDelaySeconds Number of seconds after the container has started before liveness probes are initiated.
52## @param livenessProbe.periodSeconds How often (in seconds) to perform the probe.
53## @param livenessProbe.timeoutSeconds Number of seconds after which the probe times out.
54## @param livenessProbe.failureThreshold Failure threshold for liveness probes.
55## @param livenessProbe.successThreshold Success threshold for liveness probes.
59 initialDelaySeconds: 60
64## @param readinessProbe.enabled Enable readiness probes on OpenFGA containers.
65## @param readinessProbe.initialDelaySeconds Number of seconds after the container has started before readiness probes are initiated.
66## @param readinessProbe.periodSeconds How often (in seconds) to perform the probe.
67## @param readinessProbe.timeoutSeconds Number of seconds after which the probe times out.
68## @param readinessProbe.failureThreshold Failure threshold for readiness probes.
69## @param readinessProbe.successThreshold Success threshold for readiness probes.
73 initialDelaySeconds: 5
78## @param startupProbe.enabled Enable startup probes on OpenFGA containers.
79## @param startupProbe.initialDelaySeconds Number of seconds after the container has started before startup probes are initiated.
80## @param startupProbe.periodSeconds How often (in seconds) to perform the probe.
81## @param startupProbe.timeoutSeconds Number of seconds after which the probe times out.
82## @param startupProbe.failureThreshold Failure threshold for startup probes.
83## @param startupProbe.successThreshold Success threshold for startup probes.
87 initialDelaySeconds: 60
92## @param customLivenessProbe Overrides the default liveness probe with a custom one.
94customLivenessProbe: {}
95## @param customReadinessProbe Overrides the default readiness probe with a custom one.
97customReadinessProbe: {}
98## @param customStartupProbe Overrides the default startup probe with a custom one.
100customStartupProbe: {}
114 ## @param telemetry.metrics.enabled enable/disable prometheus metrics on the '/metrics' endpoint
118 ## @param telemetry.metrics.serviceMonitor.enabled enable/disable installation of serviceMonitor custom resource
121 ## @param telemetry.metrics.serviceMonitor.additionalLabels additional labels to be added to the serviceMonitor resource
124 ## @param telemetry.metrics.serviceMonitor.annotations annotations to be added to the serviceMonitor resource
127 ## @param telemetry.metrics.serviceMonitor.jobLabel the label to use to retrieve the job name from
129 jobLabel: "app.kubernetes.io/name"
130 ## @param telemetry.metrics.serviceMonitor.namespace namespace where the serviceMonitor resource should be installed to
133 ## @param telemetry.metrics.serviceMonitor.namespaceSelector which namespaces should be scraped
135 ## Default: scrape .Release.Namespace or namespaceOverride only
136 ## To scrape all, use the following:
137 ## namespaceSelector:
140 namespaceSelector: {}
141 ## @param telemetry.metrics.serviceMonitor.scrapeInterval prometheus scrape interval
144 ## @param telemetry.metrics.serviceMonitor.scrapeTimeout prometheus scrape timeout
147 ## @param telemetry.metrics.serviceMonitor.targetLabels additional target labels to scrape
150 ## @param telemetry.metrics.serviceMonitor.relabelings add job relabelings
153 ## @param telemetry.metrics.serviceMonitor.metricRelabelings add metric relabelings
155 metricRelabelings: []
156 ## @param telemetry.metrics.addr the host:port address to serve the Metrics server on
158 ## @param telemetry.metrics.enableRPCHistograms enables prometheus histogram metrics for RPC latency distributions
160 ## @param telemetry.metrics.podAnnotations [object] Annotations for the Prometheus metrics on etcd pods
163 prometheus.io/scrape: "true"
164 prometheus.io/port: "{{ .Values.containerPorts.prometheus }}"
194 applyMigrations: true
195 waitForMigrations: true
200 repository: groundnuty/k8s-wait-for
203## DEPRECATED: The bundled PostgreSQL and MySQL sub-charts use the Bitnami legacy
204## archive repository which is no longer actively maintained or receiving security updates.
205## They are provided for backwards compatibility only and will be removed in subsequent releases.
207 ## @param postgresql.enabled enable the bitnami/postgresql subchart (DEPRECATED - uses unsupported legacy archive)
211 repository: bitnamilegacy/postgresql
212 tag: 15.4.0-debian-11-r45
214 ## @param mysql.enabled enable the bitnami/mysql subchart (DEPRECATED - uses unsupported legacy archive)
218 repository: bitnamilegacy/mysql
219 tag: 8.0.32-debian-11-r14
235 corsAllowedOrigins: ["*"]
236 corsAllowedHeaders: ["*"]
254 timestampFormat: Unix
264maxTypesPerAuthorizationModel:
265maxAuthorizationModelSizeInBytes:
266maxConcurrentReadsForCheck:
267maxConcurrentReadsForListObjects:
268maxConcurrentReadsForListUsers:
269maxChecksPerBatchCheck:
270maxConcurrentChecksPerBatchCheck:
271changelogHorizonOffset:
273resolveNodeBreadthLimit:
275listObjectsMaxResults:
279requestDurationDatastoreQueryCountBuckets: [50, 200]
280allowWriting1_0Models:
281allowEvaluating1_0Models:
286 # kubernetes.io/ingress.class: nginx
287 # kubernetes.io/tls-acme: "true"
289 - host: chart-example.local
292 pathType: ImplementationSpecific
295 # - secretName: chart-example-tls
297 # - chart-example.local
304 targetCPUUtilizationPercentage: 80
305 targetMemoryUtilizationPercentage: 80
308topologySpreadConstraints: []
310# @param sidecars Add additional sidecar containers to the pods
313# - name: your-image-name
315# imagePullPolicy: Always
322 extraVolumeMounts: []
323 extraInitContainers: []
325 # -- Added to the migration Job and its pod. With the operator, helm.sh/* keys
326 # are dropped and the rest is forwarded (e.g. sidecar.istio.io/inject: "false").
328 helm.sh/hook: "post-install, post-upgrade, post-rollback, post-delete"
329 helm.sh/hook-weight: "-5"
330 helm.sh/hook-delete-policy: "before-hook-creation"
331 # -- Added to the migration Job and its pod in both modes.
336# -- Array of extra K8s manifests to deploy
337## Note: Supports use of custom Helm templates
339# -- Configuration for the openfga-operator subchart. When enabled, database
340# migrations are run by the operator instead of the Helm hook Job.
341# See charts/openfga-operator/values.yaml for all available options.
346 # activeDeadlineSeconds: 0
347 # ttlSecondsAfterFinished: 300
357# -- Settings for the migration Jobs the operator creates.
358# Only used when openfga-operator.enabled is true.
360 # -- The operator runs a migration when the OpenFGA image or the datastore
361 # settings change. Set this to any new value to run it again when neither
362 # changed, e.g. after rotating a Secret to point at a different database.
365 # -- Create a dedicated service account for migration Jobs. By default the
366 # Job runs as the OpenFGA service account, like the Helm hook Job does.
368 # -- Annotations to add to the migration service account.
369 # Use this to attach cloud IAM roles (e.g., eks.amazonaws.com/role-arn) for DDL permissions.
371 # -- The name of the migration service account.
372 # If not set and create is true, defaults to {fullname}-migration.
375## Example: Deploy a PostgreSQL instance for dev/test using official Docker images.
376## For production, use a managed database service or an operator like CloudnativePG.
377## Configure the chart to use the secret:
380## uriSecret: openfga-postgres-credentials # (PostgreSQL example)
382## uriSecret: openfga-mysql-credentials # (MySQL example)
384## PostgreSQL dev/test example:
388# name: openfga-postgres-credentials
390# POSTGRES_USER: openfga
391# POSTGRES_PASSWORD: changeme
392# POSTGRES_DB: openfga
393# uri: "postgres://openfga:changeme@openfga-postgres:5432/openfga?sslmode=disable"
394# - apiVersion: apps/v1
397# name: openfga-postgres
402# app: openfga-postgres
406# app: openfga-postgres
412# - containerPort: 5432
415# name: openfga-postgres-credentials
418# mountPath: /var/lib/postgresql/data
425# name: openfga-postgres
428# app: openfga-postgres
433## MySQL dev/test example:
437# name: openfga-mysql-credentials
439# MYSQL_ROOT_PASSWORD: changeme
441# MYSQL_PASSWORD: changeme
442# MYSQL_DATABASE: openfga
443# uri: "openfga:changeme@tcp(openfga-mysql:3306)/openfga?parseTime=true"
444# - apiVersion: apps/v1
462# - containerPort: 3306
465# name: openfga-mysql-credentials
468# mountPath: /var/lib/mysql