e2e: add test for allowed location IPs

This commit adds a new e2e test fot the recently introduced
allowed-location-ips annotation. This test annotates the control-plane
node with an allowed IP and then ensures this IPs is reachable from
the curl helper Pod, which is now guaranteed to be scheduled on a
worker node.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
This commit is contained in:
Lucas Servén Marín
2021-06-16 12:50:52 +02:00
parent 9a75468a32
commit 6ab338cf58
2 changed files with 26 additions and 7 deletions

View File

@@ -12,7 +12,6 @@ spec:
app.kubernetes.io/name: curl
template:
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: curl
spec: