Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GKE test failures. #11231

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ To run any feature example follow steps for [Basic NSM setup](../basic)
- [vL3 DNS](./vl3-dns)
- [vL3-scale-from-zero](./vl3-scale-from-zero)
- [vL3 Load Balancer](./vl3-lb)
- [vL3 IPv6](./vl3-ipv6)
- [Inject clients in namespace via NSM annotation](./annotated-namespace)
- [NSC connects to multiple services](./multiple-services)
- [Scaled Registry K8s](./scaled-registry)
Expand Down
13 changes: 13 additions & 0 deletions examples/features/vl3-ipv6/ipam-deployment-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- op: replace
path: /metadata/name
value: vl3-ipam-ipv6
- op: replace
path: /metadata/labels/app
value: vl3-ipam-ipv6
- op: replace
path: /spec/selector/matchLabels/app
value: vl3-ipam-ipv6
- op: replace
path: /spec/template/metadata/labels/app
value: vl3-ipam-ipv6
10 changes: 10 additions & 0 deletions examples/features/vl3-ipv6/ipam-service-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
- op: replace
path: /metadata/name
value: vl3-ipam-ipv6
- op: replace
path: /spec/selector/app
value: vl3-ipam-ipv6
- op: replace
path: /spec/ports/0/name
value: vl3-ipam-ipv6
12 changes: 12 additions & 0 deletions examples/features/vl3-ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,15 @@ resources:
patchesStrategicMerge:
- nse-patch.yaml
- ipam-patch.yaml

patches:
- target:
version: v1
kind: Deployment
name: vl3-ipam
path: ipam-deployment-patch.yaml
- target:
version: v1
kind: Service
name: vl3-ipam
path: ipam-service-patch.yaml
2 changes: 2 additions & 0 deletions examples/features/vl3-ipv6/nse-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
containers:
- name: nse
env:
- name: NSM_PREFIX_SERVER_URL
value: "vl3-ipam-ipv6:5006"
- name: NSM_SERVICE_NAMES
value: "vl3-ipv6"
- name: NSM_REGISTER_SERVICE
Expand Down
Loading