Skip to content

Bump k8s dependencies to 1.30#102

Merged
acornett21 merged 10 commits intooperator-framework:mainfrom
Neo2308:bump-kubebuilder-v4
Oct 21, 2024
Merged

Bump k8s dependencies to 1.30#102
acornett21 merged 10 commits intooperator-framework:mainfrom
Neo2308:bump-kubebuilder-v4

Conversation

@Neo2308
Copy link
Copy Markdown
Contributor

@Neo2308 Neo2308 commented Oct 9, 2024

  • Updated k8s dependencies to 1.30
  • Updated kubebuilder to v4

TODO:

Relates to: operator-framework/operator-sdk#6730

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 9, 2024
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 16, 2024
Neo2308 and others added 2 commits October 17, 2024 10:16
* Updated k8s dependencies to 1.30
* Updated kubebuilder to v4
Signed-off-by: Adam D. Cornett <adc@redhat.com>
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 17, 2024
Signed-off-by: Adam D. Cornett <adc@redhat.com>
Signed-off-by: Adam D. Cornett <adc@redhat.com>
@acornett21 acornett21 force-pushed the bump-kubebuilder-v4 branch 4 times, most recently from b82a3cb to 96cb34a Compare October 18, 2024 23:33
Signed-off-by: Adam D. Cornett <adc@redhat.com>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
@Neo2308 Neo2308 changed the title {WIP} Bump k8s dependencies to 1.30 Bump k8s dependencies to 1.30 Oct 19, 2024
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 19, 2024
@Neo2308 Neo2308 mentioned this pull request Oct 21, 2024
3 tasks
@acornett21
Copy link
Copy Markdown
Contributor

I tested the scaffolding of these changes by referencing this commit in operator-sdk repo's go mod file, and everything worked successfully. Will retest running the operator when the main image is pushed to quay.

@acornett21 acornett21 merged commit d5cde0c into operator-framework:main Oct 21, 2024
@Neo2308 Neo2308 deleted the bump-kubebuilder-v4 branch October 22, 2024 03:07
Comment on lines -127 to -131
log.Info("enabling metrics in the manager")
err = kbutil.UncommentCode(
filepath.Join(sample.Dir(), "config", "default", "kustomization.yaml"),
"#- path: manager_metrics_patch.yaml", "#")
pkg.CheckError("enabling metrics endpoint", err)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think these lines got inadvertently removed which were added as part of #90

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not quite sure if this should have remained or removed. My reasoning for removing was because there was an error saying that the commented section was not found. I thought it was because it is already uncommented. Also, I wasn't able to find where this was being uncommented, hence I removed it. Should this be added back?

cc: @joelanford

Copy link
Copy Markdown
Contributor

@acornett21 acornett21 Oct 22, 2024

Choose a reason for hiding this comment

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

@arkadeepsen metrics is now enabled by default in kubebuilder so there is nothing that needs to uncomment. See main where the kustomize file has this enabled.

- path: manager_metrics_patch.yaml
target:
kind: Deployment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ack. Thanks for the clarification.

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.

4 participants