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

Generate V1 CRDs for Kube >=1.16 and fix v1beta1 for Kubernetes <= 1.15 #136

Merged
merged 2 commits into from
Aug 28, 2020

Conversation

vboulineau
Copy link
Contributor

What does this PR do?

Add generation of CRD v1 on top of CRD v1beta1 and fix v1beta1 issues with Kubernetes <= 1.16.
WIP: I am not sure how this is getting packaged by OLM.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

@vboulineau vboulineau added the bug Something isn't working label Aug 20, 2020
@vboulineau vboulineau added this to the v0.3 milestone Aug 20, 2020
@vboulineau vboulineau requested a review from a team August 20, 2020 15:09
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a valid label.

@codecov-commenter
Copy link

codecov-commenter commented Aug 20, 2020

Codecov Report

Merging #136 into master will increase coverage by 4.53%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   58.90%   63.43%   +4.53%     
==========================================
  Files          31       31              
  Lines        4441     5295     +854     
==========================================
+ Hits         2616     3359     +743     
- Misses       1633     1748     +115     
+ Partials      192      188       -4     
Flag Coverage Δ
#unittests 63.43% <ø> (+4.53%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...troller/datadogagent/clusteragent_metricsserver.go 39.17% <0.00%> (-30.83%) ⬇️
pkg/controller/datadogagent/systemprobe.go 100.00% <0.00%> (ø)
pkg/controller/datadogagent/service.go 89.28% <0.00%> (+1.92%) ⬆️
...controller/datadogagent/datadogagent_controller.go 28.23% <0.00%> (+2.12%) ⬆️
pkg/controller/datadogagent/clusterchecksrunner.go 75.15% <0.00%> (+3.15%) ⬆️
pkg/controller/datadogagent/clusteragent.go 81.24% <0.00%> (+4.86%) ⬆️
pkg/controller/datadogagent/utils.go 88.60% <0.00%> (+5.62%) ⬆️

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 deea430...48eda56. Read the comment docs.

@vboulineau vboulineau changed the title [WIP] Generate V1 CRDs for Kube >=1.16 and fix v1beta1 for Kubernetes <= 1.15 Generate V1 CRDs for Kube >=1.16 and fix v1beta1 for Kubernetes <= 1.15 Aug 27, 2020
hack/patch-crds.sh Outdated Show resolved Hide resolved
Co-authored-by: Cedric Lamoriniere <cedric.lamoriniere@datadoghq.com>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a valid label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants