5 repository: cgr.dev/chainguard-private/openfga
7 tag: 1.23.0-r0@sha256:fc898d7723b3730e4798704c728fc342ef1cb019a0540f7d33887207553a71c3
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
28# Optional pod DNS configuration, merged with the default DNS policy.
33extraInitContainers: []
41# readOnlyRootFilesystem: true
46 repository: cgr.dev/chainguard-private/k8s-wait-for
47 tag: 2.0-r6@sha256:5580ac507c9e1dba63742c713fdef4e1b93442039dfca1e90a9d181d1821cc23
48 pullPolicy: IfNotPresent
49## Configure extra options for OpenFGA containers' liveness, readiness and startup probes
50## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
52## @param livenessProbe.enabled Enable liveness probes on OpenFGA containers.
53## @param livenessProbe.initialDelaySeconds Number of seconds after the container has started before liveness probes are initiated.
54## @param livenessProbe.periodSeconds How often (in seconds) to perform the probe.
55## @param livenessProbe.timeoutSeconds Number of seconds after which the probe times out.
56## @param livenessProbe.failureThreshold Failure threshold for liveness probes.
57## @param livenessProbe.successThreshold Success threshold for liveness probes.
61 initialDelaySeconds: 60
66## @param readinessProbe.enabled Enable readiness probes on OpenFGA containers.
67## @param readinessProbe.initialDelaySeconds Number of seconds after the container has started before readiness probes are initiated.
68## @param readinessProbe.periodSeconds How often (in seconds) to perform the probe.
69## @param readinessProbe.timeoutSeconds Number of seconds after which the probe times out.
70## @param readinessProbe.failureThreshold Failure threshold for readiness probes.
71## @param readinessProbe.successThreshold Success threshold for readiness probes.
75 initialDelaySeconds: 5
80## @param startupProbe.enabled Enable startup probes on OpenFGA containers.
81## @param startupProbe.initialDelaySeconds Number of seconds after the container has started before startup probes are initiated.
82## @param startupProbe.periodSeconds How often (in seconds) to perform the probe.
83## @param startupProbe.timeoutSeconds Number of seconds after which the probe times out.
84## @param startupProbe.failureThreshold Failure threshold for startup probes.
85## @param startupProbe.successThreshold Success threshold for startup probes.
89 initialDelaySeconds: 60
94## @param customLivenessProbe Overrides the default liveness probe with a custom one.
96customLivenessProbe: {}
97## @param customReadinessProbe Overrides the default readiness probe with a custom one.
99customReadinessProbe: {}
100## @param customStartupProbe Overrides the default startup probe with a custom one.
102customStartupProbe: {}
116 ## @param telemetry.metrics.enabled enable/disable prometheus metrics on the '/metrics' endpoint
120 ## @param telemetry.metrics.serviceMonitor.enabled enable/disable installation of serviceMonitor custom resource
123 ## @param telemetry.metrics.serviceMonitor.additionalLabels additional labels to be added to the serviceMonitor resource
126 ## @param telemetry.metrics.serviceMonitor.annotations annotations to be added to the serviceMonitor resource
129 ## @param telemetry.metrics.serviceMonitor.jobLabel the label to use to retrieve the job name from
131 jobLabel: "app.kubernetes.io/name"
132 ## @param telemetry.metrics.serviceMonitor.namespace namespace where the serviceMonitor resource should be installed to
135 ## @param telemetry.metrics.serviceMonitor.namespaceSelector which namespaces should be scraped
137 ## Default: scrape .Release.Namespace or namespaceOverride only
138 ## To scrape all, use the following:
139 ## namespaceSelector:
142 namespaceSelector: {}
143 ## @param telemetry.metrics.serviceMonitor.scrapeInterval prometheus scrape interval
146 ## @param telemetry.metrics.serviceMonitor.scrapeTimeout prometheus scrape timeout
149 ## @param telemetry.metrics.serviceMonitor.targetLabels additional target labels to scrape
152 ## @param telemetry.metrics.serviceMonitor.relabelings add job relabelings
155 ## @param telemetry.metrics.serviceMonitor.metricRelabelings add metric relabelings
157 metricRelabelings: []
158 ## @param telemetry.metrics.addr the host:port address to serve the Metrics server on
160 ## @param telemetry.metrics.enableRPCHistograms enables prometheus histogram metrics for RPC latency distributions
162 ## @param telemetry.metrics.podAnnotations [object] Annotations for the Prometheus metrics on etcd pods
165 prometheus.io/scrape: "true"
166 prometheus.io/port: "{{ .Values.containerPorts.prometheus }}"
196 applyMigrations: true
197 waitForMigrations: true
202 repository: groundnuty/k8s-wait-for
205## DEPRECATED: The bundled PostgreSQL and MySQL sub-charts use the Bitnami legacy
206## archive repository which is no longer actively maintained or receiving security updates.
207## They are provided for backwards compatibility only and will be removed in subsequent releases.
209 ## @param postgresql.enabled enable the bitnami/postgresql subchart (DEPRECATED - uses unsupported legacy archive)
213 repository: bitnamilegacy/postgresql
214 tag: 15.4.0-debian-11-r45
216 ## @param mysql.enabled enable the bitnami/mysql subchart (DEPRECATED - uses unsupported legacy archive)
220 repository: bitnamilegacy/mysql
221 tag: 8.0.32-debian-11-r14
237 corsAllowedOrigins: ["*"]
238 corsAllowedHeaders: ["*"]
256 timestampFormat: Unix
266maxTypesPerAuthorizationModel:
267maxAuthorizationModelSizeInBytes:
268maxConcurrentReadsForCheck:
269maxConcurrentReadsForListObjects:
270maxConcurrentReadsForListUsers:
271maxChecksPerBatchCheck:
272maxConcurrentChecksPerBatchCheck:
273changelogHorizonOffset:
275resolveNodeBreadthLimit:
277listObjectsMaxResults:
281requestDurationDatastoreQueryCountBuckets: [50, 200]
282allowWriting1_0Models:
283allowEvaluating1_0Models:
288 # kubernetes.io/ingress.class: nginx
289 # kubernetes.io/tls-acme: "true"
291 - host: chart-example.local
294 pathType: ImplementationSpecific
297 # - secretName: chart-example-tls
299 # - chart-example.local
306 targetCPUUtilizationPercentage: 80
307 targetMemoryUtilizationPercentage: 80
310topologySpreadConstraints: []
312# @param sidecars Add additional sidecar containers to the pods
315# - name: your-image-name
317# imagePullPolicy: Always
324 extraVolumeMounts: []
325 extraInitContainers: []
327 # -- Added to the migration Job and its pod. With the operator, helm.sh/* keys
328 # are dropped and the rest is forwarded (e.g. sidecar.istio.io/inject: "false").
330 helm.sh/hook: "post-install, post-upgrade, post-rollback, post-delete"
331 helm.sh/hook-weight: "-5"
332 helm.sh/hook-delete-policy: "before-hook-creation"
333 # -- Added to the migration Job and its pod in both modes.
338# -- Array of extra K8s manifests to deploy
339## Note: Supports use of custom Helm templates
341# -- Configuration for the openfga-operator subchart. When enabled, database
342# migrations are run by the operator instead of the Helm hook Job.
343# See charts/openfga-operator/values.yaml for all available options.
348 # activeDeadlineSeconds: 0
349 # ttlSecondsAfterFinished: 300
359# -- Settings for the migration Jobs the operator creates.
360# Only used when openfga-operator.enabled is true.
362 # -- The operator runs a migration when the OpenFGA image or the datastore
363 # settings change. Set this to any new value to run it again when neither
364 # changed, e.g. after rotating a Secret to point at a different database.
367 # -- Create a dedicated service account for migration Jobs. By default the
368 # Job runs as the OpenFGA service account, like the Helm hook Job does.
370 # -- Annotations to add to the migration service account.
371 # Use this to attach cloud IAM roles (e.g., eks.amazonaws.com/role-arn) for DDL permissions.
373 # -- The name of the migration service account.
374 # If not set and create is true, defaults to {fullname}-migration.
377## Example: Deploy a PostgreSQL instance for dev/test using official Docker images.
378## For production, use a managed database service or an operator like CloudnativePG.
379## Configure the chart to use the secret:
382## uriSecret: openfga-postgres-credentials # (PostgreSQL example)
384## uriSecret: openfga-mysql-credentials # (MySQL example)
386## PostgreSQL dev/test example:
390# name: openfga-postgres-credentials
392# POSTGRES_USER: openfga
393# POSTGRES_PASSWORD: changeme
394# POSTGRES_DB: openfga
395# uri: "postgres://openfga:changeme@openfga-postgres:5432/openfga?sslmode=disable"
396# - apiVersion: apps/v1
399# name: openfga-postgres
404# app: openfga-postgres
408# app: openfga-postgres
414# - containerPort: 5432
417# name: openfga-postgres-credentials
420# mountPath: /var/lib/postgresql/data
427# name: openfga-postgres
430# app: openfga-postgres
435## MySQL dev/test example:
439# name: openfga-mysql-credentials
441# MYSQL_ROOT_PASSWORD: changeme
443# MYSQL_PASSWORD: changeme
444# MYSQL_DATABASE: openfga
445# uri: "openfga:changeme@tcp(openfga-mysql:3306)/openfga?parseTime=true"
446# - apiVersion: apps/v1
464# - containerPort: 3306
467# name: openfga-mysql-credentials
470# mountPath: /var/lib/mysql