-
Notifications
You must be signed in to change notification settings - Fork 1k
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 volumes and volumeMounts support to Feature Store CR. #4983
feat: Adding volumes and volumeMounts support to Feature Store CR. #4983
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some initial thoughts
733241b
to
348ec68
Compare
infra/feast-operator/internal/controller/featurestore_controller_test_utils_test.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasn't one of the use-cases for this feature to support data store tls? it might be good to have a sample in config/samples
demonstrating what it might look like to use postgres w/ tls using this new feature...
@lokeshrangineni please rebase |
82d407b
to
9f9263e
Compare
I have provided a working sample here |
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
@tchughesiv - Great feedback. I have incorporated all the review comments. PTAL whenever you have some time. |
bc902db
to
5ea2b6b
Compare
Signed-off-by: lrangine <[email protected]>
Signed-off-by: lrangine <[email protected]>
5ea2b6b
to
cd431ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now that you've rebased, we should be able to further simplify the sample CR
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/internal/controller/featurestore_controller_volume_volumemount_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: lrangine <[email protected]>
Signed-off-by: lrangine <[email protected]>
Signed-off-by: lrangine <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the whole reason for creating the secret and then specifying...
envFrom:
- secretRef:
name: postgres-secret
is to use the secret key/values as env vars within the container.
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_ssl.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: lrangine <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What this PR does / why we need it:
This PR is adding support to add
Volumes
andvolumeMounts
to theFeatureStore
custom resource in go operator code.Which issue(s) this PR fixes:
4994
Misc