forked from kubernetes-sigs/kubebuilder
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop to generate crd webhooks patches and cainjetions for any CRD/API…
… and projects without webhooks At present, we scaffold config/crd/patches, kustomizations, and CA injections for every CRD, irrespective of whether webhooks are enabled in the project or not. However, these configurations are only relevant and valid if the project has webhooks. Consequently, for projects without webhooks, this leads to failures as documented in kubebuilder pull request kubernetes-sigs#3585. To address this, we are now introducing a test to ensure that projects without enabled webhooks function correctly and as anticipated. Signed-off-by: Camila Macedo <[email protected]> Co-authored-by: lowang-bh <[email protected]> fix: just generate crd webhooks patches and ca injestions when webhooks are created for those
- Loading branch information
1 parent
87c2b2b
commit fdfab55
Showing
39 changed files
with
153 additions
and
479 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
docs/book/src/component-config-tutorial/testdata/project/config/crd/kustomization.yaml
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
docs/book/src/component-config-tutorial/testdata/project/config/crd/kustomizeconfig.yaml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...nt-config-tutorial/testdata/project/config/crd/patches/cainjection_in_projectconfigs.yaml
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...ponent-config-tutorial/testdata/project/config/crd/patches/webhook_in_projectconfigs.yaml
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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
Oops, something went wrong.