Refactor k8s scenario implementation 23/68423/13
authorFatih Degirmenci <fdegir@gmail.com>
Sat, 31 Aug 2019 16:50:05 +0000 (18:50 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Sun, 1 Sep 2019 00:45:10 +0000 (02:45 +0200)
commit5ed2d835de246e3cfb0878d78b382115ec8f0987
treef0c515ce1da4444eae0334cf73fcd99d8f9708d8
parent0326442e753be727c2342b7caf9606393f84d744
Refactor k8s scenario implementation

This change updates the scenario logic for basic k8s
scenarios that enables the use of various network plugins.

The change simply stops copying k8s-cluster.yml over but instead
operates on the existing/original k8s-cluster.yml and updates
kube_network_plugin in place.

This makes it easier to maintain the scenarios and more importantly
unblocks us from bumping kubespray and kubernetes versions.

Please note that opnfv-scenario-requirements.yml contains version and
the refspec of the corresponding change in releng-xci-scenarios repo
so this change must be verified properly and if it passes CI, it
needs to be amended, updating k8-calico-nofeature scenario's version
to master and submitted. And then the change in releng-xci-scenarios
can properly be verified.

https://gerrit.opnfv.org/gerrit/#/c/releng-xci-scenarios/+/68418/

installer-type:kubespray
deploy-scenario:k8-calico-nofeature

JIRA: XCI-20

Change-Id: I1f851d20f5f7bc256199303581b05659091fddf9
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
xci/config/env-vars
xci/config/pinned-versions
xci/installer/kubespray/deploy.sh
xci/installer/kubespray/playbooks/configure-installer.yml [new file with mode: 0644]
xci/installer/kubespray/playbooks/configure-opnfvhost.yml
xci/opnfv-scenario-requirements.yml
xci/var/opnfv.yml