Bug: chart/*values.yaml in .gitignore causing default values to get lost
Bug
chart/*values.yaml
in .gitignore
causing default values to get lost
I think the addition of chart/*values.yaml
getting added to .gitignore
(commit e75fc5d1 on JUL26) resulted in some strange behavior of default values getting lost when deploying Big Bang.
I suspect possibly somewhere in the FluxCD stack the .gitignore file is getting interpreted and somehow causing default values from chart/values.yaml
to get ignored?
I tested this out by:
- Deleting the
bigbang
namespace in my Kubernetes cluster. - I created a mirrored Big Bang repository, set the default branch to
master
- I removed
chart/*values.yaml
from.gitignore
, - Updated
kustomization.yaml
in the customer template to point to the mirrored repository - Re-deployed Big Bang pointing to the mirrored repository, and the deployment of Big Bang went smoothly, no default values getting lost.
- I then deleted the
bigbang
namespace again in my Kubernetes cluster. - Put back
chart/*values.yaml
into.gitignore
in themaster
branch - Re-deployed Big Bang (still pointing to the mirrored repository), and default values were getting lost.
Some related issues that were opened and I've also experienced can be viewed here:
- https://repo1.dso.mil/platform-one/big-bang/customers/template/-/issues/13
- https://repo1.dso.mil/platform-one/big-bang/bigbang/-/issues/600
- https://repo1.dso.mil/platform-one/big-bang/bigbang/-/issues/607
- https://repo1.dso.mil/platform-one/big-bang/bigbang/-/issues/608
^ Removing chart/*values.yaml
from .gitignore
in the mirrored repository had addressed the above issues for me.