Skip to content

Commit

Permalink
Rebased to fix conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Theodor Mihalache <[email protected]>
  • Loading branch information
tmihalac committed Dec 4, 2024
1 parent 56449f3 commit 1fbe9ea
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions infra/feast-operator/test/api/featurestore_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,26 +272,6 @@ func pvcConfigWithResources(featureStore *feastdevv1alpha1.FeatureStore) *feastd
return fsCopy
}

func authzConfigWithKubernetes(featureStore *feastdevv1alpha1.FeatureStore) *feastdevv1alpha1.FeatureStore {
fsCopy := featureStore.DeepCopy()
if fsCopy.Spec.AuthzConfig == nil {
fsCopy.Spec.AuthzConfig = &feastdevv1alpha1.AuthzConfig{}
}
fsCopy.Spec.AuthzConfig.KubernetesAuthz = &feastdevv1alpha1.KubernetesAuthz{
Roles: []string{},
}
return fsCopy
}
func authzConfigWithOidc(featureStore *feastdevv1alpha1.FeatureStore) *feastdevv1alpha1.FeatureStore {
fsCopy := featureStore.DeepCopy()
if fsCopy.Spec.AuthzConfig == nil {
fsCopy.Spec.AuthzConfig = &feastdevv1alpha1.AuthzConfig{}
}
fsCopy.Spec.AuthzConfig.OidcAuthz = &feastdevv1alpha1.OidcAuthz{}
return fsCopy
}


func authzConfigWithKubernetes(featureStore *feastdevv1alpha1.FeatureStore) *feastdevv1alpha1.FeatureStore {
fsCopy := featureStore.DeepCopy()
if fsCopy.Spec.AuthzConfig == nil {
Expand Down

0 comments on commit 1fbe9ea

Please sign in to comment.