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

add or change k8s v1.27 #54

Merged
merged 40 commits into from
Oct 30, 2023
Merged

add or change k8s v1.27 #54

merged 40 commits into from
Oct 30, 2023

Conversation

takara9
Copy link
Contributor

@takara9 takara9 commented Oct 20, 2023

No description provided.

@zoetrope zoetrope marked this pull request as draft October 20, 2023 01:12
@takara9 takara9 marked this pull request as ready for review October 20, 2023 04:54
@takara9 takara9 requested a review from zoetrope October 20, 2023 04:54
@takara9 takara9 removed the request for review from zoetrope October 20, 2023 06:46
@takara9 takara9 marked this pull request as draft October 20, 2023 06:46
@takara9 takara9 self-assigned this Oct 23, 2023
@takara9 takara9 marked this pull request as ready for review October 23, 2023 00:12
Copy link
Contributor

@kmdkuk kmdkuk left a comment

Choose a reason for hiding this comment

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

Please update the package version in go.mod and go version.

@takara9 takara9 requested a review from kmdkuk October 24, 2023 23:20
cmd/nyamber-controller/main.go Outdated Show resolved Hide resolved
@@ -497,6 +498,7 @@ kind: Pod`
})

It("should recreate the service resource when the service resource is deleted", func() {

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this empty line intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not, I will delete this line.

Comment on lines +9 to +11
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
Copy link
Contributor

Choose a reason for hiding this comment

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

It is desirable to use the latest version of 0.27.Z for these three packages.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It had automatically updated due to depend on the version of the runtime-controller.

}},
expected: []statusResponse{
{Jobs: []job{{Name: "test1", Status: "Failed"}, {Name: "test2", Status: "Pending"}}},
{Jobs: []job{{Name: "test7", Status: "Failed"}, {Name: "test8", Status: "Pending"}}},
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you make the test names a sequential number?
I thought there would be no problem if Name was unique within each []Job.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is unesessary update, but it bring us easy identify test reult when we confuse which case failed.

Co-authored-by: kouki kamada <kouworld0123@gmail.com>
@takara9 takara9 merged commit 6e5347f into main Oct 30, 2023
5 checks passed
@takara9 takara9 deleted the k8s-1.27 branch October 30, 2023 05:47
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.

2 participants