Comments (4)
This could be an idea. Right now, only the executing assembly is considered. Maybe I need to fetch all types that contain the [KubernetesObject]
attribute.
Problem is, this would also include all objects from the kubernetes-client library (therefore .. all possible objects).
I think we need to create a way (or maybe an attribute) to include custom kubernetes objects from other assemblies.
from dotnet-operator-sdk.
Maybe an approach like AutoMapper
would do.
You could be able to "Add" assemblies.
.AddFromAssembly
for example
from dotnet-operator-sdk.
@Aivanovac can you have a look at #108 to see if those changes will support your use case? OperatorBuilder has an additional AddResourceAssembly
method that'll let you load resources from other DLLs.
from dotnet-operator-sdk.
🎉 This issue has been resolved in version 2.5.0 🎉
The release is available on:
- GitHub release
v2.5.0
v2.5.0
Your semantic-release bot 📦🚀
from dotnet-operator-sdk.
Related Issues (20)
- [bug]: Deletion events seem to be missing after ResourceWatcher reconnect HOT 9
- [bug]: ResourceWatcher race condition on `StopAsync()` and `OnError()`
- [bug]: LeaderAwareResourceWatcher does not regain leadership after network issues HOT 1
- [bug]: AdditionalPrinterColumn did not account for general type and format translation HOT 1
- [bug]: Events are not correctly generated in relation with the source entity HOT 2
- [bug]: Mutation WebHook throws JsonDiff ArgumentOutOfRangeException exception HOT 2
- [bug]: Mutation webhook not working HOT 2
- [bug]: System.Int32 is not a valid Kubernetes entity (inconsistently) HOT 1
- [bug]: Source generator fires for unit tests as well as operator HOT 3
- [feature]: Provide an option to skip the kubeops CLI during build HOT 2
- [bug]: v8.0.0 requeuing - polling stops completely after some time if status updated HOT 3
- [bug]: Cannot create mutation webhook with built-in resources HOT 1
- [bug]: Too old resource version HOT 3
- [bug]: No retry is performed when the ResourceWatcher fail to watch a resource HOT 12
- [bug]: KubeOps.CLI Tool does not contain the relevant documented functionality HOT 2
- [bug]: Length attribute with maxLength not filled generates incorrect OpenApiSpec
- [docs]: How does remote development work now? HOT 5
- [bug]: For adding Xunit for operators, on adding reference of the operator project shows amibiguous between methods or properties HOT 3
- [feature]: JsonSchema.Net.Generation for openapi schema generation? HOT 5
- [bug]: Nullable causes model binding error in webhooks HOT 5
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 dotnet-operator-sdk.