Comments (4)
The root of the issue is that https://github.com/kubernetes/code-generator doesn't support pluralized kinds. This means that the names that the client generates will be incorrect. My advice is to keep your Kinds singular - e.g. either AppReplicaSet
or AppReplica
.
from kubebuilder.
Thanks for finding this. The client gen code appears to improperly pluralize Kinds into resources simply by looking at the final character to see if it is an s - e.g. Fish -> Fishes, Children -> Childrens, Replicas -> Replicases. I can work around this.
from kubebuilder.
It actually seems to use this for doing pluralization :(
from kubebuilder.
@pwittrock Thanks for resolving my doubts! Appreciate it. :)
from kubebuilder.
Related Issues (20)
- cannot be handled as a CronJob unknown field HOT 2
- docs/scaffold: reconciler client and its methods should be private HOT 3
- Support +enum tags in k8s APIs HOT 4
- [META - Phases]: Discontinue Kube RBAC Proxy in Default Kubebuilder Scaffolding HOT 4
- Add in the docs a link for the controller-runtime FAQ
- Implement e2e controller tests for the multi-version sample used in the docs HOT 1
- Use Upgrade Assistance to re-generate samples docs HOT 1
- Update the Multi-Version tutorial programatically when we run `make generate` HOT 4
- kubebuilder make install fails [again]: metadata.annotations: Too long HOT 1
- OpenAPI Schema Validation Errors for imagePullSecrets and hostAliases for CronjobTutorial sample with controller-runtime v0.18.3 and Kubernetes 1.30 HOT 2
- pull controller image failed HOT 2
- DNS Entry for book-v3 - We need figure out how to create it to publish the legacy docs HOT 1
- kustomize: strategicMergePatch clobbers patched arrays HOT 1
- GitHub page link update HOT 3
- RFE: Replace ServiceMonitor for PodMonitor HOT 2
- book.kubebuilder.io no longer reachable / dns record issing HOT 4
- Change the title of the kubebuilder books HOT 4
- 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
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.