summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/test/integration
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-05-31 09:36:30 -0400
committerGitHub <noreply@github.com>2017-05-31 09:36:30 -0400
commit15221b6943df7e54ff00db6271ee89eb5cbe0425 (patch)
treeb7b32d862c0b8ed3e037c26271a9f384493e07f8 /roles/lib_openshift/src/test/integration
parent61324060fde1435ff1c819858bb4271352458a68 (diff)
parenta1cfec9bbe43dd005ab16792c90cc949555cce12 (diff)
downloadopenshift-15221b6943df7e54ff00db6271ee89eb5cbe0425.tar.gz
openshift-15221b6943df7e54ff00db6271ee89eb5cbe0425.tar.bz2
openshift-15221b6943df7e54ff00db6271ee89eb5cbe0425.tar.xz
openshift-15221b6943df7e54ff00db6271ee89eb5cbe0425.zip
Merge pull request #4091 from richm/oc_service-labels-externalIPs
add support for oc_service for labels, externalIPs
Diffstat (limited to 'roles/lib_openshift/src/test/integration')
-rwxr-xr-xroles/lib_openshift/src/test/integration/oc_service.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/lib_openshift/src/test/integration/oc_service.yml b/roles/lib_openshift/src/test/integration/oc_service.yml
index 3eb6facef..29535f24a 100755
--- a/roles/lib_openshift/src/test/integration/oc_service.yml
+++ b/roles/lib_openshift/src/test/integration/oc_service.yml
@@ -18,6 +18,9 @@
test-registtry: default
session_affinity: ClientIP
service_type: ClusterIP
+ labels:
+ component: test-registry
+ infra: registry
register: svc_out
- debug: var=svc_out
@@ -25,6 +28,8 @@
that:
- "svc_out.results.results[0]['metadata']['name'] == 'test-registry'"
- svc_out.changed
+ - "svc_out.results.results[0]['metadata']['labels']['component'] == 'test-registry'"
+ - "svc_out.results.results[0]['metadata']['labels']['infra'] == 'registry'"
msg: service create failed.
# Test idempotent create