Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

feat: rename UnitedDeployment to YurtAppSet #62

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

xavier-hou
Copy link
Member

@xavier-hou xavier-hou commented Jun 25, 2022

Signed-off-by: hxcGit houxc_mail@163.com

What type of PR is this?

/kind good-first-issue

What this PR does / why we need it:

rename UnitedDeployment to YurtAppSet

Which issue(s) this PR fixes:

Fixes openyurtio/openyurt#735

Special notes for your reviewer:

If there is anything you think is unreasonable, please let me know. I will do my best to fix it.

Does this PR introduce a user-facing change?


other Note

I have do some test after changing the name.

  1. make test
  • All test cases work fine except for one test in pkg/yurtappmanager/util/refmanager/refmanager_test.go. But this does not seem to be caused by the name change.
  1. deploy in k8s cluster according to Yurt-app-manager Tutorial

image

By the way, I would like to know how to test if the webhook is working correctly. And what other tests do I need to take?

Signed-off-by: hxcGit <houxc_mail@163.com>
@openyurt-bot
Copy link
Collaborator

@HXCGIT: 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:

Signed-off-by: hxcGit houxc_mail@163.com

What type of PR is this?

/kind good-first-issue

What this PR does / why we need it:

rename UnitedDeployment to YurtAppSet

Which issue(s) this PR fixes:

Fixes openyurtio/openyurt#735

Special notes for your reviewer:

If there is anything you think is unreasonable, please let me know. I will do my best to fix it.

Does this PR introduce a user-facing change?


other Note

I have do some test after changing the name.

  1. make test
  • All test cases work fine except for one test in pkg/yurtappmanager/util/refmanager/refmanager_test.go. But this seems to have no effect on the name change.
  1. deploy in k8s cluster according to Yurt-app-manager Tutorial
image
By the way, I would like to know how to test if the webhook is working correctly. And what other tests do I need to take?

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/good-first-issue kind/good-first-issue label Jun 25, 2022
@openyurt-bot
Copy link
Collaborator

Welcome @HXCGIT! It looks like this is your first PR to openyurtio/yurt-app-manager 🎉

@rambohe-ch
Copy link
Member

/assign @zzguang @kadisi

@openyurt-bot
Copy link
Collaborator

@rambohe-ch: GitHub didn't allow me to assign the following users: zzguang.

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 @zzguang @kadisi

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 rambohe-ch merged commit 9407a40 into openyurtio:master Jul 1, 2022
@openyurt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hxcGit, rambohe-ch

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 Jul 1, 2022
@huiwq1990
Copy link
Member

@rambohe-ch we should directly delete uniteddeployment as user already use it. For example, our yurt-edgex-manager use it deploy edgex. https://github.com/openyurtio/yurt-edgex-manager/blob/b0c2315fd148d3d4a226690b0a149b42314cc13f/controllers/edgex_controller.go#L354

@huiwq1990
Copy link
Member

It's better import deprecation warnings follow the document https://kubernetes.io/blog/2020/09/03/warnings/#deprecation-warnings.

@rambohe-ch
Copy link
Member

@rambohe-ch we should directly delete uniteddeployment as user already use it. For example, our yurt-edgex-manager use it deploy edgex. https://github.com/openyurtio/yurt-edgex-manager/blob/b0c2315fd148d3d4a226690b0a149b42314cc13f/controllers/edgex_controller.go#L354

@HXCGIT would you be able to post a pull request to fix this potential problem?

@xavier-hou
Copy link
Member Author

@rambohe-ch we should directly delete uniteddeployment as user already use it. For example, our yurt-edgex-manager use it deploy edgex. https://github.com/openyurtio/yurt-edgex-manager/blob/b0c2315fd148d3d4a226690b0a149b42314cc13f/controllers/edgex_controller.go#L354

@HXCGIT would you be able to post a pull request to fix this potential problem?

@rambohe-ch Sure, I'll take a look. @huiwq1990 Many thanks to your suggestion!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved approved kind/good-first-issue kind/good-first-issue size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request]Rename UnitedDeployment to YurtAppSet
5 participants