-
Notifications
You must be signed in to change notification settings - Fork 29
Added managed by label - issue 110 #139
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #139 +/- ##
==========================================
+ Coverage 73.98% 74.05% +0.07%
==========================================
Files 15 15
Lines 1449 1453 +4
==========================================
+ Hits 1072 1076 +4
Misses 300 300
Partials 77 77
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
LabelEndpointSliceManagedBy = "endpointslice.kubernetes.io/managed-by" | ||
|
||
// ValueEndpointSliceManagedBy indicates the name of the entity that manages the EndpointSlice. | ||
ValueEndpointSliceManagedBy = "aws-cloud-map-mcs-controller-for-k8s" |
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.
According to spec any unique string is fine, although searching for examples of other controllers that set this value it seems somewhat conventional to use a uri.
Added managed by label - issue 110 (aws#139)
* Added managed by label - issue 110 * Update utils.go * rename constants * Update cloudmap_controller_test.go
Issue #110
Description of changes:
Added the
managed-by
label as per issue. Value set to our controlleraws-cloud-map-mcs-controller-for-k8s
.Added test to assert that the label was added to any new endpointSlice.