Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
benchmark_image: update image tag
Browse files Browse the repository at this point in the history
Signed-off-by: Imran Pochi <[email protected]>
  • Loading branch information
ipochi committed Dec 10, 2020
1 parent c9b68c0 commit bdd6611
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion benchmark/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,30 @@
name: benchmark-sa
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
# "namespace" omitted since ClusterRoles are not namespaced
name: benchmark-cilium-resource-creator
rules:
- apiGroups: ["cilium.io"]
#resources: ["*"]
resources: ["ciliumclusterwidenetworkpolicies"]
verbs: ["get", "watch", "list", "create", "delete","update"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: benchmark-cilium-resource-creator
roleRef:
kind: ClusterRole
name: benchmark-cilium-resource-creator
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: benchmark-sa
namespace: default
---
apiVersion: v1
kind: Pod
metadata:
Expand All @@ -58,7 +82,7 @@
nodetype: worker-benchmark
containers:
- name: benchmark
image: quay.io/imran/benchmark:v0.20
image: quay.io/imran/benchmark:v0.21
imagePullPolicy: Always
securityContext:
privileged: true
Expand Down

0 comments on commit bdd6611

Please sign in to comment.