UNCLASSIFIED - NO CUI

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:

  1. Deleting the bigbang namespace in my Kubernetes cluster.
  2. I created a mirrored Big Bang repository, set the default branch to master
  3. I removed chart/*values.yaml from .gitignore,
  4. Updated kustomization.yaml in the customer template to point to the mirrored repository
  5. Re-deployed Big Bang pointing to the mirrored repository, and the deployment of Big Bang went smoothly, no default values getting lost.
  6. I then deleted the bigbang namespace again in my Kubernetes cluster.
  7. Put back chart/*values.yaml into .gitignore in the master branch
  8. 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:

^ Removing chart/*values.yaml from .gitignore in the mirrored repository had addressed the above issues for me.