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 ingress/route configurable to specify active/general service #570

Merged
merged 3 commits into from
Jul 15, 2021

Conversation

jasonodonnell
Copy link
Contributor

@jasonodonnell jasonodonnell commented Jul 15, 2021

Currently when using ingress/routes, if HA mode is enabled, these services will always point to the active service. There are use cases, such as performance standbys, where the ingress should instead point to the general Vault service instead.

This adds two new boolean configs server.ingress.activeService and server.route.activeService to make this configurable.

jasonodonnell and others added 2 commits July 15, 2021 13:37
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
Copy link
Contributor

@benashz benashz left a comment

Choose a reason for hiding this comment

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

LGTM!

{{- end }}
{{- end }}
{{- end }}
{{- if .Values.global.openshift }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems to be quite a bit of whitespace change, dos2unix :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does look strange, doesn't it?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like we had DOS line feeds. Seems to have been the only file affected.

$ git ls-files -z | xargs -0 file|grep CRLF
templates/server-route.yaml:                                ASCII text, with CRLF line terminators

@jasonodonnell jasonodonnell merged commit 255cdc7 into master Jul 15, 2021
@jasonodonnell jasonodonnell deleted the ingress-service-config branch July 15, 2021 18:15
@tvoran tvoran mentioned this pull request Jul 28, 2021
illegalnumbers pushed a commit to streamnative/vault-helm that referenced this pull request Mar 17, 2022
…hicorp#570)

* Add ingress/route configurable to specify active/general service

* Update test/unit/server-ingress.bats

Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>

* values.schema.json

Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
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