-
Notifications
You must be signed in to change notification settings - Fork 25
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
Bump k8s dependencies to 1.30 #102
Bump k8s dependencies to 1.30 #102
Conversation
* Updated k8s dependencies to 1.30 * Updated kubebuilder to v4
Signed-off-by: Adam D. Cornett <[email protected]>
fc97379
to
a6ff0a6
Compare
Signed-off-by: Adam D. Cornett <[email protected]>
Signed-off-by: Adam D. Cornett <[email protected]>
b82a3cb
to
96cb34a
Compare
Signed-off-by: Adam D. Cornett <[email protected]>
96cb34a
to
34afe5d
Compare
Signed-off-by: Neo2308 <[email protected]>
Signed-off-by: Neo2308 <[email protected]>
Signed-off-by: Neo2308 <[email protected]>
Signed-off-by: Neo2308 <[email protected]>
Signed-off-by: Neo2308 <[email protected]>
I tested the scaffolding of these changes by referencing this commit in |
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) |
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 think these lines got inadvertently removed which were added as part of #90
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'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
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.
@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.
ansible-operator-plugins/testdata/memcached-molecule-operator/config/default/kustomization.yaml
Lines 30 to 32 in 9871a1e
- path: manager_metrics_patch.yaml | |
target: | |
kind: Deployment |
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.
Ack. Thanks for the clarification.
TODO:
Relates to: operator-framework/operator-sdk#6730