Comments (4)
Closing as it's not a bug. These lines are setting the K8s Service's namespace not that of the Mutating|ValidatingWebhookConfiguration.
These lines
webhooks/0/clientConfig/service/namespace
value kubebuilder/testdata/project-v4/config/webhook/manifests.yaml
Lines 2 to 13 in f1a4328
kustomizeconfig.yaml
doesn't have an array index path segment.)
Without these lines, the namespace value will always be system
.
from kubebuilder.
created this issue at the request of kubernetes-sigs/controller-tools#999 (comment) despite the issue template saying to create issues in controller-tools 🤷♂️
from kubebuilder.
It is not related to controller-tools at all.
Since the scaffold was implemented in Kubebuilder it has the namespaces transforms.
See: a3e6e25
However, it seems that is a bug and the code is unnecessary.
To fix it is required to:
- 1 : Change the kubebuilder template:
- 2 - Run
make generate
to ensure that all samples and docs will properly updated
Please, feel free to open PR with the change.
from kubebuilder.
@camilamacedo86 thanks, I'll attempt!
from kubebuilder.
Related Issues (20)
- Generate alpha command do not respect API namespacing HOT 2
- End to End Test should check Kubecontext before Proceeding HOT 1
- Create testdata sample for samples in the reference links HOT 4
- Support `objectSelector` in webhook's code markers HOT 2
- v2 vs v3 page is TODO HOT 3
- Fail do "kubebuilder init" in 4.0.0 HOT 2
- Updating config in PostScaffold is ignored HOT 2
- Allow Custom Marker Prefix HOT 2
- Improve Default .golangci.yml Configuration to Exclude lll Linter for kubebuilder Markers HOT 3
- Stacking of work queue metrics in grafana dashboard is confusing HOT 2
- kubebuilder should use 1.22.0 instead of 1.22 HOT 2
- Improved test support for 3rd party apps HOT 2
- update webhook marker docs HOT 2
- [Typo]: migration_guide_gov3_to_gov4.md doc HOT 1
- "@[" in scaffolded Makefile results in `bash: line 1: @[: command not found` HOT 4
- The CustomResourceDefinition name is too long: must have at most 262144 bytes HOT 1
- Update Cronjob and Multiversion Tutorials samples to Use Status Conditions HOT 1
- Conditionally Enable `filters.WithAuthenticationAndAuthorization` Only When `secureMetrics` is True HOT 6
- role.yaml doesn't contain all CRDs, and "make" nukes any fixes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubebuilder.