Skip to content

Conversation

maxgio92
Copy link
Contributor

@maxgio92 maxgio92 commented Aug 21, 2023

What this PR does

This PR removes a deprecation in two kustomizations, where the field kustomize v2's bases field was still used.
From the version 3 resources replaces both usages of child kustomizations and bases kustomizations located outside of the user kustomization directory, becoming agnostic to the location of kustomizations, and their resources are accumulated the same way.

Additional context

Furthermore, kustomize v3 is already two major versions behind the current stable one (v5).
There are already users of the latter version, for example, kubectl v1.27 comes with the embedded kustomize v5.0.1.

Unrelated to the previous point, it seems that no operator-sdk generate kustomize manifests automated run is present in the codebase, and the kustomizations are not automatically generated, right now.

Open issues

Closes #1355

All Submissions:

  • Have you opened an Issue before filing this PR?
  • Have you signed our CLA?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
kustomize v3 deprecated the use of bases, and resources field inherits its responsibility. Signed-off-by: Massimiliano Giovagnoli <me@maxgio.it>
@irajdeep irajdeep added the safe-to-test Add this label to PRs from forks to trigger E2E tests label Aug 25, 2023
@irajdeep
Copy link
Contributor

LGTM. Thanks!

@irajdeep irajdeep merged commit 4008031 into mongodb:master Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe-to-test Add this label to PRs from forks to trigger E2E tests

2 participants