Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding EnvFrom support for the OptionalConfigs type to the Go Operator #4909

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lokeshrangineni
Copy link
Contributor

@lokeshrangineni lokeshrangineni commented Jan 9, 2025

Adding EnvFrom support for the OptionalConfigs type to the feast go operator

Fixes the Issue: 4916

@lokeshrangineni lokeshrangineni requested a review from a team as a code owner January 9, 2025 20:00
@lokeshrangineni lokeshrangineni changed the title Adding EnvFrom support for the OptionalConfigs type to the Go Operator feat:Adding EnvFrom support for the OptionalConfigs type to the Go Operator Jan 9, 2025
@lokeshrangineni lokeshrangineni changed the title feat:Adding EnvFrom support for the OptionalConfigs type to the Go Operator feat: Adding EnvFrom support for the OptionalConfigs type to the Go Operator Jan 9, 2025
Copy link
Contributor

@tchughesiv tchughesiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lokeshrangineni thanks for the contribution. please create a corresponding issue for this change and link to it in the description.

also, has this been tested in a kubernetes cluster to ensure the envFrom CR settings are being applied accordingly to the feature store deployment?

@@ -461,6 +503,18 @@ var _ = Describe("FeatureStore Controller", func() {
Expect(resource.Status.Applied.Services.OnlineStore.Persistence.FilePersistence).NotTo(BeNil())
Expect(resource.Status.Applied.Services.OnlineStore.Persistence.FilePersistence.Path).To(Equal(services.EphemeralPath + "/" + services.DefaultOnlineStorePath))
Expect(resource.Status.Applied.Services.OnlineStore.Env).To(Equal(&[]corev1.EnvVar{{Name: testEnvVarName, Value: testEnvVarValue}, {Name: "fieldRefName", ValueFrom: &corev1.EnvVarSource{FieldRef: &corev1.ObjectFieldSelector{APIVersion: "v1", FieldPath: "metadata.namespace"}}}}))
Expect(resource.Status.Applied.Services.OnlineStore.EnvFrom).To(Equal(&[]corev1.EnvFromSource{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good, but we also need to be checking that the resulting Deployment object has a corresponding container w/ the appropriate envFrom settings present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants