Skip to content

Commit ae2eaf2

Browse files
committed
renamed auth condition and types
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
1 parent cff7521 commit ae2eaf2

19 files changed

+341
-341
lines changed

infra/feast-operator/api/v1alpha1/featurestore_types.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ const (
2828
FailedPhase = "Failed"
2929

3030
// Feast condition types:
31-
ClientReadyType = "Client"
32-
OfflineStoreReadyType = "OfflineStore"
33-
OnlineStoreReadyType = "OnlineStore"
34-
RegistryReadyType = "Registry"
35-
ReadyType = "FeatureStore"
36-
KubernetesAuthReadyType = "KubernetesAuth"
31+
ClientReadyType = "Client"
32+
OfflineStoreReadyType = "OfflineStore"
33+
OnlineStoreReadyType = "OnlineStore"
34+
RegistryReadyType = "Registry"
35+
ReadyType = "FeatureStore"
36+
AuthorizationReadyType = "AuthorizationReadyType"
3737

3838
// Feast condition reasons:
3939
ReadyReason = "Ready"
@@ -62,7 +62,7 @@ type FeatureStoreSpec struct {
6262
// FeastProject is the Feast project id. This can be any alphanumeric string with underscores, but it cannot start with an underscore. Required.
6363
FeastProject string `json:"feastProject"`
6464
Services *FeatureStoreServices `json:"services,omitempty"`
65-
AuthConfig *AuthConfig `json:"auth,omitempty"`
65+
AuthzConfig *AuthzConfig `json:"authz,omitempty"`
6666
}
6767

6868
// FeatureStoreServices defines the desired feast service deployments. ephemeral registry is deployed by default.
@@ -209,8 +209,8 @@ type OptionalConfigs struct {
209209
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
210210
}
211211

212-
// AuthConfig defines the authorization settings for the deployed Feast services.
213-
type AuthConfig struct {
212+
// AuthzConfig defines the authorization settings for the deployed Feast services.
213+
type AuthzConfig struct {
214214
KubernetesAuth *KubernetesAuth `json:"kubernetes,omitempty"`
215215
}
216216

infra/feast-operator/api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ spec:
4848
spec:
4949
description: FeatureStoreSpec defines the desired state of FeatureStore
5050
properties:
51-
auth:
52-
description: AuthConfig defines the authorization settings for the
51+
authz:
52+
description: AuthzConfig defines the authorization settings for the
5353
deployed Feast services.
5454
properties:
5555
kubernetes:
@@ -966,8 +966,8 @@ spec:
966966
description: Shows the currently applied feast configuration, including
967967
any pertinent defaults
968968
properties:
969-
auth:
970-
description: AuthConfig defines the authorization settings for
969+
authz:
970+
description: AuthzConfig defines the authorization settings for
971971
the deployed Feast services.
972972
properties:
973973
kubernetes:

infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
persistence:
1919
file:
2020
path: /data/registry.db
21-
auth:
21+
authz:
2222
kubernetes:
2323
roles:
2424
- reader

infra/feast-operator/dist/install.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ spec:
5656
spec:
5757
description: FeatureStoreSpec defines the desired state of FeatureStore
5858
properties:
59-
auth:
60-
description: AuthConfig defines the authorization settings for the
59+
authz:
60+
description: AuthzConfig defines the authorization settings for the
6161
deployed Feast services.
6262
properties:
6363
kubernetes:
@@ -974,8 +974,8 @@ spec:
974974
description: Shows the currently applied feast configuration, including
975975
any pertinent defaults
976976
properties:
977-
auth:
978-
description: AuthConfig defines the authorization settings for
977+
authz:
978+
description: AuthzConfig defines the authorization settings for
979979
the deployed Feast services.
980980
properties:
981981
kubernetes:

infra/feast-operator/internal/controller/auth/auth.go

Lines changed: 0 additions & 220 deletions
This file was deleted.

0 commit comments

Comments
 (0)