forked from rook/rook
Add IPv6 support for multus validation tool. Also test that IPv6 support works by specifying one of the NetAttachDefs with an IPv6 address range. Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
22 lines
498 B
YAML
22 lines
498 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: multus-validation-test-web-server-conf
|
|
labels:
|
|
app: multus-validation-test-web-server
|
|
data:
|
|
server.conf: |
|
|
server {
|
|
# listen on all IPv4 addrs
|
|
listen 8080;
|
|
# listen on all IPv6 addrs
|
|
listen [::]:8080;
|
|
server_name localhost;
|
|
|
|
# return the client ip upon connect
|
|
location / {
|
|
default_type text/plain;
|
|
return 200 "$remote_addr\n";
|
|
}
|
|
}
|