1# Default values for cerbos.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
17# Number of Cerbos pods to run
22# Container image details. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#image.
25 # default: "ghcr.io.cerbos/cerbos"
27 # Container image name without the tag.
28 repository: cgr.dev/scratch-images/test-tmp/cerbos
30 # enum: [IfNotPresent, Always]
31 # default: ["IfNotPresent"]
34 pullPolicy: IfNotPresent
38 # Image digest to use. Takes precedence over tag if specified.
39 digest: sha256:05a662eec64f14a15604570d34696ad841d03e4b5409ba65e53d3592410973f9
43 # Image tag to use. Defaults to the chart appVersion.
53# Image pull secrets to use if pulling the image from a private container registry. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#containers.
59# additionalProperties: true
61# Init containers to inject into the deployment. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#containers.
66# Service account settings
71 # Specifies whether a service account should be created.
74 # type: [object, null]
75 # additionalProperties: true
77 # Annotations to add to the service account. See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta.
82 # The name of the service account to use.
83 # If not set and create is true, a name is generated using the fullname template
87# additionalProperties: true
89# Annotations to add to the pod. See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta.
93# additionalProperties: true
95# Labels to add to the pod. See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta.
99# additionalProperties: true
101# Common labels to add to the resources. See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta.
106# Annotations to add to the deployment. See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta.
109 # type: [object, null]
110 # additionalProperties: true
114# type: [object, null]
115# additionalProperties: true
117# Security context for the whole pod. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1.
118podSecurityContext: {}
120# type: [object, null]
121# additionalProperties: true
123# Security context for the Cerbos container. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1.
126# type: [object, null]
132# additionalProperties: true
134# Resource limits for the pod. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources.
155# targetCPUUtilizationPercentage:
156# type: [integer, null]
158# targetMemoryUtilizationPercentage:
159# type: [integer, null]
160# additionalProperties: true
162# Autoscaling configuration.
167 targetCPUUtilizationPercentage: 80
169# type: [object, null]
170# additionalProperties: true
172# Node selector for the pod. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling.
178# additionalProperties: true
180# Pod tolerations. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling.
183# type: [object, null]
184# additionalProperties: true
186# Pod affinity rules. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling.
192# additionalProperties: true
194# Topology Spread Constraints rules. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling.
195topologySpreadConstraints: []
196# @schema type:[array,null]
197# - topologyKey: topology.kubernetes.io/zone
199# whenUnsatisfiable: ScheduleAnyway
205# additionalProperties: true
207# Volumes to add to the pod. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#volumes.
213# additionalProperties: true
215# Volume mounts to add to the Cerbos container. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#volumes-1.
226# additionalProperties: true
228# Environment variables to add to the pod. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables.
229env: [] # @schema type[array,null]
234# additionalProperties: true
236# Source environment variables from config maps or secrets. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables.
242# type: [object, null]
244# Spec of the cert-manager certificate to create for the Cerbos deployment.
245# If certSpec is not empty, a cert-manager.io/v1/Certificate resource will be created with its spec populated with values from certSpec.
246# The certSpec value must be a valid Certificate spec. This Helm chart does not provide any defaults or inject any values into it.
247# If cerbos.tlsSecretName is defined, it takes precedence over the generated certificate.
251# enum: [deployment,daemonset]
254# Kubernetes workload type to use. Valid values are `deployment` or `daemonset`.
259# PriorityClassName to set on deployed pods
264# Cerbos service settings.
267 # enum: [ClusterIP, NodePort, LoadBalancer]
285 # HTTP node port (if service type is NodePort)
290 # gRPC node port (if service type is NodePort)
293 # type: [object, null]
294 # additionalProperties: true
296 # Service annotations
299 # type: [string, null]
304 # type: [string, null]
306 # LoadBalancer static IP
309 # type: [string, null]
311 # Set the internalTrafficPolicy. If this is unset and .Values.type is set to daemonset, this will default to "Local"
312 internalTrafficPolicy: ""
314 # enum: ["", PreferClose, PreferSameZone, PreferSameNode]
316 # Set the trafficDistribution.
317 trafficDistribution: ""
321# Cerbos deployment settings.
323 # Port to expose the http service on.
325 # Port to expose the gRPC service on.
328 # type: [string, null]
330 # Secret containing the TLS certificate.
331 # Leave empty to disable TLS.
332 # The secret must contain the following keys:
333 # - tls.crt: Required. Certificate file contents.
334 # - tls.key: Required. Private key for the certificate.
335 # - ca.crt: Optional. CA certificate to add to the trust pool.
337 # Cerbos log level. Valid values are DEBUG, INFO, WARN and ERROR
339 # Add Prometheus service discovery annotations to the pod.
340 prometheusPodAnnotationsEnabled: true
342 # type: [object, null]
343 # additionalProperties: true
345 # Cerbos config file contents.
346 # Some server settings like server.httpListenAddr, server.grpcListenAddr, server.tls will be overwritten by the chart based on values provided above.