Skip to content

Commit

Permalink
DNM: test commit
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Panattoni <[email protected]>
  • Loading branch information
zeeke committed Dec 6, 2023
1 parent f8fba94 commit cca761b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
image: $SRIOV_NETWORK_OPERATOR_IMAGE
command:
- sriov-network-operator
args:
- --leader-elect
resources:
requests:
cpu: 100m
Expand Down
6 changes: 6 additions & 0 deletions deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ rules:
- get
- list
- watch
- apiGroups:
- 'coordination.k8s.io'
resources:
- 'leases'
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down
2 changes: 2 additions & 0 deletions hack/deploy-wait.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ if ! $ready; then
oc get nodes
exit 1
fi

kubectl -n $NAMESPACE delete pod -l name=sriov-network-operator

0 comments on commit cca761b

Please sign in to comment.