Skip to content
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

Improve the condition to skip debug pod in environment check #8852

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

jilju
Copy link
Contributor

@jilju jilju commented Nov 15, 2023

Improve the condition to skip debug pod in environment check. The condition is improved to identify the pod name in the format given below.

apiVersion: v1
kind: Pod
metadata:
  annotations:
debug.openshift.io/source-container: container-00
debug.openshift.io/source-resource: /v1, Resource=nodes/j-043vi1cs33-t4c-wd2cj-worker-0-jx5h5
openshift.io/scc: rook-ceph-csi
  creationTimestamp: '2023-09-22T18:11:27Z'
  name: j-043vi1cs33-t4c-wd2cj-worker-0-jx5h5-debug-xlz94
  namespace: openshift-storage
  resourceVersion: '188073'
  uid: 8aaef796-538c-41e4-a0ea-49330d0b8ebc

Fixes #8747

@jilju jilju requested a review from a team as a code owner November 15, 2023 11:24
Copy link

openshift-ci bot commented Nov 20, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dahorak, ebenahar, jilju, sidhant-agrawal, suchita-g, vavuthu

The full list of commands accepted by this bot can be found here.

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

@jilju jilju merged commit 7bd61a0 into red-hat-storage:master Nov 20, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests failed due to debug pods in environment check
6 participants