flame/k8s/overlays/shokohsc/rbac.yaml

27 lines
496 B
YAML
Raw Permalink Normal View History

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: flame-dev
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: flame-dev
rules:
- apiGroups: ["networking.k8s.io"]
resources: ["ingresses"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: flame-dev
subjects:
- kind: ServiceAccount
name: flame-dev
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: flame-dev