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: add externalTrafficPolicy support #626

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

benashz
Copy link
Contributor

@benashz benashz commented Oct 15, 2021

  • externalTrafficPolicy can be set for both the ui and server services.
    It is only supported for NodePort or LoadBalancer service types.

- externalTrafficPolicy can be set for both the ui and server services.
  It is only supported for NodePort or LoadBalancer service types.
@benashz benashz requested a review from tvoran October 15, 2021 20:32
{{- end }}
{{- end -}}

{{/*
Copy link
Contributor Author

@benashz benashz Oct 15, 2021

Choose a reason for hiding this comment

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

This function is mostly unrelated to this fix, so I am okay if we forgo it. I see we have at least one other PR that introduces another LB so it might be good to keep it?

Idea: there is a ton of Service definition duplication in this chart. It is possible that we could move most of the duplication to shared functions.

Copy link
Member

@tvoran tvoran left a comment

Choose a reason for hiding this comment

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

Seems good to me.

I wonder if there would be a case where folks would need to set different externalTrafficPolicy's for standby and active HA services?

@benashz
Copy link
Contributor Author

benashz commented Oct 18, 2021

Seems good to me.

Thanks!

I wonder if there would be a case where folks would need to set different externalTrafficPolicy's for standby and active HA services?

Currently they all share the same service values, so I think setting the policy as is should be ok. We can probably update it when/if the need arises.

@benashz benashz merged commit d96a428 into main Oct 18, 2021
@benashz benashz deleted the VAULT-1767/add-externalTrafficPolicy branch October 18, 2021 13:45
benashz added a commit that referenced this pull request Oct 21, 2021
benashz added a commit that referenced this pull request Oct 21, 2021
@tvoran tvoran mentioned this pull request Oct 21, 2021
illegalnumbers pushed a commit to streamnative/vault-helm that referenced this pull request Mar 17, 2022
- externalTrafficPolicy can be set for both the ui and server services.
  It is only supported for NodePort or LoadBalancer service types.
illegalnumbers pushed a commit to streamnative/vault-helm that referenced this pull request Mar 17, 2022
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