[release-4.20] OCPBUGS-74546: Resolve nil pointer exception in hasResourceTags #970
@openshift-cherrypick-robot: Detected clone of Jira Issue OCPBUGS-74384 with correct target version. Will retitle the PR to link to the clone.
/retitle [release-4.20] OCPBUGS-74546: Resolve nil pointer exception in hasResourceTags
<details>
In response to this:
>This is an automated cherry-pick of #966
>/assign openshift-ci-robot
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.
</details>
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-74546, which is invalid:
- expected dependent Jira Issue OCPBUGS-74545 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is POST instead
- expected dependent Jira Issue OCPBUGS-74545 to target a version in 4.21.0, but it targets "4.21.z" instead
Comment <code>/jira refresh</code> to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
The bug has been updated to refer to the pull request using the external bug tracker.
<details>
In response to this:
>This is an automated cherry-pick of #966
>/assign openshift-ci-robot
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.
</details>
@openshift-cherrypick-robot: all tests passed!
Full PR test history. Your PR dashboard.
<details>
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. I understand the commands that are listed here.
</details>
<!-- test report -->
Codecov Report
:x: Patch coverage is
0% with 1 line in your changes missing coverage. Please review.:white_check_mark: Project coverage is 46.69%. Comparing base (
0e03b7a) to head (2dbe974).:warning: Report is 2 commits behind head on release-4.20.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...redentialsrequest/credentialsrequest\_controller.go | 0.00% | 1 Missing :warning: |
<details><summary>Additional details and impacted files</summary>

@@ Coverage Diff @@
## release-4.20 #970 +/- ##
=============================================
Coverage 46.69% 46.69%
=============================================
Files 97 97
Lines 12005 12005
=============================================
Hits 5606 5606
Misses 5781 5781
Partials 618 618
| Files with missing lines | Coverage Δ | |
|---|---|---|
| ...redentialsrequest/credentialsrequest\_controller.go | 44.23% <0.00%> (ø) | |
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
/verified by @jianping-shu
Created a vsphere cluster with cluster-bot build, CCO pods are good after adding "infrastructure cloud-provider-config". The regression tests passed too.
@jianping-shu: This PR has been marked as verified by @jianping-shu.
<details>
In response to this:
>/verified by @jianping-shu
>Created a vsphere cluster with cluster-bot build, CCO pods are good after adding "infrastructure cloud-provider-config". The regression tests passed too.
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.
</details>
/lgtm
/approve
/label backport-risk-assessed
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/openshift/cloud-credential-operator/pull/970#pullrequestreview-3792741658" title="Approved">jstuever</a>, <a href="https://github.com/openshift/cloud-credential-operator/pull/970#" title="Author self-approved">openshift-cherrypick-robot</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
/jira refresh
@jianping-shu: This pull request references Jira Issue OCPBUGS-74546, which is valid. The bug has been moved to the POST state.
<details><summary>7 validation(s) were run on this bug</summary>
bug is open, matching expected state (open)
bug target version (4.20.z) matches configured target version for branch (4.20.z)
bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
release note type set to "Release Note Not Required"
dependent bug Jira Issue OCPBUGS-74545 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
dependent Jira Issue OCPBUGS-74545 targets the "4.21.z" version, which is one of the valid target versions: 4.21.0, 4.21.z
Requesting review from QA contact:
/cc @jianping-shu
<details>
In response to this:
>/jira refresh
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.
</details>
@openshift-cherrypick-robot: Jira Issue Verification Checks: Jira Issue OCPBUGS-74546
:heavy_check_mark: This pull request was pre-merge verified.
:heavy_check_mark: All associated pull requests have merged.
:heavy_check_mark: All associated, merged pull requests were pre-merge verified.
Jira Issue OCPBUGS-74546 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. :clock4:
<details>
In response to this:
>This is an automated cherry-pick of #966
>/assign openshift-ci-robot
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.
</details>
Fix included in accepted release 4.20.0-0.nightly-2026-02-18-154543
jstuever
openshift-cherrypick-robot
This is an automated cherry-pick of #966
/assign openshift-ci-robot