Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Provide a friendly error message when running build which uses a service account that doesn't exist #494

Open
rprakashg opened this issue Dec 6, 2018 · 0 comments
Labels
area/api kind/bug Something isn't working

Comments

@rprakashg
Copy link

rprakashg commented Dec 6, 2018

When service account name specified in manifest for Build doesn't exist provide a friendly error message that helps with troubleshooting. Currently the build just doesn't run, No pods spun up.

Expected Behavior

Provide a friendly error message running a build which uses a service account that doesn't exist for troubleshooting

Actual Behavior

Nothing happens when you run kubectl apply -f {build manifest file}

Steps to Reproduce the Problem

  1. Create a Simple build manifest file, use the hello-build sample
  2. Specify serviceAccountName, use account that doesn't exist
  3. Run the build by executing kubectl apply -f {build manifest}

/area api
/kind bug

@knative-prow-robot knative-prow-robot added area/api kind/bug Something isn't working labels Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/api kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants