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

Add csm namespace label to components #847

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

rajendraindukuri
Copy link
Collaborator

@rajendraindukuri rajendraindukuri commented Jan 7, 2025

Description

Added csmNameSpace label on all the deployment/daemonset for CSM Operator in order to filter CSM related pods from the others

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1668

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility
  • I have executed the relevant end-to-end test scenarios

How Has This Been Tested?

  • Manually Tested the fix and also ran e2e tests for drivers
  • Manually Tested the fix for modules and also ran e2e for replication, authorization v1 authorization v2, app mobility

All details are provided in the Jira ECS01C-2

@rajendraindukuri rajendraindukuri force-pushed the add-csm-namespace-label-to-components branch from e1bcc85 to 4bbc89d Compare January 9, 2025 11:12
Comment on lines +463 to +467
if !p.ObjectMeta.DeletionTimestamp.IsZero() {
log.Debugw("driver delete invoked", "stopping pod with name", p.Name)
return
}
log.Infow("pod modified for driver", "name", p.Name)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix these indentations.

@rajendraindukuri rajendraindukuri force-pushed the add-csm-namespace-label-to-components branch from 9ac91f6 to aa7953a Compare January 9, 2025 13:24
@prablr79
Copy link

prablr79 commented Jan 9, 2025

@rajendraindukuri you should be all set now!

@prablr79 prablr79 linked an issue Jan 9, 2025 that may be closed by this pull request
@rajendraindukuri rajendraindukuri force-pushed the add-csm-namespace-label-to-components branch from aa7953a to 350d0e7 Compare January 10, 2025 04:55
@rajendraindukuri rajendraindukuri force-pushed the add-csm-namespace-label-to-components branch from 350d0e7 to ceffe66 Compare January 10, 2025 05:03
@rajendraindukuri rajendraindukuri merged commit 4f2abf7 into main Jan 10, 2025
7 checks passed
@rajendraindukuri rajendraindukuri deleted the add-csm-namespace-label-to-components branch January 10, 2025 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: CSM-Operator is reconciling non CSM pods
5 participants