1: rework the directory structure under /etc/genestack/kustomize to symlink kustomize overrides into a base directory. If the directories /opt/genestack/base-kustomize//[base|aio] exist, symlink them to /etc/genestack/kustomize//[base|aio]. This cleans up the patch structure in overlay/ to reference the symlink'd directories instead of the full relative path to /opt (the symlink is completed via the bootstrap.sh script detailed below)
2: update bootstrap.sh to ensure /etc/genestack/kustomize/ exists, then symlink [base|aio] if they exist in /opt/genestack/base-kustomize AND create the overlay directory. A second step checks if /etc/genestack/kustomize//overlay/kustomization.yaml exists, if not, populated with a header to allow for current install documentation to complete without throwing no file found errors. stub kustomization.yamlcontents are:
This pr does 4 things:
1: rework the directory structure under /etc/genestack/kustomize to symlink kustomize overrides into a base directory. If the directories /opt/genestack/base-kustomize//[base|aio] exist, symlink them to /etc/genestack/kustomize//[base|aio]. This cleans up the patch structure in overlay/ to reference the symlink'd directories instead of the full relative path to /opt (the symlink is completed via the bootstrap.sh script detailed below)
2: update bootstrap.sh to ensure /etc/genestack/kustomize/ exists, then symlink [base|aio] if they exist in /opt/genestack/base-kustomize AND create the overlay directory. A second step checks if /etc/genestack/kustomize//overlay/kustomization.yaml exists, if not, populated with a header to allow for current install documentation to complete without throwing no file found errors. stub kustomization.yamlcontents are:
apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources:
3: move ovn-backup outside of the ovn directory so we can properly symlink and override with kustomize as needed.
4: doc change to reflect the ovn-backup directory move