Files
Keybard-Vagabond-Demo/manifests/infrastructure/postgresql/postgresql-dashboard-rbac.yaml
Michael DiLeo 7327d77dcd redaction (#1)
Add the redacted source file for demo purposes

Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1
Co-authored-by: Michael DiLeo <michael_dileo@proton.me>
Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
2025-12-24 13:40:47 +00:00

23 lines
542 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: postgresql-system
name: postgresql-configmap-reader
rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: postgresql-configmap-reader
namespace: postgresql-system
subjects:
- kind: ServiceAccount
name: postgresql-shared
namespace: postgresql-system
roleRef:
kind: Role
name: postgresql-configmap-reader
apiGroup: rbac.authorization.k8s.io