Add a more involved multus validation test to the Rook binary. Because this is intended to be end-user runnable, make sure operator-only commands are hidden. Build this into the rook binary instead of creating a separate binary for ease, and because any binary built with the kube api becomes 40+ megabytes. We save quite a bit of space by including this in the Rook binary, which is good for keeping container layers as small as possible. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
19 lines
396 B
YAML
19 lines
396 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 8080;
|
|
server_name localhost;
|
|
|
|
# return the client ip upon connect
|
|
location / {
|
|
default_type text/plain;
|
|
return 200 "$remote_addr\n";
|
|
}
|
|
}
|