Comments (4)
The error about patch and transform is self explanatory and as of now i don't want two version of function,but maybe be useful in future provided we fix crd for input i don't have a use case as of now on that.
My only concern is that individual functions should be independent of each other since they don't share anything between them,function sequencer should be in healthy state irrespective of whatever happening for patch and transform.
Function should be independent of each other they use diff input crds,runs on diff pods why should it be dependent on another I don't believe that should the way it should work.
from crossplane.
Thanks for opening this issue and providing more context @btwseeu78!
I'd love to understand your scenario a bit better - is there a reason you're hoping to have more than 1 version of function-patch-and-transform
installed in the control plane? what does your ideal outcome look like if your scenario worked as intended? 🤔
I think in general it's not supported to install 2 copies of the same function right now - I can essentially reproduce this same scenario just installing function-patch-and-transform
twice, without function-sequencer
. I think for function-sequencer
, you're getting the error message about function-patch-and-transform
in the lock file, which is a bit misleading, because the lock file as a whole is in an unsupported state due to the duplicated functions, and therefore the package manager can't even try to think about function-sequencer
's dependencies (of which there are actually none). I think this is what's happening here 😇
Here's a repro of this scenario with just 2 function-patch-and-transform
:
apiVersion: pkg.crossplane.io/v1beta1
kind: Function
metadata:
name: function-patch-and-transform
spec:
package: xpkg.upbound.io/crossplane-contrib/function-patch-and-transform:v0.4.0
apiVersion: pkg.crossplane.io/v1beta1
kind: Function
metadata:
name: function-patch-and-transform-2
spec:
package: xpkg.upbound.io/crossplane-contrib/function-patch-and-transform:v0.4.0
from crossplane.
Yes, we could probably avoid getting the lock in a knowingly inconsistent state beforehand 🤔
from crossplane.
Related old issue: #3423
from crossplane.
Related Issues (20)
- Proposal: New `Healthy` condition for claims and XRs HOT 4
- Condition message when a package has invalid dependencies is confusing
- Consistent contributor experience across repos HOT 1
- Refactoring compositions without deleting/recreating composed resources
- Promote claim server-side apply to beta HOT 2
- Report the use of components with vulnerabilities in crossplane HOT 1
- Selecting Array Elements with the Custom Columns Kubernetes CLI Output HOT 3
- Races in the `PackagedFunctionRunner`
- DynamoDB Table Resource Based Policy Support HOT 2
- Increase e2e test reliability HOT 3
- e2e tests should fail fast
- Update to go1.22.3 due to CVE HOT 5
- Improve the trace command for performance HOT 5
- [Feature Request] Crossplane CLI should support a standardized testing model for compositions
- Claim CRDs are Reconciled by the XR CRD Reconciler
- `crossplane xpkg init` doesn't close file
- `TestNewFromFlags` test will fail when `UP_ACCOUNT` is set HOT 2
- Externally Managed CRD Fields HOT 4
- `crossplane beta validate` should support `Configuration.meta` / `crossplane.yaml` for pulling dependencies
- `make generate` can not be run more than once
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 crossplane.