-
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
remove insecureSkipTLSVerify in local-up-karmada script #4026
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an enhancement is right label.
/remove-kind bug
/kind feature
1841f92
to
33b9269
Compare
Codecov ReportPatch coverage has no change and project coverage change:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #4026 +/- ##
==========================================
- Coverage 53.83% 53.82% -0.01%
==========================================
Files 231 231
Lines 23013 23013
==========================================
- Hits 12388 12386 -2
- Misses 9953 9954 +1
- Partials 672 673 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks for start reviewing~ @RainbowMango @XiShanYongYe-Chang besides, I modified the launch params of |
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job and nice explanation step.
Signed-off-by: chaosi-zju <[email protected]>
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other lgtm
PR is still ongoing? Please update the PR descriptions once it ready for review or moving forward. |
What's the
|
sorry,
the error is introduced after I add |
ok, and PR is ready to merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Backupground:
insecureSkipTLSVerify=true
means prohibit clientside from verifing the cert of serverside, this is an unsafe configuration, we can avoid unnecessary unsafe configurations.This PR mainly aims to remove
insecureSkipTLSVerify
in YAML artifacts used bydeploy-karmada.sh
.Which issue(s) this PR fixes:
part of #4024
Special notes for your reviewer:
I have finished following verification test:
1. install by
hack/local-up-karmada.sh
success.2. each APIService's
AVAILABLE
filed equals toTrue
.3. after I specified the
caBunde
toapiservice
, it occurred new problem as below:reason: we didn't provide our custom aggregate-apiserver with certificate, we should sign certificate for them.
resolution: add following launch parameters to
karmada-metrics-adapter
before add parameters (in picture,
ka
meanskubectl --context karmada-apiserver
):after add parameters:
4. check if helm installation also used those YAML artifacts, if so, synchronize modifications.
the
karmada-aggregated-apiserver-apiservice.yaml
in below picture is just printing a string type key, not quoting the same name file which I modified.done, no influence to other place.updated:
hack/deploy-metrics-adapter
usedkarmada-metrics-adapter-apiservice.yaml
which I modified.verification:
Does this PR introduce a user-facing change?: