-
Notifications
You must be signed in to change notification settings - Fork 287
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
Replace deprecated patchesStrategicMerge
with patches
in flux kustomization
#7207
Conversation
/lgtm |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7207 +/- ##
==========================================
- Coverage 71.59% 71.59% -0.01%
==========================================
Files 548 548
Lines 42532 42521 -11
==========================================
- Hits 30452 30441 -11
Misses 10386 10386
Partials 1694 1694 ☔ View full report in Codecov by Sentry. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jiayiwang7 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 |
/lgtm |
/retest |
Issue #, if available:
When EKS-A executing
flux bootstrap
failed with error:The helm controller is in crashing loop with error stating not able to find
helm.toolkit.fluxcd.io/v2beta2
API resource:This is caused by EKS-A dev build uses Flux CLI v2.1.x which is not compatible with the helm controller image v0.37.x: the Flux v2.1.x does not install
helm.toolkit.fluxcd.io/v2beta2
API version CRD which is required in the helm controller v0.37.x.Description of changes:
In order to solve the problem, we need to bump the Flux CLI version to v2.2.x and make sure all the Flux controllers version are compatible with it based of: https://github.com/fluxcd/flux2/releases. @abhay-krishna will follow up a PR in build tooling repo to bump the versions.
This PR only solves the warning message in the CLI
Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
We replace the deprecatedpatchesStrategicMerge
withpatches
in flux system kustomization.Testing (if applicable):
--- PASS: TestDockerKubernetes128GithubFlux (961.03s)
Documentation added/planned (if applicable):
N/A
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.