Skip to content

Commit 21f5b1b

Browse files
committed
Update e2e test for launcherconfigs
Signed-off-by: Jun Duan <jun.duan.phd@outlook.com>
1 parent 7ff39fb commit 21f5b1b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

test/e2e/run.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Usage: $0
44
# Current working directory must be the root of the Git repository.
5-
# The only reason for this is the `make` commands.
5+
# The reasons for this are the `make` commands and the location of CRDs.
66

77
set -euo pipefail
88

@@ -67,12 +67,22 @@ kubectl get pods -A -o wide
6767

6868
kubectl create clusterrole node-viewer --verb=get,list,watch --resource=nodes
6969

70+
kubectl create -f ./config/crd/
71+
7072
kubectl apply -f - <<EOF
7173
apiVersion: rbac.authorization.k8s.io/v1
7274
kind: Role
7375
metadata:
7476
name: testreq
7577
rules:
78+
- apiGroups:
79+
- "fma.llm-d.ai"
80+
resources:
81+
- launcherconfigs
82+
verbs:
83+
- get
84+
- list
85+
- watch
7686
- apiGroups:
7787
- ""
7888
resourceNames:

0 commit comments

Comments
 (0)