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

feat: support pool-coordinator component work in specified namespace #1355

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

y-ykcir
Copy link
Member

@y-ykcir y-ykcir commented Apr 3, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #1342

Special notes for your reviewer:

/assign @rambohe-ch

Does this PR introduce a user-facing change?

add a parameter for yurt-manager to specify namespace variable for PoolcoordinatorNS
modified helm: use value to specify namespace in pool-coordinator.yaml and add startup parameter in yurt-manager.yaml

@openyurt-bot openyurt-bot added the size/L size/L: 100-499 label Apr 3, 2023
@github-advanced-security
Copy link

You have successfully added a new Trivy configuration .github/workflows/trivy-scan.yml:images/target:yurt-manager. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@github-advanced-security
Copy link

You have successfully added a new Trivy configuration .github/workflows/trivy-scan.yml:images/target:yurthub. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@github-advanced-security
Copy link

You have successfully added a new Trivy configuration .github/workflows/trivy-scan.yml:images/target:node-servant. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Merging #1355 (b2cae85) into master (3f5b913) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1355      +/-   ##
==========================================
- Coverage   52.86%   52.85%   -0.01%     
==========================================
  Files         103      103              
  Lines       12924    12929       +5     
==========================================
+ Hits         6832     6834       +2     
- Misses       5534     5538       +4     
+ Partials      558      557       -1     
Flag Coverage Δ
unittests 52.85% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
...coordinator/cert/poolcoordinatorcert_controller.go 15.90% <0.00%> (-0.47%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: pool-coordinator-apiserver
namespace: {{ .Release.Namespace | quote }}
namespace: {{ .Values.poolCoordinator.namespace | quote }}
Copy link
Member

Choose a reason for hiding this comment

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

I think the target is all components will be installed in the same namespace, so it is convenient to use .Release.Namespace to specify namespace for all components, and we don't need a unique namespace for each component.

@y-ykcir y-ykcir force-pushed the deploy-poolcoordinator branch from ea92eb3 to b2cae85 Compare April 10, 2023 05:04
@openyurt-bot openyurt-bot added size/S size/S 10-29 and removed size/L size/L: 100-499 labels Apr 10, 2023
@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

@rambohe-ch
Copy link
Member

/lgtm

@openyurt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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 lgtm lgtm approved approved labels Apr 10, 2023
@openyurt-bot openyurt-bot merged commit 172d551 into openyurtio:master Apr 10, 2023
@y-ykcir
Copy link
Member Author

y-ykcir commented Apr 10, 2023

@rambohe-ch The completion of the poolcoordinator should also require synchronization changes in the yurthub like here, which may have to be done in the #1341

@rambohe-ch
Copy link
Member

@rambohe-ch The completion of the poolcoordinator should also require synchronization changes in the yurthub like here, which may have to be done in the #1341

@y-ykcir yes, i think @huweihuang will handle it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved approved lgtm lgtm size/S size/S 10-29
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request]support pool-coordinator component work in specified namespace
3 participants