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
update k8s to 1.25 and go to 1.19 #238
update k8s to 1.25 and go to 1.19 #238
Conversation
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Skipping CI for Draft Pull Request. |
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
@atoato88 this PR should now be in a good state to review. Please let me know if there is anything else needed, thanks! |
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Thank you for updating! |
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 left some comments about doc.go
.
I think it's something format update for documentation, but please let me know a background about this update.
@@ -18,7 +18,7 @@ limitations under the License. | |||
// declarative Kubernetes operators to manage the lifecycle of a | |||
// deployment. | |||
// | |||
// Getting Started | |||
// # Getting Started |
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.
Is it paragraph markup on markdown format?
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.
This has to do with gofmt
updates related to bumping the Go version to Go 1.19.
If you take a look at the Headings section of this documentation https://tip.golang.org/doc/comment you can see that as of Go 1.19 the new heading format is similar to Markdown and uses the #
prefix:
The # syntax was added in Go 1.19. Before Go 1.19, headings were identified implicitly by single-line paragraphs satisfying certain conditions, most notably the lack of any terminating punctuation.
Gofmt reformats lines treated as implicit headings by earlier versions of Go to use # headings instead. If the reformatting is not appropriate—that is, if the line was not meant to be a heading—the easiest way to make it a paragraph is to introduce terminating punctuation such as a period or colon, or to break it into two lines.
I hope this helps!
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.
Thank you for detailed and helpful comment.
I understood that. 👍
@@ -26,7 +26,7 @@ implements the addonsv1alpha1.CommonObject interface. The object represents the | |||
to deploy an instance of a specific Addon in the cluster. This pattern manages a | |||
Kubernetes deployment for the specific addon based on the Addon Object. | |||
|
|||
Writing an Addon Operator | |||
# Writing an Addon Operator |
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.
same comment above.
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.
See: #238 (comment)
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atoato88, everettraven 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 |
What this PR does / why we need it:
Updates Kubernetes dependencies to 1.25 and Go to 1.19 to provide support for using
kubebuilder-declarative-pattern
with k8s 1.25Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Additional documentation: