-
Notifications
You must be signed in to change notification settings - Fork 460
Fix Kustomization Warnings #4859
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
Merged
k8s-ci-robot
merged 1 commit into
kubernetes-sigs:main
from
nawazkh:fix_kustomization_warnings
May 21, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
| resources: | ||
| - certificate.yaml | ||
| - certificate.yaml | ||
| configurations: | ||
| - kustomizeconfig.yaml | ||
| - kustomizeconfig.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,79 +1,80 @@ | ||
| # This kustomization.yaml is not intended to be run by itself, | ||
| # since it depends on service name and namespace that are out of this kustomize package. | ||
| # It should be run by config/ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
|
|
||
| resources: | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachines.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureclusters.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureclustertemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachinetemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureclusteridentities.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachinepools.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachinepoolmachines.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepooltemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedclusters.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedclustertemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedcontrolplanes.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedcontrolplanetemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedmachinepools.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedmachinepooltemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachines.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureclusters.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureclustertemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachinetemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureclusteridentities.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachinepools.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremachinepoolmachines.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepooltemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedclusters.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedclustertemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedcontrolplanes.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedcontrolplanetemplates.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedmachinepools.yaml | ||
| - bases/infrastructure.cluster.x-k8s.io_azureasomanagedmachinepooltemplates.yaml | ||
| # +kubebuilder:scaffold:crdkustomizeresource | ||
|
|
||
|
|
||
| patches: | ||
| # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix. | ||
| # patches here are for enabling the conversion webhook for each CRD | ||
| - path: patches/webhook_in_azuremachines.yaml | ||
| - path: patches/webhook_in_azureclusters.yaml | ||
| - path: patches/webhook_in_azureclustertemplates.yaml | ||
| - path: patches/webhook_in_azureclusteridentities.yaml | ||
| - path: patches/webhook_in_azuremachinetemplates.yaml | ||
| - path: patches/webhook_in_azuremachinepools.yaml | ||
| - path: patches/webhook_in_azuremachinepoolmachines.yaml | ||
| # - path: patches/webhook_in_azuremanagedmachinepools.yaml | ||
| # - path: patches/webhook_in_azuremanagedclusters.yaml | ||
| # - path: patches/webhook_in_azuremanagedcontrolplanes.yaml | ||
| # +kubebuilder:scaffold:crdkustomizewebhookpatch | ||
| # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix. | ||
| # patches here are for enabling the conversion webhook for each CRD | ||
| - path: patches/webhook_in_azuremachines.yaml | ||
| - path: patches/webhook_in_azureclusters.yaml | ||
| - path: patches/webhook_in_azureclustertemplates.yaml | ||
| - path: patches/webhook_in_azureclusteridentities.yaml | ||
| - path: patches/webhook_in_azuremachinetemplates.yaml | ||
| - path: patches/webhook_in_azuremachinepools.yaml | ||
| - path: patches/webhook_in_azuremachinepoolmachines.yaml | ||
| # - path: patches/webhook_in_azuremanagedmachinepools.yaml | ||
| # - path: patches/webhook_in_azuremanagedclusters.yaml | ||
| # - path: patches/webhook_in_azuremanagedcontrolplanes.yaml | ||
| # +kubebuilder:scaffold:crdkustomizewebhookpatch | ||
|
|
||
| # [CERTMANAGER] To enable webhook, uncomment all the sections with [CERTMANAGER] prefix. | ||
| # patches here are for enabling the CA injection for each CRD | ||
| - path: patches/cainjection_in_azuremachines.yaml | ||
| - path: patches/cainjection_in_azureclusters.yaml | ||
| - path: patches/cainjection_in_azureclustertemplates.yaml | ||
| - path: patches/cainjection_in_azureclusteridentities.yaml | ||
| - path: patches/cainjection_in_azuremachinetemplates.yaml | ||
| - path: patches/cainjection_in_azuremachinepools.yaml | ||
| - path: patches/cainjection_in_azuremachinepoolmachines.yaml | ||
| # - path: patches/cainjection_in_azuremanagedmachinepools.yaml | ||
| # - path: patches/cainjection_in_azuremanagedclusters.yaml | ||
| # - path: patches/cainjection_in_azuremanagedcontrolplanes.yaml | ||
| # +kubebuilder:scaffold:crdkustomizecainjectionpatch | ||
| # [CERTMANAGER] To enable webhook, uncomment all the sections with [CERTMANAGER] prefix. | ||
| # patches here are for enabling the CA injection for each CRD | ||
| - path: patches/cainjection_in_azuremachines.yaml | ||
| - path: patches/cainjection_in_azureclusters.yaml | ||
| - path: patches/cainjection_in_azureclustertemplates.yaml | ||
| - path: patches/cainjection_in_azureclusteridentities.yaml | ||
| - path: patches/cainjection_in_azuremachinetemplates.yaml | ||
| - path: patches/cainjection_in_azuremachinepools.yaml | ||
| - path: patches/cainjection_in_azuremachinepoolmachines.yaml | ||
| # - path: patches/cainjection_in_azuremanagedmachinepools.yaml | ||
| # - path: patches/cainjection_in_azuremanagedclusters.yaml | ||
| # - path: patches/cainjection_in_azuremanagedcontrolplanes.yaml | ||
| # +kubebuilder:scaffold:crdkustomizecainjectionpatch | ||
|
|
||
| - path: patches/capicontract_in_azuremachines.yaml | ||
| - path: patches/capicontract_in_azureclusters.yaml | ||
| - path: patches/capicontract_in_azureclustertemplates.yaml | ||
| - path: patches/capicontract_in_azuremachinetemplates.yaml | ||
| - path: patches/capicontract_in_azureclusteridentities.yaml | ||
| - path: patches/capicontract_in_azuremachinepools.yaml | ||
| - path: patches/capicontract_in_azuremanagedmachinepools.yaml | ||
| - path: patches/capicontract_in_azuremanagedclusters.yaml | ||
| - path: patches/capicontract_in_azuremanagedcontrolplanes.yaml | ||
| - path: patches/capicontract_in_azuremachinepoolmachines.yaml | ||
| - path: patches/capicontract_in_azuremanagedclustertemplates.yaml | ||
| - path: patches/capicontract_in_azuremanagedcontrolplanetemplates.yaml | ||
| - path: patches/capicontract_in_azuremanagedmachinepooltemplates.yaml | ||
| - path: patches/capicontract_in_azureasomanagedclusters.yaml | ||
| - path: patches/capicontract_in_azureasomanagedclustertemplates.yaml | ||
| - path: patches/capicontract_in_azureasomanagedcontrolplanes.yaml | ||
| - path: patches/capicontract_in_azureasomanagedcontrolplanetemplates.yaml | ||
| - path: patches/capicontract_in_azureasomanagedmachinepools.yaml | ||
| - path: patches/capicontract_in_azureasomanagedmachinepooltemplates.yaml | ||
| - path: patches/capicontract_in_azuremachines.yaml | ||
| - path: patches/capicontract_in_azureclusters.yaml | ||
| - path: patches/capicontract_in_azureclustertemplates.yaml | ||
| - path: patches/capicontract_in_azuremachinetemplates.yaml | ||
| - path: patches/capicontract_in_azureclusteridentities.yaml | ||
| - path: patches/capicontract_in_azuremachinepools.yaml | ||
| - path: patches/capicontract_in_azuremanagedmachinepools.yaml | ||
| - path: patches/capicontract_in_azuremanagedclusters.yaml | ||
| - path: patches/capicontract_in_azuremanagedcontrolplanes.yaml | ||
| - path: patches/capicontract_in_azuremachinepoolmachines.yaml | ||
| - path: patches/capicontract_in_azuremanagedclustertemplates.yaml | ||
| - path: patches/capicontract_in_azuremanagedcontrolplanetemplates.yaml | ||
| - path: patches/capicontract_in_azuremanagedmachinepooltemplates.yaml | ||
| - path: patches/capicontract_in_azureasomanagedclusters.yaml | ||
| - path: patches/capicontract_in_azureasomanagedclustertemplates.yaml | ||
| - path: patches/capicontract_in_azureasomanagedcontrolplanes.yaml | ||
| - path: patches/capicontract_in_azureasomanagedcontrolplanetemplates.yaml | ||
| - path: patches/capicontract_in_azureasomanagedmachinepools.yaml | ||
| - path: patches/capicontract_in_azureasomanagedmachinepooltemplates.yaml | ||
|
|
||
| # the following config is for teaching kustomize how to do kustomization for CRDs. | ||
| configurations: | ||
| - kustomizeconfig.yaml | ||
| - kustomizeconfig.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,25 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
| resources: | ||
| - ../capz | ||
| - ../capz | ||
|
|
||
| components: | ||
| - ../aso | ||
| - ../aso | ||
|
|
||
| replacements: | ||
| - source: | ||
| kind: Deployment | ||
| name: capz-controller-manager | ||
| fieldPath: spec.template.spec.containers.[name=manager].image | ||
| options: | ||
| delimiter: ':' | ||
| index: 1 | ||
| targets: | ||
| - select: | ||
| kind: Secret | ||
| name: aso-controller-settings | ||
| fieldPaths: | ||
| - stringData.AZURE_USER_AGENT_SUFFIX | ||
| options: | ||
| delimiter: '/' | ||
| index: 1 | ||
| - source: | ||
| fieldPath: spec.template.spec.containers.[name=manager].image | ||
| kind: Deployment | ||
| name: capz-controller-manager | ||
| options: | ||
| delimiter: ':' | ||
| index: 1 | ||
| targets: | ||
| - fieldPaths: | ||
| - stringData.AZURE_USER_AGENT_SUFFIX | ||
| options: | ||
| delimiter: / | ||
| index: 1 | ||
| select: | ||
| kind: Secret | ||
| name: aso-controller-settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
| resources: | ||
| - manager.yaml | ||
|
|
||
| - manager.yaml | ||
nawazkh marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
| resources: | ||
| - role.yaml | ||
| - role_binding.yaml | ||
| - service_account.yaml | ||
| - leader_election_role.yaml | ||
| - leader_election_role_binding.yaml | ||
| - role.yaml | ||
| - role_binding.yaml | ||
| - service_account.yaml | ||
| - leader_election_role.yaml | ||
| - leader_election_role_binding.yaml |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.