Skip to content
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

Resolve kustomize warnings #1752

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

ldoktor
Copy link
Contributor

@ldoktor ldoktor commented Mar 19, 2024

While setting-up my libvirt+kcli I noticed a few warnings from kustomize. I used kustomize edit fix to learn what to replace and then addressed all places using sed. Note the behaviour should not change but I have only tested the default libvirt e2e setup with kcli.

@wainersm
Copy link
Member

wainersm commented Apr 3, 2024

Hi @ldoktor !

This PR is very welcome; I changed some of those deprecation while ago in a project that I don't recall anymore :(

However, due to the recent changes on the layout of the repository (#1719) you will need to rebase/recreate the PR :(

bases are deprecated and should be replaced by resources.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
it should be safe to replace patchesJson6902 with patches now.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
no changes just removing empty indentation.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
the "kustomize edit fix" complains about these missing.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
@ldoktor ldoktor requested a review from wainersm April 12, 2024 08:19
@wainersm wainersm added the test_e2e_libvirt Run Libvirt e2e tests label Apr 23, 2024
Copy link
Member

@wainersm wainersm left a comment

Choose a reason for hiding this comment

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

Thanks @ldoktor !

@stevenhorsman
Copy link
Member

stevenhorsman commented Apr 23, 2024

We had some issues in the past that some of our code wasn't compatible with the new kustomize format, so a couple of us made this change before and had to back it out (e.g. #1023), but maybe we have bumped versions enough for it to work now as the libvirt e2e tests are passing? I'll try and test it out with ibmcloud today to see if that shows any issues...

@stevenhorsman
Copy link
Member

It looks to work on IBM Cloud so far, but I'm still hitting kustomize warnings:

$ kubectl apply -k install/overlays/ibmcloud
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically

May switching those were the blocking issues we had before?

Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

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

I think there are some other warnings still kicking around, but it's still an improvement to remove these. Thanks @ldoktor!

@wainersm wainersm merged commit ca21d6e into confidential-containers:main Apr 23, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test_e2e_libvirt Run Libvirt e2e tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants