Skip to content
Snippets Groups Projects
Commit 2469bd2a authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

OECC/PSC'22 - Tests:

- Added script to expose interdomain grpc port on the node
parent 6c1e72d8
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!119Migration of Interdomain component and OECC/PSC'22 test to Release 2
#!/bin/bash
PATCH='{"data": {"10010": "tfs-dom2/interdomainservice:10010"}}'
kubectl patch configmap nginx-ingress-tcp-microk8s-conf-dom2 --namespace ingress --patch "${PATCH}"
CONTAINER='{"name": "nginx-ingress-microk8s", "ports": [{"containerPort": 10010, "hostPort": 10010, "protocol": "TCP"}]}'
PATCH='{"spec": {"template": {"spec": {"containers": ['${CONTAINER}']}}}}'
kubectl patch daemonset nginx-ingress-microk8s-controller-dom2 --namespace ingress --patch "${PATCH}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment