-
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: RBAC Authorization in Feast Operator (#4786)
* Initial commit Signed-off-by: Daniele Martinoli <[email protected]> * refactoring types with FeastHandler Signed-off-by: Daniele Martinoli <[email protected]> * no private image Signed-off-by: Daniele Martinoli <[email protected]> * removed log-level Signed-off-by: Daniele Martinoli <[email protected]> * no empty list for default Role 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]> * post rebase fixes Signed-off-by: Daniele Martinoli <[email protected]> * more renamings Signed-off-by: Daniele Martinoli <[email protected]> --------- Signed-off-by: Daniele Martinoli <[email protected]>
- Loading branch information
Showing
24 changed files
with
1,461 additions
and
193 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
45 changes: 45 additions & 0 deletions
45
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
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
14 changes: 14 additions & 0 deletions
14
infra/feast-operator/config/samples/v1alpha1_featurestore_all_services_default.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,14 @@ | ||
apiVersion: feast.dev/v1alpha1 | ||
kind: FeatureStore | ||
metadata: | ||
name: sample-all-default | ||
spec: | ||
feastProject: my_project | ||
services: | ||
onlineStore: | ||
image: 'feastdev/feature-server:0.40.0' | ||
offlineStore: | ||
image: 'feastdev/feature-server:0.40.0' | ||
registry: | ||
local: | ||
image: 'feastdev/feature-server:0.40.0' |
25 changes: 25 additions & 0 deletions
25
infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_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,25 @@ | ||
apiVersion: feast.dev/v1alpha1 | ||
kind: FeatureStore | ||
metadata: | ||
name: sample-kubernetes-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: | ||
kubernetes: | ||
roles: | ||
- reader | ||
- writer |
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.