-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Update Kustomize deprecated syntax #10294
🌱 Update Kustomize deprecated syntax #10294
Conversation
|
Welcome @peppi-lotta! |
Hi @peppi-lotta. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
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.
Thank you for the patch. I don't get warnings anymore when using kustomize build
Can you please also update the kustomize version (binary and pkg) in Makefile.
Lines 106 to 109 in af5f2c9
KUSTOMIZE_VER := v4.5.2 | |
KUSTOMIZE_BIN := kustomize | |
KUSTOMIZE := $(abspath $(TOOLS_BIN_DIR)/$(KUSTOMIZE_BIN)-$(KUSTOMIZE_VER)) | |
KUSTOMIZE_PKG := sigs.k8s.io/kustomize/kustomize/v4 |
7ff32a2
to
6361bdd
Compare
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.
/ok-to-test
/area dependency
Thanks for working on this! It must have been a frustrating one!
It seem all other tests have passed but golangci-lint test are still running after 20 hours. They should probably be stopped and re-triggered. |
I retriggered the tests - I'm assuming it was some github actions quirk. |
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.
Great job!
I have just one little concern that I think would be quite easy to address. See the comment below.
6361bdd
to
d05d742
Compare
- patchesStrategicMerge -> patches - patchesJson6902 -> patches - vars and varReference -> replacements - bases -> resources and bump version Signed-off-by: Peppi-Lotta <[email protected]>
d05d742
to
1e56348
Compare
@elmiko and @jackfrancis Please review this as soon as you have time for it. |
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.
Great!
/lgtm
LGTM label has been added. Git tree hash: a19fd89141d54c13f1a0cae7218278d2dbc993c0
|
@chrischdi PTAL :) |
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 no kustomize expert but this generally makes sense to me
/lgtm
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.
No delta on the output files 🎉
/approve
Thanks for working on this!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrischdi 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 |
Thank you very much! |
Continuing on where this PR was left off.
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 #