-
Notifications
You must be signed in to change notification settings - Fork 38
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
Issue 289: Adding SegmentStoreSvcAnnotations #296
Conversation
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[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.
Travis build is failing. Could you pls fix that..
Otherwise LGTM.
Please also add a UT for enabling external access and setting domain name alone without setting external svc annotations. |
Signed-off-by: SrishT <[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.
Suggested some improvements to unit tests.
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: SrishT <[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
Signed-off-by: SrishT [email protected]
Change log description
SegmentStoreSvcAnnotations added to the manifest file are not visible in the kubectl describe output for the segmentStoreSvc if the domainName field is empty.
Purpose of the change
Fixes #289
What the code does
The code populates the SegmentStoreSvcAnnotations from the manifest file if external access has been enabled.
How to verify it
Add SegmentStoreSvcAnnotations to the manifest file
Deploy PravegaCluster with external access enabled. The describe output for the segmentStoreSvc should contain the added segmentStoreSvcAnnotations key-value pairs as part of
Annotations
field of the output.