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

avoid re-allocating ServerRunOptions #5108

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

ruijzhan
Copy link
Contributor

@ruijzhan ruijzhan commented Jul 30, 2022

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This PR makes the ServerRunOptions init code clearer. Since the s.GenericServerRunOptions field already has its value, when "apiserverconfig.TryLoadFromDisk()" successes, only s.Config needs to be assigned with returned conf.

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:


@ks-ci-bot ks-ci-bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. do-not-merge/release-note-label-needed needs-ok-to-test size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 30, 2022
@ks-ci-bot
Copy link
Collaborator

Hi @ruijzhan. Thanks for your PR.

I'm waiting for a kubesphere member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wansir
Copy link
Member

wansir commented Aug 1, 2022

/ok-to-test

@wansir
Copy link
Member

wansir commented Aug 1, 2022

@ruijzhan Thanks for your contribution!

/lgtm
/approve

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 1, 2022
@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruijzhan, wansir

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 1172944451fcd42638207e357933a378823f719d

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 1, 2022
@ks-ci-bot ks-ci-bot merged commit d87d7d2 into kubesphere:master Aug 1, 2022
@ruijzhan ruijzhan deleted the load-config branch August 18, 2022 08:37
ks-ci-bot pushed a commit that referenced this pull request Aug 22, 2022
* Fix ks-core helm chart (#5101)

* avoid re-allocating ServerRunOptions (#5108)

* add alerting v2beta1 apis (#5115)

* generate alerting resource client

Signed-off-by: junot <junotxiang@kubesphere.io>

* add alerting v2beta1 apis

Signed-off-by: junot <junotxiang@kubesphere.io>

* tweak some varibles and descs

Signed-off-by: junot <junotxiang@kubesphere.io>

* Fix the tiny typo in ks-openapi-spec (#5114)

There is tiny typo in Create Namespace API.
So fix it quickly.

* Fix ingress P95 delay time promql statement (#5119)

* intergrate opensearch v1 (#5135)

opensearchv1

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
Co-authored-by: chengdehao <dehaocheng@kubesphere.io>

* enhance globalrulegroups (#5134)

Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>

* fix cluster ready condition always true (#5130)

Signed-off-by: x893675 <x893675@icloud.com>

Signed-off-by: x893675 <x893675@icloud.com>

* fill field status of helmrepo in response (#5152)

Signed-off-by: x893675 <x893675@icloud.com>

Signed-off-by: x893675 <x893675@icloud.com>

* Remove scheme duplicate registration code (#5147)

Signed-off-by: junot <junotxiang@kubesphere.io>
Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
Signed-off-by: x893675 <x893675@icloud.com>
Co-authored-by: ruijzhan <qiudog825@gmail.com>
Co-authored-by: junot <49136171+junotx@users.noreply.github.com>
Co-authored-by: Hao Wang <sxmatch1986@gmail.com>
Co-authored-by: Xinzhao Xu <z2d@jifangcheng.com>
Co-authored-by: Elon Cheng <dehaocheng@yunify.com>
Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
Co-authored-by: Hanamichi <x893675@icloud.com>
sologgfun pushed a commit to sologgfun/kubesphere that referenced this pull request Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. ok-to-test release-note-none size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants