Comments (6)
This seems like it could be an issue with either Kubebuilder's kustomize/v2 plugin, the controller-gen command, or controller-gen itself. I haven't had time, and likely won't have much time soon, to dig into this further.
I'm also not sure the motivation to upgrade your operator's scaffolding from the go/v3 to go/v4 format? This isn't needed and is not a trivial task for operator projects that have been heavily customized. Typically to do this the recommendation would be to scaffold a new go/v4 operator and transplant the business logic from the go/v3 operator to the appropriate place in the go/v4 operator.
My personal recommendation would be to stick with the go/v3 format and continue to update your dependencies as needed.
from operator-sdk.
Thanks for taking the time to provide your feedback.
I periodically revisit the Operator SDK documentation to Upgrade SDK Version.
I'm paranoid that I'll end up with technical debt by not keeping the Operator current.
I suspect during the most recent upgrade, I noticed the go/v3 vs go/v4 docs.
Honestly, I've built this working Operator but the documentation's terms are still confusing to me. I don't understand what the 'go/vX plugin' even specifically refers to but, reading the documentation, it felt like something that I should be maintaining currency on too (so I did).
I did scaffold a new go/v4 operator and migrated the controllers etc. into it.
from operator-sdk.
@DazWilkin Am I reading the below correctly?
I did scaffold a new go/v4 operator and migrated the controllers etc. into it.
That you resolved this issue and this can be closed?
from operator-sdk.
Unfortunately, that's incorrect.
I scaffolded a new go/v4 operator, migrated the controllers etc. but that's where I'm observing the behavior.
from operator-sdk.
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
from operator-sdk.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
/remove-lifecycle stale
from operator-sdk.
Related Issues (20)
- `generate bundle`: Support overwriting of `annotations.yaml`
- Support Go 1.22 and/or 1.23 HOT 1
- Error: not all generators ran successfully run `controller-gen object:headerFile=hack/boilerplate.go.txt paths=./... -w` to see all available markers, or `controller-gen object:headerFile=hack/boilerplate.go.txt paths=./...
- Include CSV annotations to pass Preflight's RequiredAnnotations test HOT 4
- Go examples - cleanup does not remove namespace
- Use IfNotPresent policy when `operator-sdk run bundle --if-not-present`
- Documentation uses deprecated examples of defining namespace scope in manager options
- How to reconcile built-in types
- go test ./... may break the current cluster set on kubeconfig HOT 1
- How to handle breaking changes in apiVersion? HOT 2
- helm-operator when creating certificate via secret , diff certificate seen in different pods even after using same certificate from secret
- Meta Issue for k8s 1.31 bump HOT 2
- Validate complains about metadata/dependencies.yaml HOT 5
- Remove java-operator-plugins
- Two identical Kubebuilders in different CRs with *
- Go tutorials are referencing old project layout
- Missing Enable ClusterMonitoring Label in Operator Namespace HOT 1
- Cannot generate bundles for external project apis
- How to troubleshoot a failure during run bundle-upgrade
- IPv6 Address Wrapping Issue in CatalogSource Resource
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 operator-sdk.