Move pre, postinstall, scenario, and apps to stack 58/5158/4
authorFatih Degirmenci <fatih.degirmenci@est.tech>
Wed, 24 Jun 2020 13:22:44 +0000 (13:22 +0000)
committerFatih Degirmenci <fatih.degirmenci@est.tech>
Wed, 24 Jun 2020 17:18:49 +0000 (17:18 +0000)
commita1e1f40e71a48d8c5315f37999b9123c7ea908ab
treeeb75c53b593eec52f80bd3c0fc7935202983d3e5
parent20d34e772e021fabdee0aa9b50e9804a80d5108a
Move pre, postinstall, scenario, and apps to stack

Preinstall, postinstall, scenario, and apps are specific
to stack composition and more appropriate to locate them
within the stacks themselves rather than the installers.
This makes it possible for different stacks to configure
target deployment according to their needs and use the
installer without thinking about potential effects the
changes could cause on other stacks that may be using the
same installer.

An example to this is Kubernetes and ONAP stacks and the
CEPH configuration. Both stacks use Kubespray but the
configuration of Kubernetes differs between them. By moving
the pre/post/scenario/app configuration into stacks
themselves, they become independent from each other as
much as possible.

Please note that once this change goes in, the dependent
change needs to be verified and submitted in order to
conclude the transition.

https://gerrit.nordix.org/c/infra/installer/kubespray/+/5157

Change-Id: I24d7e9546034b385565708f528ed9caddf03ae26
55 files changed:
apps/ceph/kubespray/playbooks/install.yml [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/common/vars/main.yml [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/tasks/main.yaml [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/cluster.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/common.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/external-dashboard-https.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/filesystem-storageclass.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/filesystem.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/operator.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/pool.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/storageclass.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/templates/toolbox.yaml.j2 [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/vars/offline-deployment.yaml [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/install/vars/online-deployment.yaml [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/prepare/files/clean-ceph-osd.sh [new file with mode: 0644]
apps/ceph/kubespray/playbooks/roles/prepare/tasks/main.yml [new file with mode: 0644]
apps/istio/kubespray/playbooks/install.yml [new file with mode: 0644]
apps/istio/kubespray/playbooks/roles/install/tasks/main.yml [new file with mode: 0644]
apps/istio/kubespray/playbooks/roles/install/vars/main.yml [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/install.yml [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/tasks/main.yaml [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/templates/index.yaml.j2 [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/templates/prometheus_service.yaml.j2 [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/templates/values.yaml.j2 [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/vars/main.yaml [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/vars/offline-deployment.yaml [new file with mode: 0644]
apps/prometheus/kubespray/playbooks/roles/install/vars/online-deployment.yaml [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/install.yml [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/roles/install/files/log-spinnaker-status.sh [new file with mode: 0755]
apps/spinnaker/kubespray/playbooks/roles/install/tasks/main.yml [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/roles/install/templates/index.yaml.j2 [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/roles/install/templates/values.yaml.j2 [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/roles/install/vars/main.yml [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/roles/install/vars/offline-deployment.yaml [new file with mode: 0644]
apps/spinnaker/kubespray/playbooks/roles/install/vars/online-deployment.yaml [new file with mode: 0644]
install.sh
package.sh
playbooks/postinstall.yaml [new file with mode: 0644]
playbooks/preinstall.yaml [new file with mode: 0644]
playbooks/roles/postinstall/tasks/configure-jumphost.yml [new file with mode: 0644]
playbooks/roles/postinstall/tasks/configure-localhost.yml [new file with mode: 0644]
playbooks/roles/postinstall/tasks/main.yml [new file with mode: 0644]
playbooks/roles/postinstall/vars/main.yaml [new file with mode: 0644]
playbooks/roles/postinstall/vars/offline-deployment.yaml [new file with mode: 0644]
playbooks/roles/postinstall/vars/online-deployment.yaml [new file with mode: 0644]
scenarios/k8-calico-istio.yaml [new file with mode: 0644]
scenarios/k8-calico-nofeature.yaml [new file with mode: 0644]
scenarios/k8-calico-spinnaker.yaml [new file with mode: 0644]
scenarios/k8-canal-nofeature.yaml [new file with mode: 0644]
scenarios/k8-cilium-nofeature.yaml [new file with mode: 0644]
scenarios/k8-flannel-nofeature.yaml [new file with mode: 0644]
scenarios/k8-multus-nofeature.yaml [new file with mode: 0644]
scenarios/k8-multus-plugins.yaml [new file with mode: 0644]
scenarios/k8-weave-nofeature.yaml [new file with mode: 0644]
tox.ini