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

fix: yurt-iot-dock cannot be dynamically deployed in platformadmin #1679

Merged

Conversation

LavenderQAQ
Copy link
Member

@LavenderQAQ LavenderQAQ commented Aug 25, 2023

What type of PR is this?

/kind bug
/sig iot

What this PR does / why we need it:

Because the yurt-iot-dock is an internal component of openyurt and is not in the standard configuration collected by the auto-collector, a separate decision for the yurt-iot-dock is added when calculating the required components.

Special notes for your reviewer:

Does this PR introduce a user-facing change?


other Note

@openyurt-bot
Copy link
Collaborator

@LavenderQAQ: GitHub didn't allow me to assign the following users: your_reviewer.

Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

… remove yurt-iot-dock

What type of PR is this?

/kind bug
/sig iot

What this PR does / why we need it:

Because the yurt-iot-dock is an internal component of openyurt and is not in the standard configuration collected by the auto-collector, a separate decision for the yurt-iot-dock is added when calculating the required components.

Special notes for your reviewer:

Does this PR introduce a user-facing change?


other Note

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.

@openyurt-bot openyurt-bot added the kind/bug kind/bug label Aug 25, 2023
@openyurt-bot openyurt-bot added the sig/iot sig/iot label Aug 25, 2023
@openyurt-bot openyurt-bot requested a review from qclc August 25, 2023 09:33
@openyurt-bot openyurt-bot added the size/S size/S 10-29 label Aug 25, 2023
@LavenderQAQ
Copy link
Member Author

/assign @Rui-Gan

@openyurt-bot
Copy link
Collaborator

@LavenderQAQ: GitHub didn't allow me to assign the following users: Rui-Gan.

Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @Rui-Gan

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.

Copy link
Member

@Rui-Gan Rui-Gan left a comment

Choose a reason for hiding this comment

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

We can remove the newYurtIoTDockComponent logic from initFramework as it is somewhat redundant.

@LavenderQAQ LavenderQAQ force-pushed the fix/framework-sync-iotdock branch from d422b7e to 399392c Compare August 26, 2023 23:10
@codecov
Copy link

codecov bot commented Aug 26, 2023

Codecov Report

Merging #1679 (0ec4131) into master (68d4079) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1679   +/-   ##
=======================================
  Coverage   52.79%   52.79%           
=======================================
  Files         160      160           
  Lines       18725    18725           
=======================================
  Hits         9886     9886           
  Misses       7928     7928           
  Partials      911      911           
Flag Coverage Δ
unittests 52.79% <ø> (ø)

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

@LavenderQAQ LavenderQAQ requested a review from Rui-Gan August 26, 2023 23:42
Signed-off-by: LavenderQAQ <lavenderqaq.cs@gmail.com>
@LavenderQAQ LavenderQAQ changed the title fix: fixed an issue where platformadmin could not dynamically add and remove yurt-iot-dock fix: yurt-iot-dock cannot be dynamically deployed in platformadmin Aug 27, 2023
@LavenderQAQ LavenderQAQ force-pushed the fix/framework-sync-iotdock branch from 399392c to 0ec4131 Compare August 27, 2023 00:06
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Rui-Gan
Copy link
Member

Rui-Gan commented Aug 30, 2023

/lgtm

@openyurt-bot
Copy link
Collaborator

@Rui-Gan: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@rambohe-ch
Copy link
Member

/lgtm

@openyurt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LavenderQAQ, rambohe-ch, Rui-Gan

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

@openyurt-bot openyurt-bot added the approved approved label Aug 30, 2023
@openyurt-bot openyurt-bot merged commit 0dbc3f1 into openyurtio:master Aug 30, 2023
luckymrwang added a commit to luckymrwang/openyurt that referenced this pull request Sep 20, 2023
…fix_calico

* 'master' of https://github.com/openyurtio/openyurt:
  Add status info to YurtAppSet/YurtAppDaemon (openyurtio#1702)
  fix: add the logic of removing the finalizer (openyurtio#1695)
  Fix work dir nested `yurthub/yurthub` (openyurtio#1693)
  Add yurtappoverrider (openyurtio#1684)
  modify the logic for judging static pods and combine the utils for pod and node (openyurtio#1689)
  chore: slice loop replace (openyurtio#1690)
  unified expression about DaemonSet (openyurtio#1698)
  improve controller names (openyurtio#1687)
  add gateway public service controller (openyurtio#1685)
  feat: add token format checking to yurtadm join process (openyurtio#1681)
  add gateway internal service controller (openyurtio#1677)
  fix: yurt-iot-dock cannot be dynamically deployed in platformadmin (openyurtio#1679)
  unserve v1alpha1 version of platformadmin crd (openyurtio#1659)
@LavenderQAQ LavenderQAQ deleted the fix/framework-sync-iotdock branch January 30, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved approved kind/bug kind/bug lgtm lgtm sig/iot sig/iot size/S size/S 10-29
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants