Comments (5)
This issue blocks #139. I haven't looked into dynamic client pools, but it looks like once you create the client pool the any CRD's registered after the operator starts won't be available to the sdkclient API's.
from operator-sdk.
from operator-sdk.
@hasbro17 @ericchiang is this PR in the direction you were thinking, i want to verify that it is the right direction and i will complete it and add unit tests.
from operator-sdk.
@CSdread I would hold off on that for now. Your PR is in the right direction but there's more to it than just making it a package level singleton.
The client is also used by the Watch API to create the informers which has it's own global state. So we're currently redesigning the sdk.Watch API into a controller package and the client will have to be part of that so it can be exposed to the handler. I will update this issue with more context on that once we have something more concrete on that front.
from operator-sdk.
With #382 and the controller-runtime objects we don't have any implicit pkg level state backing global functions(for the client) anymore.
from operator-sdk.
Related Issues (20)
- The infinite increase of release version in Helm operator. HOT 5
- Go Operator Tutorial HOT 1
- Meta: Important Issues Needing Resolution Before New Release
- OLM doesn't add imagePullSecrets value to the operator service account after upgrading to SDK 1.34.1 HOT 5
- FATA[0008] Failed to run bundle: load bundle metadata: metadata not found HOT 2
- `+operator-sdk:csv:customresourcedefinitions:order` does not change order in bundle
- Not able to run update and upgrade to fix CVEs HOT 2
- Operator SDK + Kubebuilder compatibility matrix HOT 3
- Quickstart instructions leads runtime panic HOT 1
- Go Operator Tutorial: plugins version issue HOT 2
- `WATCH_NAMESPACE` environment variable doesn't work for the Helm Operator HOT 3
- olm-spec-descriptors test validates alm-examples with the incorrect CRD
- Unable to deploy CNF when there are some metrics apiservices are in False or FailedDiscoveryCheck HOT 8
- Enable OpenSSF Scorecard to enhance security practices across the project
- Does Reconcile have time constraints / How much time can reconcile consume?
- `generate bundle`: Support overwriting of `annotations.yaml`
- Support Go 1.22 (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
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.