Comments (1)
(Actually k8s GC code is a better example.)
We can use dynamic client which is able to work with any resource object.
Creating dynamic client:
https://github.com/kubernetes/kubernetes/blob/11ecad262939c72404b592e721f172f1dac352dd/cmd/kube-controller-manager/app/core.go#L354-L381
Creating resource client from dynamic client at runtime:
https://github.com/kubernetes/kubernetes/blob/11ecad262939c72404b592e721f172f1dac352dd/pkg/controller/garbagecollector/garbagecollector.go#L287
from operator-sdk.
Related Issues (20)
- quickstart does not work HOT 11
- Operators Scope documentation requires update HOT 4
- Helm release disappears - operator unable to uninstall release - "Release not found" HOT 1
- About 1.34.0 release HOT 6
- My helm operator hang after I upgraded helm-operator from v1.33.0 to v1.34.0 HOT 7
- Helm operator does not create pods for new CR instance after I switch helm-operator from v1.33.0 to v1.34.0 HOT 4
- go.opentelemetry.io/otel/trace broken when scaffolding webhook HOT 3
- Go Operator Tutorial: Not able to create Initial Project HOT 2
- Helm operator does not update CR child serviceaccount ImagePullSecret when watched CR ImagePullSecret changed. HOT 3
- r.Recorder is nil. Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference HOT 1
- Version `1.34.1` `make bundle` Produces an Incomplete/Unusable Bundle
- Can operator-sdk run bundle use local image? HOT 2
- Update golang Operator docs for "Advanced Topics - Leader Election - Leader-with-lease"
- Go Operator Tutorial Page: Incorrect Link(s) and some file path corrections HOT 2
- Bundle generation issues warnings for APIs removed in k8s 1.25 but their v2 is still available
- Default labels do not comply with recommendation
- operator sdk 1.34 broken with ansible
- Helm-based operator does not reconcile operand with base image v1.34.0 HOT 3
- Release name must not be longer than 53 HOT 1
- Struct Type String Value Empty on Reconciliation HOT 1
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.