pipelines-as-code
pipelines-as-code copied to clipboard
Check we are not creating repo in kube* or openshift* namespaces with tkn pac repo create
this has some unexpected behaviour where the default SA would not be available anymore! and it's probably bad practice to create "workload" in system namespaces...
we warn to WARN right? and not decline the request
I think it was reported as not working when creating there since we don't auto create the service account in there
in case of openshift, denying might be okay openshift-* namespaces but
in case of kube, we probably just WARN and create if user says YES.
sure! i just add kube-* for completeness to be honest...