infra/k8s/external-account-rbac/matrix-bridge-meshtastic-deployer.yaml
Finn c37c22eb4f
All checks were successful
/ diff-and-deploy (push) Successful in 1m54s
remove meshtastic deploy from this repo, let it deploy itself
2024-10-30 14:59:42 -07:00

22 lines
523 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
rules:
- apiGroups: ["v1"]
resources: ["statefulsets"]
verbs: ["get", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: matrix-bridge-meshtastic-deployer
subjects:
- kind: User
name: matrix-bridge-meshtastic-deployer