OADP-8448: Added service accounts to 1.6#2316
Conversation
|
@NicholasYancey: This pull request references OADP-8448 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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: NicholasYancey The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@NicholasYancey Lets close this one and cherry-pick the oadp-dev PR #2318 once that gets merged. |
|
@NicholasYancey: The following test failed, say
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. |
Why the changes were made
The CLI and VMDP download server pods on oadp-1.6 currently run with no ServiceAccount specified, which means they default to the namespace's default ServiceAccount. This fails Telco/CNF certification checks:
access-control-pod-service-account requires every pod to use a non-default ServiceAccount. This same fix was already backported directly to oadp-1.3 (#2310), oadp-1.4 (#2312), and oadp-1.5 (#2309), but was never in oadp-dev/oadp-1.6 as those branches only picked up readiness/liveness probes via #2306/#2307. This PR closes that gap for oadp-1.6, covering both the CLI and VMDP servers (unlike 1.3/1.4/1.5, oadp-1.6 has both controllers).
How to test the changes made
How to test the changes made
Deploy the operator from this branch.
Check the ServiceAccounts exist:
Check the deployments use them:
oc get deploy -n openshift-adp openshift-adp-oadp-cli-server openshift-adp-oadp-vmdp-server \ -o jsonpath='{.spec.template.spec.serviceAccountName}{"\n"}'