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: add status check for expose trait #4356

Merged
merged 1 commit into from Jul 12, 2022

Conversation

Somefive
Copy link
Collaborator

@Somefive Somefive commented Jul 11, 2022

Signed-off-by: Somefive yd219913@alibaba-inc.com

Description of your changes

Add status check for expose trait.

If the expose service is LoadBalancer, the health check will wait the ingress ip to be available.

I have:

  • Read and followed KubeVela's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@codecov
Copy link

codecov bot commented Jul 11, 2022

Codecov Report

Merging #4356 (7c06d93) into master (a8d5403) will increase coverage by 5.85%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4356      +/-   ##
==========================================
+ Coverage   54.69%   60.55%   +5.85%     
==========================================
  Files         247      343      +96     
  Lines       22779    33910   +11131     
==========================================
+ Hits        12459    20533    +8074     
- Misses       8796    10684    +1888     
- Partials     1524     2693    +1169     
Flag Coverage Δ
apiserver-unittests 34.60% <ø> (?)
core-unittests 55.42% <ø> (+0.08%) ⬆️
e2e-multicluster-test 19.91% <ø> (?)
e2e-rollout-tests 22.27% <ø> (-0.01%) ⬇️
e2etests 28.37% <ø> (?)

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

Impacted Files Coverage Δ
...es/policydefinition/policydefinition_controller.go 69.47% <0.00%> (-2.11%) ⬇️
pkg/addon/push.go 75.20% <0.00%> (-1.60%) ⬇️
pkg/apiserver/event/collect/system_info_collect.go 64.91% <0.00%> (ø)
...kg/apiserver/infrastructure/datastore/datastore.go 77.77% <0.00%> (ø)
pkg/apiserver/utils/container/container.go 81.81% <0.00%> (ø)
pkg/apiserver/domain/service/velaql.go 60.00% <0.00%> (ø)
pkg/apiserver/interfaces/api/workflow.go 0.91% <0.00%> (ø)
pkg/apiserver/utils/params.go 61.90% <0.00%> (ø)
pkg/apiserver/domain/model/system_info.go 100.00% <0.00%> (ø)
pkg/apiserver/domain/service/workflow.go 57.31% <0.00%> (ø)
... and 181 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8d5403...7c06d93. Read the comment docs.

import (
"strconv"
)

expose: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this trait is ready, please remove the ui-hidden label.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why the previous version is not ready?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No developer to test it.

Signed-off-by: Somefive <yd219913@alibaba-inc.com>
@wonderflow wonderflow merged commit 3b3898b into kubevela:master Jul 12, 2022
@Somefive Somefive deleted the feat/add-status-for-expose branch June 20, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants