Comments (8)
@hasbro17 should those be auto-generated and managed by operator-sdk?
from operator-sdk.
Yeah I was thinking they could be generated by operator-sdk in deploy/rbac.yaml
. And then the user just creates them before creating deploy/operator.yaml
from operator-sdk.
kk, maybe operator-sdk new
can create both deploy/rbac.yaml
and deploy/crd.yaml
. then let operator-sdk build
to create operator.yaml
.
from operator-sdk.
Yeah rbac.yaml and crd.yaml only need to be generated once(unlike operator.yaml which has the image field) so we can do them as part of operator-sdk new
.
from operator-sdk.
alright. let's just implement what we have discussed
from operator-sdk.
@fanminshi please update here once you have confirmed if RBAC setup is necessary for default
or any other namespace on Minikube.
We'll decide whether or not RBAC setup is strictly required in the README after that.
from operator-sdk.
whether or not RBAC setup is strictly required in the README
If RBAC setup is strictly required on Minikube, SDK had better generate them for users.
from operator-sdk.
Seems like minikube requires RBAC setup. So the SDK will now generate deploy/rbac.yaml
whose contents are as I've listed in my first comment.
And then we need to add a step in the README to tell the user to create deploy/rbac.yaml
before creating deploy/operator.yaml
.
from operator-sdk.
Related Issues (20)
- 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
- SyncPeriod for controllers HOT 1
- MultiNamespacedCacheBuilder is deprecated and can't be used to define the operator scope HOT 1
- Unable to (re)generate `roles.yaml` using RBAC markers HOT 4
- Operator SDK installs resources in the same namespace as the operator instead of the CRD namespace. HOT 1
- Create API/make generate controller-gen panics with a SIGSEGV HOT 3
- Support for Go version 1.21 HOT 4
- Docs website not updating 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.