Repository navigation
docs: Pass the auth config through RepoConfig in the user token samples - #6995
Merged
Merged
Conversation
Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
Contributor
Author
|
@haoxu0 thanks for the approval. This is approved and has no conflicts; it's only behind |
…nfig Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
…nfig Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
This was referenced Nov 10, 2026
shuchu
added a commit
to shuchu/feast
that referenced
this pull request
Nov 11, 2026
…es (feast-dev#6995) Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com> Co-authored-by: Hao Xu <sduxuhao@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Two samples in
docs/reference/auth/user_token_provisioning.mdconstruct the store withFeatureStore(repo_path=..., auth_config=auth_config).FeatureStore.__init__takesrepo_path,config,fs_yaml_fileandembedding_provider, so both samples fail:Auth is read from
RepoConfig.auth, so the samples now pass the sameKubernetesAuthConfigthroughFeatureStore(config=RepoConfig(..., auth=auth_config)).The
project,registryandprovidervalues in the new samples are placeholders. If you would rather these two samples point at thefeature_store.yamlauth:block (Method 3 on the same page) instead of an inlineRepoConfig, I can change them.Which issue(s) this PR fixes:
None.
Checks
git commit -s)Testing Strategy
Misc
Manual check with feast 0.66.0: the old call raises the
TypeErrorabove; the new construction succeeds with a local registry path andfs.config.auth_configis theKubernetesAuthConfigwith its token. I did not test against a live Kubernetes-authenticated registry. Docs only, no code changes.