prop/k8s/rbac.yaml
Graham McIntire 2de94e2318 Add Erlang clustering via libcluster and expose LiveDashboard
- libcluster with Kubernetes IP strategy for pod discovery
- RBAC for pod list/get, POD_IP from downward API, shared cookie
- LiveDashboard at /dashboard for all environments
2026-04-06 09:46:48 -05:00

29 lines
532 B
YAML

apiVersion: v1
kind: ServiceAccount
metadata:
name: prop
namespace: prop
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prop-pod-reader
namespace: prop
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: prop-pod-reader
namespace: prop
subjects:
- kind: ServiceAccount
name: prop
namespace: prop
roleRef:
kind: Role
name: prop-pod-reader
apiGroup: rbac.authorization.k8s.io