Skip to content

Allow unauthenticated access when Authorization is disabled and to Health Probe - #927

Merged
woop merged 4 commits into
feast-dev:masterfrom
mrzzy:fix-auth-health-probe-auth-optional
Aug 4, 2020
Merged

Allow unauthenticated access when Authorization is disabled and to Health Probe#927
woop merged 4 commits into
feast-dev:masterfrom
mrzzy:fix-auth-health-probe-auth-optional

Conversation

@mrzzy

@mrzzy mrzzy commented Aug 4, 2020

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:
Allow unauthenticated requests when only authentication is enabled:

  • Allows "optional authentication" which is needed when transition users to authentication.
  • Forced authentication is only enforced when authorization is enabled.

Add exceptions for unauthenticated access to the health probe.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

Authentication allows unauthenticated requests unless Authorization is also enabled.
Feast now allows unauthenticated access to its health probes.

@mrzzy mrzzy removed the compat/breaking Breaking user-facing change label Aug 4, 2020
@mrzzy

mrzzy commented Aug 4, 2020

Copy link
Copy Markdown
Collaborator Author

/hold

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrzzy, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@woop

woop commented Aug 4, 2020

Copy link
Copy Markdown
Member

/lgtm

@mrzzy

mrzzy commented Aug 4, 2020

Copy link
Copy Markdown
Collaborator Author

/unhold

@mrzzy

mrzzy commented Aug 4, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-batch

@mrzzy

mrzzy commented Aug 4, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-batch-dataflow

@feast-ci-bot feast-ci-bot removed the lgtm label Aug 4, 2020
@feast-ci-bot

Copy link
Copy Markdown
Collaborator

New changes are detected. LGTM label has been removed.

@mrzzy

mrzzy commented Aug 4, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-batch

@woop
woop merged commit 1c85e3a into feast-dev:master Aug 4, 2020
@mrzzy mrzzy mentioned this pull request Aug 4, 2020
pyalex pushed a commit that referenced this pull request Aug 5, 2020
…alth Probe (#927)

* Config Core/Serving authentication to allow unauthenticated access to health probe.

* Allow unauthenticated requests when only authentication but not authorization is enabled.

* Fix ServingServiceOauthAuthenticationIT

* Add missing applyFeatureSet call to ServingServiceOauthAuthenticationIT
woop pushed a commit that referenced this pull request Aug 5, 2020
mrzzy added a commit that referenced this pull request Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants