-
Notifications
You must be signed in to change notification settings - Fork 884
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
Conversation
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
There was a problem hiding this 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 }} |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
…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>
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
andserver.route.activeService
to make this configurable.