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 support for Service traffic policies in external services #403

Merged

Conversation

mikejoh
Copy link
Contributor

@mikejoh mikejoh commented Mar 12, 2024

Q A
Bug fix? no
New feature? yes
API breaks? no
Deprecations? no
Related tickets fixes #402
License Apache 2.0

What's in this PR?

Support to let users configure externalTrafficPolicy and internalTrafficPolicy of external services exposed via the NifiCluster API.

There's also some minor changes to the documentation that's not related to the changes that this PR adds.

Why?

In some environments and sometimes in advanced use cases, the combination of both of these fields, the Service type and the CNI you use (and specific CNI configuration) requires you to configure these fields.

Additional context

N/A

Checklist

  • [ x ] Implementation tested
  • [ x ] Error handling code meets the guideline
  • [ x ] Logging code meets the guideline
  • [ x ] User guide and development docs updated (if needed)
  • [ x ] Append changelog with changes

To Do

  • If the PR is not complete but you want to discuss the approach, list what remains to be done here

Signed-off-by: Mikael Johansson <mik.json@gmail.com>
Signed-off-by: Mikael Johansson <mik.json@gmail.com>
Signed-off-by: Mikael Johansson <mik.json@gmail.com>
Signed-off-by: Mikael Johansson <mik.json@gmail.com>
@mikejoh mikejoh force-pushed the add-support-for-svc-traffic-policies branch from a95bad3 to b836d58 Compare March 13, 2024 01:45
@@ -95,7 +95,7 @@ This section provides an instructions for running the operator Helm charts with
Build the image from the current branch.

```bash
export DOCKER_REPO_BASE={your-docker-repo}
export DOCKER_REGISTRY_BASE={your-docker-repo}
Copy link
Member

Choose a reason for hiding this comment

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

Good spot! Thank you for this

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.

LGTM

@mh013370 mh013370 requested a review from juldrixx March 13, 2024 12:50
@juldrixx juldrixx merged commit e60b550 into konpyutaika:master Mar 13, 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.

Add support for configuring Service traffic policies
3 participants