Skip to content

Commit

Permalink
Added second client to the ipam policies tests
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Byrgazov <[email protected]>
  • Loading branch information
Vladislav Byrgazov committed Oct 8, 2024
1 parent 0fb4fc7 commit b9c1b88
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 18 deletions.
17 changes: 0 additions & 17 deletions examples/features/ipam-policies/client.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions examples/features/ipam-policies/clients.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: alpine
labels:
app: alpine
spec:
replicas: 2
selector:
matchLabels:
app: alpine
template:
metadata:
labels:
app: alpine
annotations:
networkservicemesh.io: kernel://vl3-ipv6/nsm-1
spec:
containers:
- name: alpine
image: alpine:3.15.0
imagePullPolicy: IfNotPresent
# simple `sleep` command would work
# but we need `trap` to be able to delete pods quckly
command: ["/bin/sh", "-c", "trap : TERM INT; sleep infinity & wait"]
2 changes: 1 addition & 1 deletion examples/features/ipam-policies/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace: ns-ipam-policies
resources:
- ns-ipam-policies.yaml
- netsvc.yaml
- client.yaml
- clients.yaml
- first-nse.yaml

0 comments on commit b9c1b88

Please sign in to comment.