Reduce machine, cluster charts to single instances 40/4540/1
authorTodd Malsbary <todd.malsbary@intel.com>
Fri, 19 Nov 2021 17:01:22 +0000 (09:01 -0800)
committerTodd Malsbary <todd.malsbary@intel.com>
Tue, 7 Dec 2021 17:23:19 +0000 (09:23 -0800)
commit7f5b95aaf15bca22ac6506ac5e1b5db0d0437222
tree504d1b4ae6e348b56f95b1718ad76aa7c2546981
parentb94a4a7a41fbc3d2ce5248cf036250f428413ae8
Reduce machine, cluster charts to single instances

The prior versions of the chart allow defining multiple instances of
machines and clusters to be defined in a single release of the chart.
This change now requires that each instance be defined as a unique
release.  While slightly more verbose intially, this simplifies
documentation and allows default values to be provided in a sensible
way.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I9cd9694cf5de59439b393d5c9d271783d8c7ad54
47 files changed:
.gitignore
deploy/cluster/.helmignore [moved from deploy/clusters/.helmignore with 100% similarity]
deploy/cluster/Chart.yaml [new file with mode: 0644]
deploy/cluster/cluster.sh [moved from deploy/clusters/clusters.sh with 84% similarity]
deploy/cluster/resources/harden_k8s.sh [moved from deploy/clusters/resources/harden_k8s.sh with 100% similarity]
deploy/cluster/resources/harden_os.sh [moved from deploy/clusters/resources/harden_os.sh with 100% similarity]
deploy/cluster/resources/override.conf [moved from deploy/clusters/resources/override.conf with 100% similarity]
deploy/cluster/resources/set_kernel_cmdline.sh [moved from deploy/clusters/resources/set_kernel_cmdline.sh with 100% similarity]
deploy/cluster/templates/NOTES.txt [new file with mode: 0644]
deploy/cluster/templates/_containerruntime.yaml [moved from deploy/clusters/templates/_containerruntime.yaml with 97% similarity]
deploy/cluster/templates/_keepalived.yaml [moved from deploy/clusters/templates/_keepalived.yaml with 92% similarity]
deploy/cluster/templates/cluster.yaml [moved from deploy/clusters/templates/cluster.yaml with 57% similarity]
deploy/cluster/templates/clusterresourceset.yaml [new file with mode: 0644]
deploy/cluster/templates/flannel-addon.yaml [moved from deploy/clusters/templates/flannel-addon.yaml with 97% similarity]
deploy/cluster/templates/flux-addon.yaml [moved from deploy/clusters/templates/flux-addon.yaml with 99% similarity]
deploy/cluster/templates/kubeadmconfigtemplate.yaml [moved from deploy/clusters/templates/kubeadmconfigtemplate.yaml with 75% similarity]
deploy/cluster/templates/kubeadmcontrolplane.yaml [moved from deploy/clusters/templates/kubeadmcontrolplane.yaml with 79% similarity]
deploy/cluster/templates/machinedeployment.yaml [new file with mode: 0644]
deploy/cluster/templates/metal3cluster.yaml [moved from deploy/clusters/templates/metal3cluster.yaml with 52% similarity]
deploy/cluster/templates/metal3datatemplate.yaml [moved from deploy/clusters/templates/metal3datatemplate.yaml with 58% similarity]
deploy/cluster/templates/metal3machinetemplate-controlplane.yaml [new file with mode: 0644]
deploy/cluster/templates/metal3machinetemplate-workers.yaml [new file with mode: 0644]
deploy/cluster/templates/podsecurity-addon.yaml [moved from deploy/clusters/templates/podsecurity-addon.yaml with 98% similarity]
deploy/cluster/values.yaml [new file with mode: 0644]
deploy/clusters/Chart.yaml [deleted file]
deploy/clusters/ha-dhcp-values.yaml [deleted file]
deploy/clusters/static-values.yaml [deleted file]
deploy/clusters/templates/clusterresourceset.yaml [deleted file]
deploy/clusters/templates/machinedeployment.yaml [deleted file]
deploy/clusters/templates/metal3machinetemplate-controlplane.yaml [deleted file]
deploy/clusters/templates/metal3machinetemplate-workers.yaml [deleted file]
deploy/machine/.helmignore [moved from deploy/machines/.helmignore with 100% similarity]
deploy/machine/Chart.yaml [new file with mode: 0644]
deploy/machine/templates/NOTES.txt [new file with mode: 0644]
deploy/machine/templates/_networkdata.json [moved from deploy/machines/templates/_networkdata.json with 96% similarity]
deploy/machine/templates/_userdata.yaml [moved from deploy/machines/templates/_userdata.yaml with 97% similarity]
deploy/machine/templates/baremetalhost.yaml [new file with mode: 0644]
deploy/machine/values.yaml [new file with mode: 0644]
deploy/machines/Chart.yaml [deleted file]
deploy/machines/example-values.yaml [deleted file]
deploy/machines/templates/baremetalhost.yaml [deleted file]
deploy/metal3/scripts/01_metal3.sh
deploy/site/vm/cluster-e2etest-values.yaml [new file with mode: 0644]
deploy/site/vm/clusters-values.yaml [deleted file]
deploy/site/vm/vm.sh
env/lib/common.sh
tools/vagrant/create_machine_resource.sh