Skip to content

FIX deprecation warnings in kustomize 5 #2511

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

juliusvonkohout
Copy link
Member

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes # kubeflow/manifests#2985

@andreyvelich @tenzen-y i just copied over the commit for now

Signed-off-by: Pedro Viana <pedro.viana@nubank.com.br>
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Thank you @juliusvonkohout!
/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@andreyvelich
Copy link
Member

@juliusvonkohout Can you sign your commit ?

@juliusvonkohout
Copy link
Member Author

juliusvonkohout commented Feb 10, 2025

@juliusvonkohout Can you sign your commit ?

I first need to verify that the output stays the same when i run kustomize
/hold

@juliusvonkohout
Copy link
Member Author

juliusvonkohout commented Feb 10, 2025

$ diff -u old.yaml new.yaml
--- old.yaml    2025-02-10 18:50:39.299136200 +0100
+++ new.yaml    2025-02-10 18:50:19.568703200 +0100
@@ -913,7 +913,7 @@
 kind: MutatingWebhookConfiguration
 metadata:
   annotations:
-    cert-manager.io/inject-ca-from: kubeflow/katib-webhook-cert
+    cert-manager.io/inject-ca-from: KATIB_NAMESPACE_PLACEHOLDER/katib-webhook-cert
   name: katib.kubeflow.org
 webhooks:
 - admissionReviewVersions:
@@ -964,7 +964,7 @@
 kind: ValidatingWebhookConfiguration
 metadata:
   annotations:
-    cert-manager.io/inject-ca-from: kubeflow/katib-webhook-cert
+    cert-manager.io/inject-ca-from: KATIB_NAMESPACE_PLACEHOLDER/katib-webhook-cert
   name: katib.kubeflow.org
 webhooks:
 - admissionReviewVersions:

this is what i have to check

@juliusvonkohout
Copy link
Member Author

@tarekabouzeid can you follow up here?

@mahdikhashan
Copy link
Member

@tarekabouzeid can you follow up here?

shall i follow up here?

@andreyvelich
Copy link
Member

That would be great @mahdikhashan!

@andreyvelich
Copy link
Member

Hi @mahdikhashan, did you followup with this change since we want to release Katib 0.18 in the next 2 weeks ?

@mahdikhashan
Copy link
Member

Hi @mahdikhashan, did you followup with this change since we want to release Katib 0.18 in the next 2 weeks ?

thanks for reminding me of this, i'll manage it by then and update my progress.

@andreyvelich
Copy link
Member

@mahdikhashan Are we ready to merge it ?

@andreyvelich
Copy link
Member

@juliusvonkohout Is it a blocker for Katib 0.18 release, or we can post-pone it ?

@juliusvonkohout
Copy link
Member Author

juliusvonkohout commented Mar 20, 2025

Lets postpone to Kubeflow 1.10.1. so by a few weeks. @mahdikhashan you can keep the old way in the areas (cert-manager.io/inject-ca-from: kubeflow/katib-webhook-cert) where it is difficult to get diff -u to zero with replacements instead of vars. In the end also 50 % improvement is good and mergeable. Please rebase to master and also sign your first commit. @vikas-saxena02 might help out as well.

@vikas-saxena02
Copy link

vikas-saxena02 commented Mar 20, 2025

Yes, I am just doubtful if I understood the problem correctly as I am new to kustomize... i will raise my doubts in today's manifest call. I just updated the agenda for the same

@mahdikhashan
Copy link
Member

mahdikhashan commented Mar 20, 2025

thank you all, @vikas-saxena02 if you could help us with this, it would be a great help. thanks for your time 🙏

@vikas-saxena02
Copy link

@mahdikhashan can you please sign off on your commits otherwise I will have to do a new PR

@vikas-saxena02
Copy link

@juliusvonkohout I have raised #2534 as I was unable to fix unisigned commits and figure out reasons for test failures for the test case as the logs are not very descriptive

@juliusvonkohout juliusvonkohout mentioned this pull request Mar 25, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants