I have a ci/cd YAML pipeline for deploying my Kubernetes cluster. I also have a separate YAML pipeline for upsizing and downsizing my cluster.
My upsize and downsize YAML retrieves the current deployed build for each environment since our repo only has a master branch. This ensures we are not deploying any new helm values that haven’t been deployed to the environments yet (dev, stage and prod).
Should I continue to keep separate YAML files or condense it into a single pipeline? Is there any best practice for this or is it really up to the team’s preference?