@zombienet/orchestrator
Version:
ZombieNet aim to be a testing framework for substrate based blockchains, providing a simple cli tool that allow users to spawn and test ephemeral Substrate based networks
39 lines (38 loc) • 815 B
YAML
apiVersion: v1
kind: ServiceAccount
metadata:
name: zombie-internal-kubectl
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: delete-namespaces
rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list", "delete"]
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: delete-namespace-to-sa
subjects:
- kind: ServiceAccount
name: zombie-internal-kubectl
roleRef:
kind: Role
name: delete-namespaces
apiGroup: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: delete-podmonitor-to-sa
subjects:
- kind: ServiceAccount
name: zombie-internal-kubectl
namespace: "{{namespace}}"
roleRef:
kind: Role
name: delete-podmonitors
apiGroup: rbac.authorization.k8s.io