This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 159
build-controller errors not populated on Build resource status #471
Labels
kind/bug
Something isn't working
Comments
/kind bug |
I also see this behavior on v0.2.2 (https://github.com/knative/serving/releases/download/v0.2.2/release.yaml). If it helps, I have the service account created, but the Secret referenced by the ServiceAccount does not exist –and as you expected, no status or events are logged to the Build about this. Repro steps, in case it helps:
apiVersion: v1
kind: ServiceAccount
metadata:
name: build-bot-2
secrets:
- name: does-not-exist
|
Also has no status if buildtemplates not found. Apply a service.serving without template created before:
No status field:
Only can see some info messages in logs in build-controller:
|
May we need to build/pkg/reconciler/build/build.go Lines 159 to 163 in a39b1ee
|
/assign |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In creating a Build, I had forgotten to create the serviceaccount "build" referenced in the Build. This error only appears in the build-controller logs; but does not appear in the Build resource status. If errors were populated in the status of a resource, then it would make it easier to discover the issue; rather than
kail -n knative-build
.The error from logs:
The Build resource:
The text was updated successfully, but these errors were encountered: