summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-10-29 11:01:55 -0700
committerVictor Morales <victor.morales@intel.com>2018-10-29 11:01:55 -0700
commit9a18c2973c9b27ca702d34cf757378b278d64b96 (patch)
tree6750d4c99c09ae8458e8cf3cc6ad5e2a387a3beb
parent465bddc20ff33b535e8cfffd2182554057453e38 (diff)
Add context into for sink service selector
In order to narrow down the number of the endpoints to one. This change provides a context in the selector section. Change-Id: If1ebe744fc43ad9ec6ebbc513f397e55dae13dd9 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
-rwxr-xr-xvagrant/tests/_common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/vagrant/tests/_common.sh b/vagrant/tests/_common.sh
index a8f01baf..ac226da0 100755
--- a/vagrant/tests/_common.sh
+++ b/vagrant/tests/_common.sh
@@ -226,6 +226,7 @@ spec:
nodePort: 30667
selector:
app: vFirewall
+ context: darkstat
SERVICE
cat << INGRESS > sink-ingress.yaml
@@ -455,10 +456,12 @@ spec:
selector:
matchLabels:
app: vFirewall
+ context: darkstat
template:
metadata:
labels:
app: vFirewall
+ context: darkstat
annotations:
k8s.v1.cni.cncf.io/networks: '[
{ "name": "protected-private-net-cidr", "interfaceRequest": "eth1" },