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 use of custom configmaps and configdata in overrides and features #620

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

celenechang
Copy link
Contributor

@celenechang celenechang commented Oct 3, 2022

What does this PR do?

  • Clean and organize volumes.go for easier development
  • Fix usage of custom configmaps/configdata settings in features, including unifying struct used
  • Ensure workaround for config merging works for security features
  • Add subpath to volumemount for config merging in CSPM (for Cluster Agent)
  • Fix usage of custom configurations in podtemplatespec override

Motivation

Fix issues with custom configurations

Additional Notes

Anything else we should know when reviewing?

Describe your test plan

Write there any instructions and details you may have to test your PR.

@celenechang celenechang added the enhancement New feature or request label Oct 3, 2022
@celenechang celenechang added this to the v1.0.0 milestone Oct 3, 2022
@celenechang celenechang requested review from a team as code owners October 3, 2022 20:29
@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2022

Codecov Report

Merging #620 (a473d2f) into main (cf5242c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #620   +/-   ##
=======================================
  Coverage   58.51%   58.51%           
=======================================
  Files           3        3           
  Lines         135      135           
=======================================
  Hits           79       79           
  Misses         43       43           
  Partials       13       13           
Flag Coverage Δ
unittests 58.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf5242c...a473d2f. Read the comment docs.

Copy link
Contributor

@maycmlee maycmlee left a comment

Choose a reason for hiding this comment

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

👍 for docs


// TODO add settings to configure f.createSCC and f.createPSP
// CELENE TODO add settings to configure f.createSCC and f.createPSP
Copy link
Collaborator

Choose a reason for hiding this comment

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

IMO it should be a global config for that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 i'll let @khewonc make this call

@celenechang celenechang merged commit dba8fe7 into main Oct 4, 2022
@celenechang celenechang deleted the celene/customconfigmaps branch October 4, 2022 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants