CNTRLPLANE-2202: add new exceptions + fail if uncaught default sa usage is detected#30685
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@ehearne-redhat: This pull request references CNTRLPLANE-2202 which is a valid jira issue. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
/test all |
|
/test e2e-aws-csi |
|
/test e2e-vsphere-ovn-upi |
|
/test e2e-aws-ovn-microshift-serial |
|
/retest |
|
Job Failure Risk Analysis for sha: 8dc1218
|
|
/retest |
|
@ehearne-redhat: This pull request references CNTRLPLANE-2202 which is a valid jira issue. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
|
Ran monitoring script again to verify - [
{
"url": "",
"output": "pod \"debug-cskkc\" is using the default service account"
},
{
"url": "",
"output": "pod \"debug-b7lx8\" is using the default service account\npod \"debug-h2qz7\" is using the default service account\npod \"debug-sd2d2\" is using the default service account\npod \"debug-spscw\" is using the default service account\npod \"debug-zzdq8\" is using the default service account"
}
]Empty |
|
Will do a final check in sippy ui before verifying. |
|
Sippy UI revealed no new default service account usage. Since the I will re-run the tests just to make sure they pass, before adding /test all |
|
/test e2e-aws-csi |
|
/test e2e-gcp-ovn |
|
/hold We need to add this |
|
Scheduling required tests: |
|
/test e2e-metal-ipi-ovn-ipv6 |
|
/retest |
|
Based off of |
|
I will now unhold this PR and re-request review, and perhaps a test override. /unhold |
|
/lgtm |
|
/override ci/prow/e2e-metal-ipi-ovn-ipv6 |
|
@smg247: Overrode contexts on behalf of smg247: ci/prow/e2e-metal-ipi-ovn-ipv6 DetailsIn 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-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ehearne-redhat, smg247 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by ehearne-redhat |
|
@ehearne-redhat: This PR has been marked as verified by DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/refresh |
|
@ehearne-redhat: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
This PR adds new exceptions previously not caught. It also ensures default service account usage test fail if uncaught exception is found, such as when a new deployment is added to a PR, which does not have an associated service account.
This should hopefully encourage service account usage to be thought of/enforce it when creating new deployments/daemonsets, etc.