-
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
TaskRun failures dued to k8s PodSecurity #5779
Comments
Quick update:
|
Have you tried applying the files in another namespace, e.g. I believe it's good practice not to run your pipelines in the |
Hi @AlanGreene thanks for your response, I've tried to change namespace into default and it worked as expected. |
In general I would use different namespaces for different purposes. So I would have my application deployed in one namespace and run my CI/CD pipelines in another (possibly multiple), in fact I may even use different clusters depending on the level of isolation required. It depends on your particular circumstances and requirements. |
Crystal clear! Thank you for the explanation |
Looks like a duplicate of #5896 |
Expected Behavior
I can run the tutorial pipeline to clone a repo
Actual Behavior
The pipeline fails for PodSecurity configurations
Steps to Reproduce the Problem
1.Copy the files here
2. Apply them to k8s cluster (I'm using kubectl v1.25.1 on minikube)
3. watch as the pipelinerun fails
Additional Info
Kubernetes version:
v1.25.1
Tekton Pipeline version:
v.0.41.0
The text was updated successfully, but these errors were encountered: