feat(e2e-test): Add e2e-tests for zfs-localpv (#298)

Signed-off-by: w3aman <aman.gupta@mayadata.io>
This commit is contained in:
Aman Gupta 2021-06-09 21:21:39 +05:30 committed by GitHub
parent 53f872fcf1
commit 4e73638b5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
137 changed files with 8745 additions and 0 deletions

38
e2e-tests/hack/rbac.yaml Normal file
View file

@ -0,0 +1,38 @@
apiVersion: v1
kind: Namespace
metadata:
name: e2e
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: e2e
namespace: e2e
labels:
name: e2e
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: e2e
labels:
name: e2e
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: e2e
labels:
name: e2e
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: e2e
subjects:
- kind: ServiceAccount
name: e2e
namespace: e2e