Skip to content

Commit

Permalink
fix(k8s config): autotest cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
moelang committed May 24, 2021
1 parent e166998 commit 67d0042
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AutoTest
24 changes: 23 additions & 1 deletion sdv_demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ spec:
- name: storage
image: eclipse/zenoh:latest
command: ["/bin/sh"]
args: ["-c", "exec /zenohd --mem-storage=/**"]
args: ["-c", "exec /zenohd --mem-storage=/rsu/**"]
ports:
- name: http
containerPort: 8000
Expand Down Expand Up @@ -179,3 +179,25 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.hostIP
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: monitor
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["list", "watch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: monitor
subjects:
- kind: ServiceAccount
name: default
namespace: sdv
roleRef:
kind: ClusterRole
name: monitor
apiGroup: rbac.authorization.k8s.io

0 comments on commit 67d0042

Please sign in to comment.