Files
my-rook-config/pkg/daemon/multus/nginx-config.yaml
T
Blaine Gardner 424b1a6da3 multus: add and test ipv6 support for validation tool
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>
(cherry picked from commit 08a27940ed)
2024-06-04 19:20:31 +00:00

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";
}
}