Comments (16)
Will the build v2 replace the build v1 in OpenShift in future?
No plans as of now. Both will co-exist for a significant amount of time.
And do your CORE components (Such as Build v1 in OpenShift) also need to be managed by OLM lifecycle?
In openshift 4, everything is managed/lifecycle'd by operators.
Out of these operators:
-
The control plane ( "core". ) components are CVO operators ( CVO lifecycles them ) https://github.com/openshift/cluster-version-operator
-
Non-control plane operators / optional operators are OLM operators ( OLM lifecycles them )
Because Build v1 predates Operator framework / OLM , and is not even a CRD, it is today lifecycle'd by CVO. But there are plans to eventually move everything ( incl Build v1 ) that's not needed in the control plane to be managed by OLM.
from build.
Thanks a lot for the introduction Shoubhik! :)
from build.
from build.
Hi @sbose78 ,
I agree and we need to install the well-known cluster
scope strategoes so that every one in every namespace can use it without any additional configuration directly.
About How ?
When the operator starts up, install the well known strategies in the cluster scope.
[Jordan] I think first of all, we need to modify the hack/crd.sh
to install the cluster scope buildstrategies: https://github.com/redhat-developer/build/blob/master/hack/crd.sh#L20-L24
Then modify the README.md to tell users how to use it: https://github.com/redhat-developer/build/blob/master/README.md
If they change, ensure they are reconciled in the ClusterBuildStrategy controller/reconciler.
[Jordan] Right now, we don't have any trigger policy, so I think there is no too much we can do in the ClusterBuildStrategy reconcile logic.
I think we can:
-
If ClusterBuildStrategy is updated,
add a new label
in all builds which belong to this ClusterBuildStrategy that JUST tell the ClusterBuildStrategy is updated, and end-user can notice that and manually decide what he want to do next -
Do nothing in our Alaph, and plan it with trigger feature support in next release, such as there is a new type of trigger:
buildStrategy trigger
, if the BuildStrategy is updated, auto-rebuild the image.
from build.
Note: the hack/ scripts are for local development only.
from build.
Remind me: do you plan to have Olm lifecycle the Operator?
from build.
NO! :), and do you plan to have OLM lifecycle the Operator?
I hope it is not, because it is also an important reason that we choose the Build v2.
With OLM, we have to take many effects to solve the OLM dependencies in our system...
from build.
We do.
OLM is more like a package manager: helps us package the operator, manifests and metadata as a bundle - and then version and lifecycle them as a whole.
However, you can skip using that packaging - just like software installed without a package manager doesn't affect any functionality/code at all.
Nothing should change for your if you didn't want to use olm :)
from build.
Cool, I remember our team member tried to use some redhat operator but reported some OLM import packages error, so we didn't touch that. :(
But it is great if we can skip it easily.
Anyway, go ahead of your OLM support. And we may ask your help then about how to skip it. Thanks! :)
from build.
👍 Ideally, you should see nothing in this repository. I'll keep the bundling/packaging metadata in a different repo to keep this repo pure :-)
from build.
Awesome! :)
from build.
I will add my comments on this, I just want to check something first, therefore I need more time.
from build.
And one more question Shoubhik,
Is there any background behind the OLM lifecycle the build operator
?
Will the build v2 replace the build v1 in OpenShift in future?
And do your CORE components (Such as Build v1 in OpenShift) also need to be managed by OLM lifecycle?
Thanks!
from build.
@sbose78 similar to this issue, what do you think about installing the CRDs during runtime, see current manual approach. I could PR this, not sure how critical this is though. It will make the flow from zero to a running controller easier.
from build.
@sbose78 similar to this issue, what do you think about installing the CRDs during runtime
Let me start a thread for operator/CRD lifecyle.
from build.
this is already done, can we close?
from build.
Related Issues (20)
- [FEATURE] Move Readme Try It Section to BETA HOT 5
- [FEATURE] v0.13 Bump Tekton and Kubernetes dependencies
- [FEATURE] Document usage of OCIArtifact source type HOT 2
- [BUG] Endless reconcile of build when strategy kind is unknown
- [SHIP-0038] Use Release Branches for Releasing HOT 4
- [tech-debt] Release Workflow Action No Longer Maintained
- [BUG] BuildStrategy: Cannot Use Context Dir as Working Directory HOT 4
- [FEATURE] Conditional step HOT 1
- [FEATURE] Build Strategy from Tekton Task/Pipeline HOT 1
- [BUG] Automatic release README update needs to be fixed HOT 4
- [FEATURE] Provide Storage Version Migration from v1alpha1 to v1beta1 HOT 1
- [BUG] git clone issue on newest Git version HOT 3
- [FEATURE] Windows Containers/Node Support HOT 2
- [FEATURE] Support another technology to define and orchestrate the image creation inside a pod HOT 2
- [BUG] Unit tests run fine with `go test`, but fail when used with Ginkgo CLI HOT 1
- SHIP-0039: Allow node selector on `Build` and `BuildRun` to be set HOT 7
- SHIP-0039: Allow tolerations on `Build` and `BuildRun` to be set
- SHIP-0039: Allow custom scheduler to be used for `Build` and `BuildRun`
- [FEATURE] Establish a release cadence based on Tekton LTS releases HOT 2
- [BUG] The container name for shipwright build webhook doesn't match the environment variable 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 build.