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

Fix #2107: Set PropagationPolicy to Background by default #2178

Merged
merged 1 commit into from
May 4, 2020

Conversation

rohanKanojia
Copy link
Member

@rohanKanojia rohanKanojia commented Apr 29, 2020

Fix #2107

This should also take care of #2147

@rohanKanojia
Copy link
Member Author

retest this please

@manusa
Copy link
Member

manusa commented Apr 30, 2020

If propagation policy is a known set of values, why not use an enum instead?

Only advantage of current implementation (free String) is that in the future k8s adds other valid values. But in that case, maybe some warning should be issued if the propagation policy is not within the accepted set, or at least create some publicly accessible constants.

We want to prevent users who type withPropagationPolicy("Bakcground") becoming crazy

@sonarcloud
Copy link

sonarcloud bot commented May 1, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell B 17 Code Smells

9.5% 9.5% Coverage
0.0% 0.0% Duplication

Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

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

LGTM, thx!

@manusa
Copy link
Member

manusa commented May 4, 2020

[merge]

@fusesource-ci fusesource-ci merged commit 603568b into fabric8io:master May 4, 2020
aubinmora added a commit to aubinmora/kubernetes-plugin that referenced this pull request Nov 22, 2023
follows fabric8io/kubernetes-client#2178 to use proper background cascading deletion preventing clients that cannot have access to finalizer to fail to create a pvc
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.

Confusing message from kubernetes-client: object is being deleted: secrets "XXXX" already exists
4 participants