-
Notifications
You must be signed in to change notification settings - Fork 362
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
OCPBUGS-54439: Change KASGoMemLimit to a string pointer type #5965
Conversation
@bryan-cox: This pull request references Jira Issue OCPBUGS-54439, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/test all |
Skipping CI for Draft Pull Request. |
/jira refresh |
@bryan-cox: This pull request references Jira Issue OCPBUGS-54439, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/area api |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox 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 |
/retest |
/test verify |
@@ -111,7 +111,7 @@ type Effects struct { | |||
// +kubebuilder:validation:Optional | |||
|
|||
// KASGoMemLimit is the value to set for the $GOMEMLIMIT of the Kube APIServer container | |||
KASGoMemLimit *resource.Quantity `json:"kasGoMemLimit,omitempty"` | |||
KASGoMemLimit *string `json:"kasGoMemLimit,omitempty"` |
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.
why does this need to be a pointer?
What happens if unset?
Can you please document in the field the expected format input?
Can you add cel validation for the above that doesn't break existing input in managed environments?
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.
Discussed offline a bit here - https://redhat-internal.slack.com/archives/G01QS0P2F6W/p1743690038033419?thread_ts=1743515322.678699&cid=G01QS0P2F6W
Just made it a pointer to be consistent with the other strings in the same struct.
Added expected format & CEL.
This commit changes the KASGoMemLimit to a string pointer type instead of a k8s api/resource Quantity pointer type. Signed-off-by: Bryan Cox <[email protected]>
/lgtm |
@bryan-cox: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/override "Red Hat Konflux / hypershift-operator-main-enterprise-contract / hypershift-operator-main" |
@csrwng: Overrode contexts on behalf of csrwng: Red Hat Konflux / hypershift-operator-main-enterprise-contract / hypershift-operator-main In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@bryan-cox: Jira Issue OCPBUGS-54439: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-54439 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] Distgit: hypershift |
What this PR does / why we need it:
This PR changes the KASGoMemLimit to a string pointer type instead of a k8s api/resource Quantity pointer type and updates related unit tests.
Which issue(s) this PR fixes (optional, use
fixes #<issue_number>(, fixes #<issue_number>, ...)
format, where issue_number might be a GitHub issue, or a Jira story:Fixes #
Checklist