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

feat(update-security-json): Update security.json when secret is updated #744

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mcarroll1
Copy link
Contributor

@mcarroll1 mcarroll1 commented Jan 15, 2025

This feature is targeting this issue

  • Added Ovewrite flag (defaults to false). If flag is true, setup-zk initContainer will check applied security.json against version in the secret and apply if there is a diff
  • Updated descriptions about maxPodsUnavailable, as negative numbers don't appear to be work
  • Was running into issues with GINGKO_PARAMS when running integration tests, so added a default

The integration test is a bit blunt, but I wasn't sure how to demonstrate auth being applied. I tried creating a curl pod to curl solr, but was facing issues connecting to the two. I ended up changing the auth that the operator connects to solr with as a means of demonstrating.

The test takes a couple minutes to run. Please give any feedback on what I could do differently there. You can see the curl attempt in 1a7bb57. Also I'm unsure if I updated the CRD correctly, as it's generating some unexpected diffs.

This feature is important to the CI for my team, hence me adding two features around security.json in short order.

@mcarroll1 mcarroll1 force-pushed the 488-update-security branch from 83702c2 to 1a7bb57 Compare January 15, 2025 23:40
@mcarroll1 mcarroll1 marked this pull request as ready for review January 16, 2025 20:18
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.

1 participant