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

Added initial support for PodMetaData, handling Annotations only #210

Merged
merged 4 commits into from
Apr 23, 2020
Merged

Added initial support for PodMetaData, handling Annotations only #210

merged 4 commits into from
Apr 23, 2020

Conversation

xmcqueen
Copy link
Contributor

The general Annotations in the ClusterSpec get applied to both the Services and the Pods. There are cases where the user wants annotation exclusively for the Pod, such as when marking a Pod to be scraped by Prometheus. This PR puts in an ObjectMeta at the PodMetadata metav1.ClusterSpec level to facilitate specifying Pod-only Metadata. I've only implemented Annotations. I've added a test case for the Pod-only annotations.

@codecov
Copy link

codecov bot commented Apr 23, 2020

Codecov Report

Merging #210 into master will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
+ Coverage   75.23%   75.30%   +0.07%     
==========================================
  Files          30       30              
  Lines        2104     2110       +6     
==========================================
+ Hits         1583     1589       +6     
  Misses        393      393              
  Partials      128      128              

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 895fc3f...ac05ef2. Read the comment docs.

@schallert schallert merged commit d63d5f3 into m3db:master Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants