mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-11-15 12:31:19 +08:00
32 lines
573 B
YAML
32 lines
573 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: agh-e2e
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: agh-e2e
|
|
namespace: {{ .Release.Namespace }}
|
|
rules:
|
|
- apiGroups: [ "" ]
|
|
resources: [ "pods" ]
|
|
verbs: [ "get", "watch", "list" ]
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: agh-e2e
|
|
namespace: {{ .Release.Namespace }}
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: agh-e2e
|
|
roleRef:
|
|
kind: Role
|
|
name: agh-e2e
|
|
apiGroup: rbac.authorization.k8s.io
|