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 back podSecurityPolicy.enabled checks #765

Merged
merged 2 commits into from
Feb 8, 2021

Conversation

gracedo
Copy link
Contributor

@gracedo gracedo commented Feb 8, 2021

This was removed in #733. With the removal of the checks, the PSP is now always deployed where in the past it was defaulted to false. This has broken our build after upgrading to 1.73.0; in cases where two instances of kubecost are deployed on a cluster, there is a collision of the PSP name - perhaps a fix can be to generate unique names using {{ template "cost-analyzer.fullname" . }}, happy to add that in this pr or another if that makes sense.

I've added the checks back in to use the value, I'm not sure if this was intentionally removed or not. Let me know if the value should be defaulted to true accompanying this change if the intention was to always deploy it.

@gracedo
Copy link
Contributor Author

gracedo commented Feb 8, 2021

@AjayTripathy PTAL thank you 🙏

Copy link
Contributor

@AjayTripathy AjayTripathy left a comment

Choose a reason for hiding this comment

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

Thanks for this Grace! Expected in our release later this week (1.74.0, currently scheduled for Tuesday evening PST.)

@AjayTripathy AjayTripathy merged commit 0c32cb7 into kubecost:develop Feb 8, 2021
@AjayTripathy
Copy link
Contributor

(The default value is intended to be true-- we got feedback from users that they want to make sure this is always deployed)

@gracedo gracedo deleted the gracedo/psp_enabled_checks branch February 11, 2021 01:09
@gracedo gracedo mentioned this pull request Feb 11, 2021
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.

2 participants