flame/k8s/base/rbac.yaml

27 lines
476 B
YAML
Raw Normal View History

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