-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task should fail if Container fails to mount #3897
Comments
The Tekton pod fails somewhere down the line CreateContainerConfigError customer-security-pipeline-ibm-prevail-2021-kztvh-sonar-s-m58tm 2/3 CreateContainerConfigError 0 2m26s with oc describe po In the Tekton Task it is possible to set the parameter to being not optional.
Tekton starts to execute all Tekton Tasks in the pipeline, ... then somewhat later in the pipeline it starts the SonarQube Tekton task, which then fails because of the missing configmap and missing secret. It would be an improvement to check for the presence of not optional configmaps and secrets as a preflight check before starting up anything in the pipeline. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Feature request
I recently ran into this bug where I was purposely providing incorrect secret into a task .
However instead of the task failing it instead hanged and I had to go into the console in order to check this had failed as expected.
My request is that if the a Container fails to spin up, we should output an error message and the task should fail instead of hanging.
In addition to this could there be a way to check if the credentials provided are correct and provide that feedback to the user?
Use case
This would allow for easy and friendly debugging if something were to fail and the task could not start the user would be able to notice and take action rather than waiting and having to go to the cli.
The text was updated successfully, but these errors were encountered: