Bug: BigBang Quickstart Broken istio secret-tls.yaml nil pointer
Bug
Description
If you follow steps here: https://repo1.dso.mil/platform-one/big-bang/bigbang/-/blob/master/docs/guides/deployment_scenarios/quickstart.md
up to the point where you terraform apply It'll get stuck module.big_bang.data.external.Wait_for_load_balancer: Still reading... [10h11m4s elapsed]
After sshing into the k3d VM I:
- Checked namespaces and only saw flux-system, bigbang, and kube default namespaces.
- I verified registry1 creds and that images were being pulled correctly
k describe hr bigbang -n=bigbang
...
Last Helm logs:
Reason: UninstallFailed
Status: False
Type: Ready
Last Transition Time: 2021-07-29T04:36:41Z
Message: Helm install failed: template: bigbang/templates/istio/controlplane/secret-tls.yaml:1:46: executing "bigbang/templates/istio/controlplane/secret-tls.yaml" at <.Values.istio.ingress.key>: nil pointer evaluating interface {}.key
Last Helm logs:
Reason: InstallFailed
Status: False
Type: Released
Last Transition Time: 2021-07-29T04:36:57Z
Message: Helm uninstall failed: uninstall: Release not loaded: bigbang: release: not found
...
BigBang Version
What version of BigBang were you running?
- 1.11.0, but the error message makes me think it could be touching latest code some how.
- Proof of 1.11.0:
kubectl get gitrepository -n bigbang
# NAME URL READY STATUS AGE
# environment-repo https://repo1.dso.mil/platform-one/hello-world/big-bang-universe.git True Fetched revision: master/d14ad38eb9a634e4a3c467ff52dcf8219d321b0d 10h
# bigbang https://repo1.dso.mil/platform-one/big-bang/bigbang.git True Fetched revision: 1.11.0/ac3d07ac0a5206b74478f6e41c58afa99363fa00 10h
Note the error message: Message: Helm install failed: template: bigbang/templates/istio/controlplane/secret-tls.yaml:1:46: executing "bigbang/templates/istio/controlplane/secret-tls.yaml" at <.Values.istio.ingress.key>: nil pointer evaluating interface {}.key
Made me look in the repo: https://repo1.dso.mil/platform-one/big-bang/bigbang/-/blob/662b13db5b0c3e41de8e44d3e2f3d79897da524b/chart/templates/istio/controlplane/secret-tls.yaml https://repo1.dso.mil/platform-one/big-bang/bigbang/-/blob/e75fc5d185d985ff54f589d250439496654b72e3/chart/templates/istio/controlplane/secret-tls.yaml
^-- This seems to be the file referenced. There was a change about 2 days ago that looks like it could result in a nil pointer type error, but the only way that logic could possibly happen is if it was trying to deploy latest, when it should be pinned to a specific version.