-
Notifications
You must be signed in to change notification settings - Fork 892
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
Makes karmada-metrics-adapter use the correct certificate when deployed via karmadactl #5827
base: release-1.11
Are you sure you want to change the base?
Conversation
Welcome @KhalilSantana! It looks like this is your first PR to karmada-io/karmada 🎉 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## release-1.11 #5827 +/- ##
================================================
- Coverage 31.01% 30.98% -0.04%
================================================
Files 643 644 +1
Lines 54205 54259 +54
================================================
- Hits 16814 16811 -3
- Misses 36361 36417 +56
- Partials 1030 1031 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
@KhalilSantana The CI of this PR failed due to it wasn't signed off, usually please use git commit -s -m 'your message ' or git commit -m ' Signed-off-by: AuthorName [email protected] \n ' to pass DCO (detail guideline can refer to: https://probot.github.io/apps/dco/). |
/assign @XiShanYongYe-Chang |
Should he push to the |
Yes, you are right! Hi @KhalilSantana, can you help push it to the master branch and sign off refer to https://github.com/karmada-io/karmada/pull/5827/checks?check_run_id=33089738444, and then we maybe can cherry-pick to the release-1.11 branch and other previous branches. |
This argument is necessary, otherwise, the metrics-adapter will generate its own certificates, which may lack certain SAN domains (e.g: |
24b2488
to
12823b8
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
12823b8
to
d55694f
Compare
Hi, so I've signed-off on the commit. But I have a question do I need to create a new PR for the changes in So looks like I need two PRs: one for the master branch (to be created) and this PR. Is this the case, or am I not seeing an easier path? |
Hi @KhalilSantana You need to submit a PR that is modified to the master branch. After the PR is integrated, you can cherry-pick the PR to the release-1.10, release-1.11, and release-1.12 branches. |
…d via karmadactl Signed-off-by: Khalil Santana <[email protected]>
d55694f
to
ed7b9eb
Compare
What type of PR is this?
/kind bug
What this PR does / why we need it:
Currently, karmadactl blundles its own manifest for the metrics-adapter component, which is lacking the TLS flags. Thus it generates a local self-signed certificate, which karmada-apiserver doesn't trust, therefore breaking the metrics endpoint (
kubectl top node
for example).Which issue(s) this PR fixes:
Fixes #5805
Special notes for your reviewer:
Note: this is my first PR to this repo. I'd also point out that this commit should be cherry-picked into master aswell, so it is fixed for all releases going forward.
Does this PR introduce a user-facing change?: