-
Notifications
You must be signed in to change notification settings - Fork 826
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
Remove crd v1beta1 Support #3630
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #3630 +/- ##
==========================================
- Coverage 40.24% 40.14% -0.10%
==========================================
Files 166 166
Lines 14160 14192 +32
==========================================
Hits 5698 5698
- Misses 8027 8060 +33
+ Partials 435 434 -1
Continue to review full report at Codecov.
|
Signed-off-by: STRRL <im@strrl.dev>
remove 1.15.x, append 1.25.x Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
1b16cd2
to
a700d13
Compare
Signed-off-by: STRRL <im@strrl.dev>
84de2fb
to
b42df3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plz fix the ci.
pkg/ctrl/server/schema.resolvers.go
Outdated
@@ -175,6 +174,10 @@ func (r *hTTPChaosResolver) Annotations(ctx context.Context, obj *v1alpha1.HTTPC | |||
return annotations, nil | |||
} | |||
|
|||
func (r *hTTPChaosResolver) ClusterName(ctx context.Context, obj *v1alpha1.HTTPChaos) (string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is strange here. I guess it is because the kube go mod we relied on changed.
You may need to turn the type of HTTPChaos.ClusterName to string here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea about what ClusterName
is 🤔. It has been here 13 months ago.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also cc @Hexilee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metadata.clusterName
is deprecated in 1.24 and removed in 1.25, since it is event not used, I would remove it from the graphql.
ref:
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
b67a0c8
to
c8c2e51
Compare
Signed-off-by: STRRL <im@strrl.dev>
the auto cni would let source IP as the 172.27.0.1, which breaks the DNSChaos Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
Signed-off-by: STRRL <im@strrl.dev>
/cc @chaos-mesh/committers @chaos-mesh/maintainers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: c57e3dc
|
cherry pick to release-2.4 in PR #3662 |
* feat: remove support for crd-v1beta1 Signed-off-by: STRRL <im@strrl.dev> * test: skew kubernetes version in e2e test remove 1.15.x, append 1.25.x Signed-off-by: STRRL <im@strrl.dev> * chore: Update Changelog Signed-off-by: STRRL <im@strrl.dev> * chore: bump minkube version in e2e test to 1.26.1 Signed-off-by: STRRL <im@strrl.dev> * fix: use calico to replace broken flannel cni Signed-off-by: STRRL <im@strrl.dev> * fix: use cilium to instaed broken calico in e2e tests Signed-off-by: STRRL <im@strrl.dev> * ci: use default cni to bootstrap e2e test cluster Signed-off-by: STRRL <im@strrl.dev> * chore: bump dependency version to fix e2e test on 1.25 Signed-off-by: STRRL <im@strrl.dev> * chore: make check Signed-off-by: STRRL <im@strrl.dev> * feat: bump api dependency version, remove clusterName Signed-off-by: STRRL <im@strrl.dev> * chore: remove unused methods Signed-off-by: STRRL <im@strrl.dev> * fix: leader-election: use configmapsleases Signed-off-by: STRRL <im@strrl.dev> * chore: update rbac for new leader election resouce Signed-off-by: STRRL <im@strrl.dev> * chore: make check Signed-off-by: STRRL <im@strrl.dev> * chore: use calico cni to fix e2e tests the auto cni would let source IP as the 172.27.0.1, which breaks the DNSChaos Signed-off-by: STRRL <im@strrl.dev> * chore: bump minikube to 1.27.0 to use calico with k8s 1.25.1 Signed-off-by: STRRL <im@strrl.dev> * test: let e2e use priviledged level PSP Signed-off-by: STRRL <im@strrl.dev> * chore: make check Signed-off-by: STRRL <im@strrl.dev> Signed-off-by: STRRL <im@strrl.dev> Co-authored-by: STRRL <im@strrl.dev> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Update documentation on supported releases. Version are based on chaos-mesh/chaos-mesh#3630 This PR is part of the 2.4.0 release: https://github.com/chaos-mesh/chaos-mesh/blob/release-2.4/.github/workflows/e2e_test.yml#L107 Given that the lowest version tested is 1.20 - removing anyhing below it from the supported list Signed-off-by: jekader <jekader@gmail.com> Signed-off-by: jekader <jekader@gmail.com>
What problem does this PR solve?
close #3577
What's changed and how it works?
Related changes
UI interface
Checklist
CHANGELOG
CHANGELOG.md
Tests
Side effects
DCO
If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it: