-
Notifications
You must be signed in to change notification settings - Fork 167
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
skipper: add config item for default authentication filters #7769
Conversation
Currently we enable default authentication using existing `skipper_default_filters_append`. This change adds a dedicated config item to separate default authentication filters from other default filters and make it easier to manage. Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
@@ -256,6 +256,7 @@ spec: | |||
- "-disabled-filters={{ .Cluster.ConfigItems.skipper_disabled_filters }}" | |||
{{ if ne .Cluster.ConfigItems.skipper_routesrv_enabled "exec" }} | |||
- '-default-filters-prepend={{ .Cluster.ConfigItems.skipper_default_filters }}' | |||
- '-default-filters-append={{ .Cluster.ConfigItems.skipper_default_filters_authentication }}' |
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.
Its OK to use empty flag value, see zalando/skipper#3084 and zalando/skipper#3127
👍 |
1 similar comment
👍 |
@@ -541,6 +542,7 @@ spec: | |||
- "-reverse-source-predicate" | |||
- "-default-filters-dir=/etc/config/default-filters" | |||
- '-default-filters-prepend={{ .Cluster.ConfigItems.skipper_default_filters }}' | |||
- '-default-filters-append={{ .Cluster.ConfigItems.skipper_default_filters_authentication }}' |
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.
why creating a new config item for something we already have?
skipper_default_filters_append
is already there
Currently we enable default authentication using existing
skipper_default_filters_append
.This change adds a dedicated config item to separate default authentication filters from other default filters and make it easier to manage.