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)
- 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 6
- Docs website not updating HOT 1
- Error when running operator tutorial for Go HOT 3
- Meta Issue for k8s 1.30 bump HOT 2
- Operator-SDK version 1.34.1 removed RBAC privs that previous versions were correctly generating from Helm HOT 2
- Designing Lean Operators, example code is longer valid after `sigs.k8s.io/[email protected]` HOT 1
- A potential risk in operator-sdk that could lead to takeover of the cluster HOT 1
- [SDK Stability] Add plugin-specific scaffolding test interface to decide if a plugin version should be updated or not HOT 1
- Failed to initialize project: unable to scaffold with "base.ansible.sdk.operatorframework.io/v1" HOT 2
- Consider to support install wait for helm chart
- Unable to remove an operator HOT 2
- Report the use of components with vulnerabilities in operator-sdk
- update ownership handling for consistency HOT 1
- Can't generate ansible type operator with the latest operator-sdk HOT 3
- operator-sdk olm install fails on "Waiting for Deployment "olm/packageserver" to appear" HOT 1
- `make bundle` returns: error generating bundle manifests: error resolving image when `--use-image-digests` is added. 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.