-
Notifications
You must be signed in to change notification settings - Fork 79
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
use patches _correctly_ #4632
use patches _correctly_ #4632
Conversation
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-4632-931606a-flannel-0.22.0-k8s-ctrd-2023-06-20T16:32:43Z |
@@ -2,5 +2,5 @@ resources: | |||
- kube-flannel.yml | |||
- troubleshoot.yaml | |||
|
|||
patches: | |||
patchesStrategicMerge: |
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.
This won't work with kubernetes >= 1.27.x due to Kustomize v5 removing support for patchesStrategicMerge.
Instead you can do:
patches:
- path: kube-flannel-cfg.patch.yaml
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.
hah ok
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-4632-c66ec25-flannel-0.22.0-k8s-ctrd-2023-06-22T14:56:52Z |
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Steps to reproduce
Does this PR introduce a user-facing change?
Does this PR require documentation?