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

adds security context for pod and its containers #393

Merged
merged 12 commits into from
May 6, 2024

Conversation

mheers
Copy link
Contributor

@mheers mheers commented Mar 1, 2024

Q A
Bug fix? no
New feature? no
API breaks? no
Deprecations? no
License Apache 2.0

What's in this PR?

Adds security context for pod and its containers.

Why?

To make nifi cluster pods compatible with e.g. kyverno we need to implement a few basic security measures like SecurityContext.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • Append changelog with changes

pkg/resources/nifi/pod.go Outdated Show resolved Hide resolved
pkg/resources/nifi/pod.go Outdated Show resolved Hide resolved
@TimMilton
Copy link

We need this too. Thanks.

@mheers
Copy link
Contributor Author

mheers commented Apr 9, 2024

@mh013370 thanks for your review. Could you have a look again?

@Carverook
Copy link

We are really looking forward to this PR.
Thanks

Copy link
Member

@mh013370 mh013370 left a comment

Choose a reason for hiding this comment

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

This LGTM

@mh013370
Copy link
Member

Please update the CHANGELOG, following the existing convention to include your new feature.

@mheers
Copy link
Contributor Author

mheers commented Apr 17, 2024

updated the CHANGELOG

@mh013370 mh013370 force-pushed the feature/securitycontext branch from e5aff09 to 4954ddd Compare April 17, 2024 13:21
@mh013370
Copy link
Member

Sorry one more thing I overlooked! Can you please add these new options to the docs?

https://github.com/konpyutaika/nifikop/blob/master/site/docs/5_references/1_nifi_cluster/3_node_config.md

Then i should be good to merge.

@mheers
Copy link
Contributor Author

mheers commented Apr 18, 2024

Added the docs.

CHANGELOG.md Outdated Show resolved Hide resolved
site/docs/5_references/1_nifi_cluster/3_node_config.md Outdated Show resolved Hide resolved
@mheers
Copy link
Contributor Author

mheers commented Apr 19, 2024

Docs and CHANGELOG should now be corrected.

@mh013370
Copy link
Member

This LGTM now. Just some CHANGELOG conflicts to resolve :) Thank you for this contribution!

@mheers mheers requested a review from juldrixx May 5, 2024 07:35
Copy link
Contributor

@juldrixx juldrixx left a comment

Choose a reason for hiding this comment

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

Can you fix the conflicts?

@mheers mheers requested a review from juldrixx May 6, 2024 10:02
@juldrixx juldrixx merged commit 53ffa77 into konpyutaika:master May 6, 2024
5 checks passed
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.

5 participants