k8s: Add virtual environment for testing 27/90827/3
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 27 Jun 2019 14:46:28 +0000 (16:46 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 8 Jul 2019 10:29:52 +0000 (12:29 +0200)
commitea8bc1a719a36c89e7eae42080b1835e5ef0c28d
tree1b77dadbdc8463e76a9411195e2ef4d1ef78f4ef
parent65028666004a61afa0b7ea054da4744f3a2e298d
k8s: Add virtual environment for testing

This patch adds simplified ONAP deployment environment (Kubernetes
cluster managed by Rancher). Its purpose is to provide cluster defaults
for inspection without the need to access actual ONAP application
deployment.

Default node customization scripts were extracted
("tools/get_customization_scripts.sh" run within "tools/imported/"
directory) from official documentation [1] and imported here in order
not to introduce runtime online dependencies.

This environment should probably be migrated in future to more
appropriate place like devtool [2] (or at least use the same Vagrant
boxes).

[1] https://docs.onap.org/en/casablanca/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html
[2] https://git.onap.org/integration/devtool

Issue-ID: SECCOM-235
Change-Id: I57f9f3caac0e8b391e9ed480f6bebba98e006882
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/k8s/tools/get_customization_scripts.sh [new file with mode: 0755]
test/security/k8s/tools/imported/openstack-k8s-node.sh [new file with mode: 0644]
test/security/k8s/tools/imported/openstack-rancher.sh [new file with mode: 0644]
test/security/k8s/vagrant/Vagrantfile [new file with mode: 0644]