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

Implement preparing manifest applier in kubernetes plugin #5389

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

Warashi
Copy link
Contributor

@Warashi Warashi commented Dec 4, 2024

What this PR does:

This PR implements the preparation of a manifest applier in the Kubernetes plugin.

Why we need it:

Without this PR, we cannot execute the K8S_SYNC stage.

Which issue(s) this PR fixes:

Part of #4980

Does this PR introduce a user-facing change?: No

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

@@ -33,10 +35,20 @@ import (
"google.golang.org/grpc/status"
)

const (
defaultKubectlVersion = "1.18.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is copied from current implementation.

defaultKubectlVersion = "1.18.2"

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.

Project coverage is 25.84%. Comparing base (40dae44) to head (7b06c35).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...app/pipedv1/plugin/kubernetes/deployment/server.go 0.00% 16 Missing ⚠️
pkg/configv1/piped.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5389      +/-   ##
==========================================
- Coverage   25.85%   25.84%   -0.02%     
==========================================
  Files         448      448              
  Lines       48261    48281      +20     
==========================================
  Hits        12478    12478              
- Misses      34812    34832      +20     
  Partials      971      971              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ffjlabo ffjlabo left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@t-kikuc t-kikuc left a comment

Choose a reason for hiding this comment

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

lgtm

@Warashi Warashi merged commit 5831f36 into master Dec 4, 2024
16 of 18 checks passed
@Warashi Warashi deleted the k8s-plugin-create-applier branch December 4, 2024 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants