3 repository: cgr.dev/chainguard-private/openfga
5 tag: latest@sha256:6ed3bf4bd49c4c490872e47614f58299012c2ce84e6bb5289394a4b9afe8494e
9# Specify additional labels to apply to OpenFGA resources
12# app.example.com/system: permissions
13# app.example.com/domain: example
16 # Specifies whether a service account should be created
18 # Annotations to add to the service account
20 # The name of the service account to use.
21 # If not set and create is true, a name is generated using the fullname template
29extraInitContainers: []
37# readOnlyRootFilesystem: true
42 repository: cgr.dev/chainguard-private/k8s-wait-for
43 tag: latest@sha256:59ac03b24e7b7b81554f294b12ce32582cbb0017d43c54bb186e9998a176725c
44 pullPolicy: IfNotPresent
45## Configure extra options for OpenFGA containers' liveness, readiness and startup probes
46## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
48## @param livenessProbe.enabled Enable liveness probes on OpenFGA containers.
49## @param livenessProbe.initialDelaySeconds Number of seconds after the container has started before liveness probes are initiated.
50## @param livenessProbe.periodSeconds How often (in seconds) to perform the probe.
51## @param livenessProbe.timeoutSeconds Number of seconds after which the probe times out.
52## @param livenessProbe.failureThreshold Failure threshold for liveness probes.
53## @param livenessProbe.successThreshold Success threshold for liveness probes.
57 initialDelaySeconds: 60
62## @param readinessProbe.enabled Enable readiness probes on OpenFGA containers.
63## @param readinessProbe.initialDelaySeconds Number of seconds after the container has started before readiness probes are initiated.
64## @param readinessProbe.periodSeconds How often (in seconds) to perform the probe.
65## @param readinessProbe.timeoutSeconds Number of seconds after which the probe times out.
66## @param readinessProbe.failureThreshold Failure threshold for readiness probes.
67## @param readinessProbe.successThreshold Success threshold for readiness probes.
71 initialDelaySeconds: 5
76## @param startupProbe.enabled Enable startup probes on OpenFGA containers.
77## @param startupProbe.initialDelaySeconds Number of seconds after the container has started before startup probes are initiated.
78## @param startupProbe.periodSeconds How often (in seconds) to perform the probe.
79## @param startupProbe.timeoutSeconds Number of seconds after which the probe times out.
80## @param startupProbe.failureThreshold Failure threshold for startup probes.
81## @param startupProbe.successThreshold Success threshold for startup probes.
85 initialDelaySeconds: 60
90## @param customLivenessProbe Overrides the default liveness probe with a custom one.
92customLivenessProbe: {}
93## @param customReadinessProbe Overrides the default readiness probe with a custom one.
95customReadinessProbe: {}
96## @param customStartupProbe Overrides the default startup probe with a custom one.
112 ## @param telemetry.metrics.enabled enable/disable prometheus metrics on the '/metrics' endpoint
116 ## @param telemetry.metrics.serviceMonitor.enabled enable/disable installation of serviceMonitor custom resource
119 ## @param telemetry.metrics.serviceMonitor.additionalLabels additional labels to be added to the serivceMonitor resource
122 ## @param telemetry.metrics.serviceMonitor.annotations annotations to be added to the serviceMonitor resource
125 ## @param telemetry.metrics.serviceMonitor.jobLabel the label to use to retrieve the job name from
127 jobLabel: "app.kubernetes.io/name"
128 ## @param telemetry.metrics.serviceMonitor.namespace namespace where the serviceMonitor resource should be installed to
131 ## @param telemetry.metrics.serviceMonitor.namespaceSelector which namespaces should be scraped
133 ## Default: scrape .Release.Namespace or namespaceOverride only
134 ## To scrape all, use the following:
135 ## namespaceSelector:
138 namespaceSelector: {}
139 ## @param telemetry.metrics.serviceMonitor.scrapeInterval prometheus scrape interval
142 ## @param telemetry.metrics.serviceMonitor.scrapeTimeout prometheus scrape timeout
145 ## @param telemetry.metrics.serviceMonitor.targetLabels additional target labels to scrape
148 ## @param telemetry.metrics.serviceMonitor.relabelings add job relabelings
151 ## @param telemetry.metrics.serviceMonitor.metricRelabelings add metric relabelings
153 metricRelabelings: []
154 ## @param telemetry.metrics.addr the host:port address to serve the Metrics server on
156 ## @param telemetry.metrics.enableRPCHistograms enables prometheus histogram metrics for RPC latency distributions
158 ## @param telemetry.metrics.podAnnotations [object] Annotations for the Prometheus metrics on etcd pods
161 prometheus.io/scrape: "true"
162 prometheus.io/port: "{{ .Values.containerPorts.prometheus }}"
192 applyMigrations: true
193 waitForMigrations: true
198 repository: groundnuty/k8s-wait-for
201## DEPRECATED: The bundled PostgreSQL and MySQL sub-charts use the Bitnami legacy
202## archive repository which is no longer actively maintained or receiving security updates.
203## They are provided for backwards compatibility only and will be removed in subsequent releases.
205 ## @param postgresql.enabled enable the bitnami/postgresql subchart (DEPRECATED - uses unsupported legacy archive)
209 repository: bitnamilegacy/postgresql
210 tag: 15.4.0-debian-11-r45
212 ## @param mysql.enabled enable the bitnami/mysql subchart (DEPRECATED - uses unsupported legacy archive)
216 repository: bitnamilegacy/mysql
217 tag: 8.0.32-debian-11-r14
233 corsAllowedOrigins: ["*"]
234 corsAllowedHeaders: ["*"]
252 timestampFormat: Unix
259maxTypesPerAuthorizationModel:
260maxAuthorizationModelSizeInBytes:
261maxConcurrentReadsForCheck:
262maxConcurrentReadsForListObjects:
263maxConcurrentReadsForListUsers:
264maxChecksPerBatchCheck:
265maxConcurrentChecksPerBatchCheck:
266changelogHorizonOffset:
268resolveNodeBreadthLimit:
270listObjectsMaxResults:
274requestDurationDatastoreQueryCountBuckets: [50, 200]
275allowWriting1_0Models:
276allowEvaluating1_0Models:
281 # kubernetes.io/ingress.class: nginx
282 # kubernetes.io/tls-acme: "true"
284 - host: chart-example.local
287 pathType: ImplementationSpecific
290 # - secretName: chart-example-tls
292 # - chart-example.local
299 targetCPUUtilizationPercentage: 80
300 targetMemoryUtilizationPercentage: 80
303topologySpreadConstraints: []
305# @param sidecars Add additional sidecar containers to the pods
308# - name: your-image-name
310# imagePullPolicy: Always
317 extraVolumeMounts: []
318 extraInitContainers: []
321 helm.sh/hook: "post-install, post-upgrade, post-rollback, post-delete"
322 helm.sh/hook-weight: "-5"
323 helm.sh/hook-delete-policy: "before-hook-creation"
328# -- Array of extra K8s manifests to deploy
329## Note: Supports use of custom Helm templates
331## Example: Deploy a PostgreSQL instance for dev/test using official Docker images.
332## For production, use a managed database service or an operator like CloudnativePG.
333## Configure the chart to use the secret:
336## uriSecret: openfga-postgres-credentials # (PostgreSQL example)
338## uriSecret: openfga-mysql-credentials # (MySQL example)
340## PostgreSQL dev/test example:
344# name: openfga-postgres-credentials
346# POSTGRES_USER: openfga
347# POSTGRES_PASSWORD: changeme
348# POSTGRES_DB: openfga
349# uri: "postgres://openfga:changeme@openfga-postgres:5432/openfga?sslmode=disable"
350# - apiVersion: apps/v1
353# name: openfga-postgres
358# app: openfga-postgres
362# app: openfga-postgres
368# - containerPort: 5432
371# name: openfga-postgres-credentials
374# mountPath: /var/lib/postgresql/data
381# name: openfga-postgres
384# app: openfga-postgres
389## MySQL dev/test example:
393# name: openfga-mysql-credentials
395# MYSQL_ROOT_PASSWORD: changeme
397# MYSQL_PASSWORD: changeme
398# MYSQL_DATABASE: openfga
399# uri: "openfga:changeme@tcp(openfga-mysql:3306)/openfga?parseTime=true"
400# - apiVersion: apps/v1
418# - containerPort: 3306
421# name: openfga-mysql-credentials
424# mountPath: /var/lib/mysql