Add Istio to vm and pod11 sites 22/4722/1
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 8 Mar 2022 21:27:28 +0000 (13:27 -0800)
committerTodd Malsbary <todd.malsbary@intel.com>
Wed, 9 Mar 2022 18:29:21 +0000 (10:29 -0800)
commit41776ab3743c491e4ff4c31e7a2ea48abe6451a2
tree82ef9d8800c3032939bfbb1637f843a8b929169b
parente245fd4e27d4a98ca91c0acfa1a1325b695c9581
Add Istio to vm and pod11 sites

This requires generating cluster-specific certificates to be deployed
before Istio is deployed, so split out the sites into separate
deployment and cluster directories.  The deployment directory contains
the site.yaml and the cluster directory contains the cluster
specifics.

As part of this, refactor common site build-source functionality into
site.sh.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I434e261a67938c2d4f8c7ee7bd4b7154f6325c5f
76 files changed:
Vagrantfile
deploy/istio/istio.sh
deploy/site/cluster-icn/gotk-sync.yaml
deploy/site/common.sh
deploy/site/pod11/.sops.yaml
deploy/site/pod11/cluster/icn/addons.yaml [moved from deploy/site/vm-mc/cluster-1/addons.yaml with 100% similarity]
deploy/site/pod11/cluster/icn/emco-compute.yaml [moved from deploy/site/vm-mc/cluster-2/emco-compute.yaml with 100% similarity]
deploy/site/pod11/cluster/icn/emco-management.yaml [moved from deploy/site/vm-mc/cluster-1/emco-management.yaml with 100% similarity]
deploy/site/pod11/cluster/icn/gotk-sync.yaml [moved from deploy/site/vm-mc/cluster-1/gotk-sync.yaml with 88% similarity]
deploy/site/pod11/cluster/icn/istio-cacerts.yaml [new file with mode: 0644]
deploy/site/pod11/cluster/icn/istio-namespace.yaml [moved from deploy/site/vm-mc/cluster-1/istio-namespace.yaml with 100% similarity]
deploy/site/pod11/cluster/icn/istio.yaml [moved from deploy/site/vm-mc/cluster-1/istio.yaml with 100% similarity]
deploy/site/pod11/deployment/site.yaml [new file with mode: 0644]
deploy/site/pod11/pod11.sh
deploy/site/pod11/site.yaml [deleted file]
deploy/site/secrets/certs/cluster-1/ca-cert.pem [deleted file]
deploy/site/secrets/certs/cluster-1/ca-key.pem [deleted file]
deploy/site/secrets/certs/cluster-2/ca-cert.pem [deleted file]
deploy/site/secrets/certs/cluster-2/ca-key.pem [deleted file]
deploy/site/secrets/certs/pod11/icn/ca-cert.pem [new file with mode: 0644]
deploy/site/secrets/certs/pod11/icn/ca-key.pem [new file with mode: 0644]
deploy/site/secrets/certs/pod11/icn/cert-chain.pem [moved from deploy/site/secrets/certs/cluster-2/cert-chain.pem with 52% similarity]
deploy/site/secrets/certs/pod11/icn/root-cert.pem [moved from deploy/site/secrets/certs/cluster-1/root-cert.pem with 100% similarity]
deploy/site/secrets/certs/root-cert.srl
deploy/site/secrets/certs/vm-mc/compute/ca-cert.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm-mc/compute/ca-key.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm-mc/compute/cert-chain.pem [moved from deploy/site/secrets/certs/cluster-1/cert-chain.pem with 52% similarity]
deploy/site/secrets/certs/vm-mc/compute/root-cert.pem [moved from deploy/site/secrets/certs/cluster-2/root-cert.pem with 100% similarity]
deploy/site/secrets/certs/vm-mc/management/ca-cert.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm-mc/management/ca-key.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm-mc/management/cert-chain.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm-mc/management/root-cert.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm/icn/ca-cert.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm/icn/ca-key.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm/icn/cert-chain.pem [new file with mode: 0644]
deploy/site/secrets/certs/vm/icn/root-cert.pem [new file with mode: 0644]
deploy/site/site.sh
deploy/site/vm-mc/cluster-1/istio-cacerts.yaml [deleted file]
deploy/site/vm-mc/cluster-2/istio-cacerts.yaml [deleted file]
deploy/site/vm-mc/cluster/compute/addons.yaml [moved from deploy/site/vm-mc/cluster-2/addons.yaml with 100% similarity]
deploy/site/vm-mc/cluster/compute/emco-compute.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/compute/gotk-sync.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/compute/istio-cacerts.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/compute/istio-namespace.yaml [moved from deploy/site/vm-mc/cluster-2/istio-namespace.yaml with 100% similarity]
deploy/site/vm-mc/cluster/compute/istio.yaml [moved from deploy/site/vm-mc/cluster-2/istio.yaml with 100% similarity]
deploy/site/vm-mc/cluster/management/addons.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/management/emco-management.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/management/gotk-sync.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/management/istio-cacerts.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/management/istio-namespace.yaml [new file with mode: 0644]
deploy/site/vm-mc/cluster/management/istio.yaml [new file with mode: 0644]
deploy/site/vm-mc/deployment/cluster-1.yaml [deleted file]
deploy/site/vm-mc/deployment/cluster-2.yaml [deleted file]
deploy/site/vm-mc/deployment/cluster-compute.yaml [new file with mode: 0644]
deploy/site/vm-mc/deployment/cluster-management.yaml [new file with mode: 0644]
deploy/site/vm-mc/deployment/machine-1.yaml
deploy/site/vm-mc/deployment/machine-2.yaml
deploy/site/vm-mc/deployment/machine-3.yaml
deploy/site/vm-mc/deployment/machine-4.yaml
deploy/site/vm-mc/id_rsa
deploy/site/vm-mc/id_rsa.pub
deploy/site/vm-mc/vm-mc.sh
deploy/site/vm/.sops.yaml
deploy/site/vm/cluster/icn/addons.yaml [new file with mode: 0644]
deploy/site/vm/cluster/icn/emco-compute.yaml [new file with mode: 0644]
deploy/site/vm/cluster/icn/emco-management.yaml [new file with mode: 0644]
deploy/site/vm/cluster/icn/gotk-sync.yaml [moved from deploy/site/vm-mc/cluster-2/gotk-sync.yaml with 88% similarity]
deploy/site/vm/cluster/icn/istio-cacerts.yaml [new file with mode: 0644]
deploy/site/vm/cluster/icn/istio-namespace.yaml [new file with mode: 0644]
deploy/site/vm/cluster/icn/istio.yaml [new file with mode: 0644]
deploy/site/vm/deployment/site.yaml [new file with mode: 0644]
deploy/site/vm/id_rsa
deploy/site/vm/id_rsa.pub
deploy/site/vm/site.yaml [deleted file]
deploy/site/vm/vm.sh
tools/vagrant/destroy.rb