Closed hoyhbx closed 2 years ago
Merging #492 (fa3e23b) into master (2403ac5) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #492 +/- ##
=======================================
Coverage 85.04% 85.05%
=======================================
Files 12 12
Lines 1605 1606 +1
=======================================
+ Hits 1365 1366 +1
Misses 155 155
Partials 85 85
Impacted Files | Coverage Δ | |
---|---|---|
pkg/zk/synchronizers.go | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2403ac5...fa3e23b. Read the comment docs.
Change log description
Purpose of the change
Fix #474, now service annotations are not only created but also updated.
What the code does
We added one line of code in the function to update annotations.
How to verify it
Build the image and deploy the operator
Deploy a zookeeper instance with no annotations specified
Execute
kubectl get svc/zookeeper-headless -o yaml
and observe that this service does not have any annotations.Now, update this zookeeper instance by adding
domainName: hgvkbmxwtg
to our CR.Execute
kubectl get sec/zookeeper-headless -o yaml
and observe that this service now has the expected annotation.