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:6fed18302ea131ea06a10585da8e1c1ae2ae48bf3012962544ee969503326946
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
261maxTypesPerAuthorizationModel:
262maxAuthorizationModelSizeInBytes:
263maxConcurrentReadsForCheck:
264maxConcurrentReadsForListObjects:
265maxConcurrentReadsForListUsers:
266maxChecksPerBatchCheck:
267maxConcurrentChecksPerBatchCheck:
268changelogHorizonOffset:
270resolveNodeBreadthLimit:
272listObjectsMaxResults:
276requestDurationDatastoreQueryCountBuckets: [50, 200]
277allowWriting1_0Models:
278allowEvaluating1_0Models:
283 # kubernetes.io/ingress.class: nginx
284 # kubernetes.io/tls-acme: "true"
286 - host: chart-example.local
289 pathType: ImplementationSpecific
292 # - secretName: chart-example-tls
294 # - chart-example.local
301 targetCPUUtilizationPercentage: 80
302 targetMemoryUtilizationPercentage: 80
305topologySpreadConstraints: []
307# @param sidecars Add additional sidecar containers to the pods
310# - name: your-image-name
312# imagePullPolicy: Always
319 extraVolumeMounts: []
320 extraInitContainers: []
322 # -- Added to the migration Job and its pod. With the operator, helm.sh/* keys
323 # are dropped and the rest is forwarded (e.g. sidecar.istio.io/inject: "false").
325 helm.sh/hook: "post-install, post-upgrade, post-rollback, post-delete"
326 helm.sh/hook-weight: "-5"
327 helm.sh/hook-delete-policy: "before-hook-creation"
328 # -- Added to the migration Job and its pod in both modes.
333# -- Array of extra K8s manifests to deploy
334## Note: Supports use of custom Helm templates
336# -- Configuration for the openfga-operator subchart. When enabled, database
337# migrations are run by the operator instead of the Helm hook Job.
338# See charts/openfga-operator/values.yaml for all available options.
343 # activeDeadlineSeconds: 0
344 # ttlSecondsAfterFinished: 300
354# -- Settings for the migration Jobs the operator creates.
355# Only used when openfga-operator.enabled is true.
357 # -- The operator runs a migration when the OpenFGA image or the datastore
358 # settings change. Set this to any new value to run it again when neither
359 # changed, e.g. after rotating a Secret to point at a different database.
362 # -- Create a dedicated service account for migration Jobs. By default the
363 # Job runs as the OpenFGA service account, like the Helm hook Job does.
365 # -- Annotations to add to the migration service account.
366 # Use this to attach cloud IAM roles (e.g., eks.amazonaws.com/role-arn) for DDL permissions.
368 # -- The name of the migration service account.
369 # If not set and create is true, defaults to {fullname}-migration.
372## Example: Deploy a PostgreSQL instance for dev/test using official Docker images.
373## For production, use a managed database service or an operator like CloudnativePG.
374## Configure the chart to use the secret:
377## uriSecret: openfga-postgres-credentials # (PostgreSQL example)
379## uriSecret: openfga-mysql-credentials # (MySQL example)
381## PostgreSQL dev/test example:
385# name: openfga-postgres-credentials
387# POSTGRES_USER: openfga
388# POSTGRES_PASSWORD: changeme
389# POSTGRES_DB: openfga
390# uri: "postgres://openfga:changeme@openfga-postgres:5432/openfga?sslmode=disable"
391# - apiVersion: apps/v1
394# name: openfga-postgres
399# app: openfga-postgres
403# app: openfga-postgres
409# - containerPort: 5432
412# name: openfga-postgres-credentials
415# mountPath: /var/lib/postgresql/data
422# name: openfga-postgres
425# app: openfga-postgres
430## MySQL dev/test example:
434# name: openfga-mysql-credentials
436# MYSQL_ROOT_PASSWORD: changeme
438# MYSQL_PASSWORD: changeme
439# MYSQL_DATABASE: openfga
440# uri: "openfga:changeme@tcp(openfga-mysql:3306)/openfga?parseTime=true"
441# - apiVersion: apps/v1
459# - containerPort: 3306
462# name: openfga-mysql-credentials
465# mountPath: /var/lib/mysql