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

NameEmailUrl
Labs64[email protected]https://labs64.io

Source Code

Requirements

RepositoryNameVersion
file://../chart-libschart-libs0.8.12

Values

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalse
chart-libsobject{}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
configobject{"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).
enabledbooltrue
envlist[]
envFromlist[]
fullnameOverridestring""
imageobject{"digest":"sha256:e5e3b150b3cb0090975605254f255164567d67e233634199fb20972e3eaff300","pullPolicy":"IfNotPresent","repository":"ghcr.io/cerbos/cerbos","tag":""}Cerbos container image (third-party; keeps its own non-root user).
image.digeststring"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.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
livenessProbe.httpGet.pathstring"/_cerbos/health"
livenessProbe.httpGet.portint3592
livenessProbe.initialDelaySecondsint10
livenessProbe.periodSecondsint15
nameOverridestring""
networkPolicyobject{"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.extraIngressFromlist[]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.ingressControllerLabelsobject{}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.ingressFromlist["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.ingressPortslist[3592,3593]TCP ports open to the in-namespace callers below: HTTP (authgateway) and gRPC (@Authorize SDK).
networkPolicy.observabilityNamespacestring"monitoring"Namespace the observability/OTel collector runs in
nodeSelectorobject{}
podAnnotationsobject{}
podDisruptionBudget.enabledbooltrue
podDisruptionBudget.minAvailableint1
podLabelsobject{}
podSecurityContextobject{}
readinessProbe.httpGet.pathstring"/_cerbos/health"
readinessProbe.httpGet.portint3592
readinessProbe.initialDelaySecondsint5
readinessProbe.periodSecondsint10
replicaCountint2Cerbos PDP replicas. On the hot path of every @Authorize / edge decision — keep at least 2 for HA.
resources.limits.cpustring"500m"
resources.limits.memorystring"256Mi"
resources.requests.cpustring"50m"
resources.requests.memorystring"64Mi"
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsGroupint1064
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1064
securityContext.seccompProfile.typestring"RuntimeDefault"
service.grpcPortint3593
service.httpPortint3592HTTP API (authgateway edge client) and gRPC API (Java @Authorize SDK).
service.portint3592Alias 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.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
terminationGracePeriodSecondsint30
tolerationslist[]
topologySpreadConstraintslist[]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.
volumeMountslist[]
volumeslist[]

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartauthz-pdp is pinned at v0.8.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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