authz-pdp
by Labs64
Helm chartv0.8.14App 0.57.0Verified publisher
Labs64.IO :: Cerbos PDP — central authorization decision point
About this chart
authz-pdp
Labs64.IO :: Cerbos PDP — central authorization decision point
Homepage: https://labs64.io
Maintainers
| Name | Url | |
|---|---|---|
| Labs64 | [email protected] | https://labs64.io |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| file://../chart-libs | chart-libs | 0.8.12 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| autoscaling.enabled | bool | false | |
| chart-libs | object | {} | Values passed to the chart-libs library dependency (present so the generated schema accepts the key Helm injects for the dependency) @schema type: object additionalProperties: true @schema |
| config | object | {"auditEnabled":false,"schemaEnforcement":"reject"} | Cerbos server config (rendered into a ConfigMap). Policies are served from the disk store mounted from the policies/schemas ConfigMaps; schema enforcement rejects requests whose attributes violate the JSON schemas (fail closed). |
| enabled | bool | true | |
| env | list | [] | |
| envFrom | list | [] | |
| fullnameOverride | string | "" | |
| image | object | {"digest":"sha256:e5e3b150b3cb0090975605254f255164567d67e233634199fb20972e3eaff300","pullPolicy":"IfNotPresent","repository":"ghcr.io/cerbos/cerbos","tag":""} | Cerbos container image (third-party; keeps its own non-root user). |
| image.digest | string | "sha256:e5e3b150b3cb0090975605254f255164567d67e233634199fb20972e3eaff300" | Pin the image by digest (sha256:<64 hex>). Takes precedence over tag, so a deployment cannot follow a moved tag. This is the image index of the Cerbos version in Chart.yaml's appVersion: Renovate moves both together (the annotation above names the version), and just check-pins fails if they differ. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | |
| livenessProbe.httpGet.path | string | "/_cerbos/health" | |
| livenessProbe.httpGet.port | int | 3592 | |
| livenessProbe.initialDelaySeconds | int | 10 | |
| livenessProbe.periodSeconds | int | 15 | |
| nameOverride | string | "" | |
| networkPolicy | object | {"enabled":true,"extraIngressFrom":[],"gatewayNamespace":"tools","ingressControllerLabels":{},"ingressFrom":["authgateway","auditflow","payment-gateway","checkout"],"ingressPorts":[3592,3593],"observabilityNamespace":"monitoring"} | Restrict ingress to same-namespace callers (authgateway + module apps). The chart-libs helper allows all same-namespace pods on all ports; no egress needed. |
| networkPolicy.extraIngressFrom | list | [] | Deployment-owned callers appended to ingressFrom without restating it (the umbrella chart adds its own helm test pod here). @schema type: array items: type: string @schema |
| networkPolicy.ingressControllerLabels | object | {} | Ingress controller pod-selector labels; defaults to the internal Traefik standard (app.kubernetes.io/name: traefik) when empty @schema type: object additionalProperties: true @schema |
| networkPolicy.ingressFrom | list | ["authgateway","auditflow","payment-gateway","checkout"] | In-namespace workloads (app.kubernetes.io/name) that ask the PDP for decisions, besides this chart's own pods (helm test). A module that starts calling Cerbos must be added here, next to the egress rule it declares to authz-pdp. Remove the key (set it to null) to fall back to the namespace-wide rule. @schema type: array items: type: string @schema |
| networkPolicy.ingressPorts | list | [3592,3593] | TCP ports open to the in-namespace callers below: HTTP (authgateway) and gRPC (@Authorize SDK). |
| networkPolicy.observabilityNamespace | string | "monitoring" | Namespace the observability/OTel collector runs in |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podDisruptionBudget.enabled | bool | true | |
| podDisruptionBudget.minAvailable | int | 1 | |
| podLabels | object | {} | |
| podSecurityContext | object | {} | |
| readinessProbe.httpGet.path | string | "/_cerbos/health" | |
| readinessProbe.httpGet.port | int | 3592 | |
| readinessProbe.initialDelaySeconds | int | 5 | |
| readinessProbe.periodSeconds | int | 10 | |
| replicaCount | int | 2 | Cerbos PDP replicas. On the hot path of every @Authorize / edge decision — keep at least 2 for HA. |
| resources.limits.cpu | string | "500m" | |
| resources.limits.memory | string | "256Mi" | |
| resources.requests.cpu | string | "50m" | |
| resources.requests.memory | string | "64Mi" | |
| securityContext.allowPrivilegeEscalation | bool | false | |
| securityContext.capabilities.drop[0] | string | "ALL" | |
| securityContext.readOnlyRootFilesystem | bool | true | |
| securityContext.runAsGroup | int | 1064 | |
| securityContext.runAsNonRoot | bool | true | |
| securityContext.runAsUser | int | 1064 | |
| securityContext.seccompProfile.type | string | "RuntimeDefault" | |
| service.grpcPort | int | 3593 | |
| service.httpPort | int | 3592 | HTTP API (authgateway edge client) and gRPC API (Java @Authorize SDK). |
| service.port | int | 3592 | Alias of httpPort: chart-libs' shared NetworkPolicy helper (monitoring ingress rule) reads .Values.service.port, not the httpPort/grpcPort pair below. Cerbos serves Prometheus metrics on the HTTP listener. |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.automount | bool | true | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| terminationGracePeriodSeconds | int | 30 | |
| tolerations | list | [] | |
| topologySpreadConstraints | list | [] | Constrain how replicas spread across nodes/zones (e.g. maxSkew/topologyKey/whenUnsatisfiable). labelSelector defaults to this chart's own selector labels when a constraint omits one. |
| volumeMounts | list | [] | |
| volumes | list | [] |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy authz-pdp with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has authz-pdp on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartauthz-pdp is pinned at v0.8.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply