Peter McClonski
11/26/2024, 6:16 AMoguzhan
secret
such as this:
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: cerbos-pg
data:
PG_USER: Y2VyYm9zcGd1c2Vy
PG_PASSWORD: Y2VyYm9zcGdwYXNzdw==
Then you could use a values.yaml
such as this:
cerbos:
config:
storage:
driver: "postgres"
postgres:
url: "postgres://${PG_USER}:${PG_PASSWORD}@localhost:5432/cerbos"
envFrom:
- secretRef:
name: cerbos-pg
Peter McClonski
11/26/2024, 2:28 PM