-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: OIDC authorization in Feast Operator (#4801)
* Initial commit Signed-off-by: Daniele Martinoli <[email protected]> * no private image Signed-off-by: Daniele Martinoli <[email protected]> * removed nameLabelKey, using serices.NameLabelKey Signed-off-by: Daniele Martinoli <[email protected]> * improved CRD comments and using IsLocalRegistry Signed-off-by: Daniele Martinoli <[email protected]> * fixing generated code Signed-off-by: Daniele Martinoli <[email protected]> * renamed auth condition and types Signed-off-by: Daniele Martinoli <[email protected]> * more renamings Signed-off-by: Daniele Martinoli <[email protected]> * initial commit Signed-off-by: Daniele Martinoli <[email protected]> * oidc IT Signed-off-by: Daniele Martinoli <[email protected]> * with sample Signed-off-by: Daniele Martinoli <[email protected]> * no private image Signed-off-by: Daniele Martinoli <[email protected]> --------- Signed-off-by: Daniele Martinoli <[email protected]>
- Loading branch information
Showing
16 changed files
with
1,035 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
21 changes: 21 additions & 0 deletions
21
infra/feast-operator/api/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
35 changes: 35 additions & 0 deletions
35
infra/feast-operator/config/samples/v1alpha1_featurestore_oidc_auth.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
apiVersion: feast.dev/v1alpha1 | ||
kind: FeatureStore | ||
metadata: | ||
name: sample-oidc-auth | ||
spec: | ||
feastProject: my_project | ||
services: | ||
onlineStore: | ||
persistence: | ||
file: | ||
path: /data/online_store.db | ||
offlineStore: | ||
persistence: | ||
file: | ||
type: dask | ||
registry: | ||
local: | ||
persistence: | ||
file: | ||
path: /data/registry.db | ||
authz: | ||
oidc: | ||
secretRef: | ||
name: oidc-secret | ||
--- | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: oidc-secret | ||
stringData: | ||
client_id: client_id | ||
auth_discovery_url: auth_discovery_url | ||
client_secret: client_secret | ||
username: username | ||
password: password |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.