Clean up and deduplicate manifests throughout the repo #2510
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
Currently, base Kubernetes manifests for Online Boutique live in 4 distinct places:
kubernetes-manifests/
kustomize/base/
release/kubernetes-manifests.yaml
helm-chart/templates/
And Istio manifests live in 3 distinct places:
kustomize/components/service-mesh-istio
istio-manifests/
release/istio-manifests.yaml
This makes releasing, but also figuring out which manifests are source of truths and which are generated copies, needlessly difficult.
At a minimum, we should (more-or-less in this order):
istio-manifests/
in docs / tutorials (in favour of the Kustomize component), and remove this directory.release/istio-manifests.yaml
in docs / tutorials (in favour of the Kustomize component), and remove this file.helm-chart/templates/
(through README notes and new PR requirements).kubernetes-manifests/
in docs / tutorials (in favour ofkustomize/base/
which should be latest upstream and not latest release), and remove this directory.Additionally, or later, we could also consider:
v0
) instead of cloning latest, and using thekustomize/
directory at that slice in time.release/kubernetes-manifests.yaml
(in favour of the slice in time ofkustomize/
), and remove this directory.The text was updated successfully, but these errors were encountered: