git repo not ready: configured branch '0.3' does not exist
On my local cluster I get this from the flux pod:
root@oas:~# kubectl -n oas logs flux-78948d4b57-tqspt
ts=2020-01-09T22:00:58.405144907Z caller=main.go:248 version=1.16.0
ts=2020-01-09T22:00:58.405171274Z caller=main.go:292 warning="configuring any of {git-user, git-email, git-set-author, git-ci-skip} has no effect when --git-readonly is set"
ts=2020-01-09T22:00:58.405197502Z caller=main.go:383 msg="using in cluster config to connect to the cluster"
ts=2020-01-09T22:00:58.418250196Z caller=main.go:474 host=https://10.43.0.1:443 version=kubernetes-v1.15.5
ts=2020-01-09T22:00:58.418412213Z caller=main.go:486 kubectl=/usr/local/bin/kubectl
ts=2020-01-09T22:00:58.419342819Z caller=main.go:498 ping=true
ts=2020-01-09T22:00:58.422310111Z caller=main.go:633 url=https://@open.greenhost.net/openappstack/openappstack user="Weave Flux" email=support@weave.works signing-key= verify-signatures=false sync-tag=flux-sync state=secret readonly=true notes-ref=flux set-author=false git-secret=false
ts=2020-01-09T22:00:58.424752175Z caller=main.go:736 upstream="no upstream URL given"
ts=2020-01-09T22:00:58.425567552Z caller=main.go:757 addr=:3030
ts=2020-01-09T22:00:58.432234879Z caller=loop.go:60 component=sync-loop info="Repo is read-only; no image updates will be attempted"
ts=2020-01-09T22:00:58.432330621Z caller=loop.go:101 component=sync-loop err="git repo not ready: git repo has not been cloned yet"
ts=2020-01-09T22:00:58.98560983Z caller=checkpoint.go:21 component=checkpoint msg="update available" latest=1.17.0 URL=https://github.com/fluxcd/flux/releases/tag/1.17.0
ts=2020-01-09T22:05:58.432550496Z caller=loop.go:101 component=sync-loop err="git repo not ready: configured branch '0.3' does not exist"
The CI pipeline uses master
instead of 0.3
:
ts=2020-01-07T15:39:32.262193513Z caller=loop.go:127 component=sync-loop event=refreshed url=http://@local-flux.oas.svc.cluster.local/.git branch=master HEAD=3117c840e828f62084878b22f25cf6f7ee8d7828
This is bad since we're not testing what we'll release