content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
branch
large_stringclasses
4 values
source
large_stringclasses
51 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
A Crossplane EnvironmentConfig is a cluster-scoped, strongly typed, [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/)-like resource used by Compositions. Compositions can use the environment to store information from individual resources or to apply patches. Crossplane supports multiple `Environ...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/environment-configs.md
master
crossplane
[ 0.017939038574695587, -0.06864602118730545, 0.043294455856084824, 0.020498741418123245, 0.024828661233186722, 0.036404382437467575, 0.036693278700113297, -0.0469328872859478, 0.06929583102464676, 0.024379657581448555, -0.0447150394320488, -0.12522220611572266, 0.03358561545610428, -0.08245...
0.146146
field to match in the `valueFromFieldPath` field. ```yaml {label="byLabel",copy-lines="all"} apiVersion: apiextensions.crossplane.io/v1 kind: Composition metadata: name: example-composition spec: mode: Pipeline pipeline: - step: environmentConfigs functionRef: name: function-environment-configs input: apiVersion: envir...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/environment-configs.md
master
crossplane
[ 0.05404166504740715, -0.0038247378543019295, 0.030724352225661278, -0.0300665944814682, 0.04282698035240173, 0.023317880928516388, 0.04119451344013214, 0.0075915297493338585, 0.02233199030160904, -0.028654858469963074, -0.01868043839931488, -0.1209506094455719, -0.056341007351875305, -0.02...
0.000145
## Patching with EnvironmentConfigs using function-patch-and-transform `EnvironmentConfigs` selected as explained earlier, are then merged in an `in-memory environment` by [function-environment-configs] and passed to the next function in the pipeline at a well known key, `apiextensions.crossplane.io/environment`. You c...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/environment-configs.md
master
crossplane
[ -0.029548782855272293, -0.0005357543122954667, -0.0011991681531071663, 0.007303531281650066, 0.020504694432020187, -0.04979235306382179, 0.01686830259859562, 0.05158013850450516, -0.12944000959396362, 0.020300457254052162, -0.01420853566378355, -0.092234767973423, 0.025774559006094933, -0....
0.075235
Compositions are a template for creating multiple Kubernetes resources as a single \_composite\_ resource. A Composition \_composes\_ individual resources together into a larger, reusable, solution. An example Composition may combine a virtual machine, storage resources and networking policies. A Composition template l...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ -0.011701478622853756, -0.06328156590461731, 0.028841575607657433, -0.028980758041143417, 0.024979211390018463, 0.07031320780515671, -0.028371719643473625, -0.04420363903045654, 0.10557124763727188, 0.025041814893484116, -0.011480385437607765, -0.11287621408700943, 0.022991379722952843, -0...
0.073582
to {{}}Pipeline{{}}. Define a {{}}pipeline{{}} of {{}}steps{{}}. Each {{}}step{{}} calls a Function. Each {{}}step{{}} uses a {{}}functionRef{{}} to reference the {{}}name{{}} of the Function to call. Some Functions also allow you to specify an {{}}input{{}}. The function defines the {{}}kind{{}} of input. This example...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ -0.11537512391805649, 0.009239467792212963, 0.02532593533396721, -0.02734740450978279, 0.0031266456935554743, 0.005462890025228262, -0.004104136023670435, -0.004116792697459459, -0.007310804910957813, -0.037994880229234695, -0.03269963338971138, -0.032860636711120605, -0.025513356551527977, ...
0.071995
you disable the RBAC manager, you must manually grant Crossplane access to \_any\_ kind of resource you wish to compose - including XRs and MRs.\*\* {{< /hint >}} ## Test a composition You can preview the output of any composition using the Crossplane CLI. You don't need a Crossplane control plane to do this. The Cross...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ -0.0369606614112854, -0.08902223408222198, -0.048508621752262115, 0.017013518139719963, 0.018657805398106575, -0.007145146373659372, -0.046363458037376404, -0.009985765442252159, 0.00350502273067832, -0.004448563326150179, -0.009386288933455944, -0.11921750754117966, -0.011973939836025238, ...
-0.026353
`render.crossplane.io/runtime-development-target` - When using the `Development` runtime this annotation tells the CLI to connect to a Function running at the specified target. It uses [gRPC target syntax](https://github.com/grpc/grpc/blob/v1.59.1/doc/naming.md). ## Verify a composition View all available Compositions ...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ 0.014173716306686401, -0.05596037581562996, 0.010175665840506554, -0.09615542739629745, 0.07240848988294601, -0.05359232425689697, -0.028043318539857864, -0.052128035575151443, 0.0868866816163063, -0.02073555998504162, 0.016217296943068504, -0.14269156754016876, -0.03171146288514137, -0.03...
0.024107
composed resources it should create or update. If the function needs \_\_required resources\_\_ to determine the desired state it can request any cluster-scoped or namespaced resource Crossplane already has access to, either by name or labels through the returned RunFunctionResponse. Crossplane then calls the function ...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ -0.07950805872678757, -0.07363791018724442, -0.01074631791561842, 0.0386030375957489, 0.009493546560406685, -0.012735064141452312, 0.06759510934352875, -0.05004917085170746, 0.002270472003147006, 0.014388239942491055, -0.03150326758623123, -0.06815313547849655, 0.037933386862277985, -0.085...
0.122935
resource from existing. Most function SDKs handle copying desired state automatically. {{}} A function should only add the fields it cares about to the desired state. It should add these fields every time Crossplane calls it. If a function adds a field to the desired state once, but doesn't add it the next time it's ca...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ -0.04222036898136139, -0.02276664599776268, 0.04943719133734703, -0.03943432867527008, 0.031977150589227676, -0.008003460243344307, 0.03792316094040871, -0.09174220263957977, 0.15748493373394012, 0.06545127928256989, -0.025619858875870705, -0.09781431406736374, -0.01411024946719408, -0.066...
0.097471
observed\_xr["metadata"]["name"]}, }, "spec": { "containers": [{ "name": "app", "image": image, "ports": [{"containerPort": 80}] }], }, }, }, }) ``` #### Dynamic resource requests Functions can also request resources during runtime through the RunFunctionResponse. Crossplane calls the function again with the requested ...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/compositions.md
master
crossplane
[ -0.0022636333014816046, -0.028012782335281372, 0.014206568710505962, 0.002133794594556093, 0.057899825274944305, -0.07821915298700333, 0.01022280566394329, 0.003683562856167555, 0.011794712394475937, -0.011865271255373955, -0.01087111048400402, -0.0728437602519989, -0.014430034905672073, 0...
0.044295
This guide discusses the use of "Composition Revisions" to make and roll back changes to a Crossplane [`Composition`][composition type]. It assumes familiarity with Crossplane and [Compositions]. A `Composition` configures how Crossplane should reconcile a Composite Resource (XR). Put otherwise, when you create an XR t...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composition-revisions.md
master
crossplane
[ 0.03595829755067825, -0.07465535402297974, -0.012858206406235695, -0.043110527098178864, -0.030458025634288788, -0.01746530830860138, -0.009777606464922428, -0.07198946923017502, 0.05892309173941612, 0.027687853202223778, -0.02335352450609207, -0.009382081218063831, 0.09022828191518784, -0...
0.010664
# The Manual policy specifies that you don't want this XR to update to the # latest CompositionRevision automatically. compositionUpdatePolicy: Manual compositionRef: name: example ``` Crossplane sets an XR's `compositionRevisionRef` automatically at creation time regardless of your chosen `compositionUpdatePolicy`. If...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composition-revisions.md
master
crossplane
[ 0.0012625338276848197, -0.11448508501052856, 0.029474131762981415, -0.03768744692206383, -0.040775664150714874, 0.016302207484841347, -0.02863943576812744, -0.0526999905705452, 0.03277616202831268, 0.015208080410957336, 0.022072535008192062, -0.06450415402650833, 0.009812336415052414, -0.0...
-0.014322
Output: ```shell NAME SYNCED REVISION POLICY MATCHLABEL vpc-auto True myvpcs.aws.example.upbound.io-ad265bc Automatic vpc-dev True myvpcs.aws.example.upbound.io-ad265bc Automatic map[channel:dev] vpc-man True myvpcs.aws.example.upbound.io-ad265bc Manual vpc-staging False Automatic map[channel:staging] ``` {{< hint "not...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composition-revisions.md
master
crossplane
[ -0.03598698973655701, -0.008876141160726547, 0.015451034530997276, -0.026343129575252533, 0.0263481754809618, 0.000718407507520169, -0.03214491903781891, -0.08000028133392334, 0.08463732153177261, 0.015233231708407402, 0.02633587457239628, -0.12081088125705719, -0.021007919684052467, -0.09...
0.005692
A composite resource, or XR, represents a set of Kubernetes resources as a single Kubernetes object. Crossplane creates composite resources when users access a custom API, defined in the CompositeResourceDefinition. {{}} Composite resources are a \_composite\_ of Kubernetes resources. A \_Composition\_ defines how to \...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composite-resources.md
master
crossplane
[ -0.03538981080055237, -0.04419767111539841, 0.052609823644161224, -0.03792858496308327, 0.0006747400038875639, 0.004991179797798395, 0.007329465355724096, -0.02092282846570015, 0.0670405700802803, -0.03408657759428024, 0.025482365861535072, -0.153280571103096, 0.04477991908788681, -0.00561...
0.119358
metadata: namespace: default name: my-composite-resource spec: crossplane: compositionUpdatePolicy: Manual compositionRevisionRef: name: my-composition-b5aa1eb # Removed for brevity ``` {{}} Find the Composition revision name from {{}}kubectl get compositionrevision{{}} ```shell {label="getcomprev",copy-lines="1"} kube...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composite-resources.md
master
crossplane
[ 0.018085503950715065, 0.040841519832611084, 0.07687528431415558, -0.017238862812519073, -0.011605233885347843, 0.057990219444036484, -0.03373992443084717, -0.07687289267778397, 0.06800541281700134, -0.01863812655210495, -0.037452660501003265, -0.12145432829856873, 0.032627545297145844, -0....
-0.011914
Composite resource definitions (`XRDs`) define the schema for a custom API. Users create composite resources (`XRs`) using the API schema defined by an XRD. {{}} Read the [composite resources]({{}}) page for more information about composite resources. {{}} {{}} A [composite resource]({{}}) or XR is a custom API. You us...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composite-resource-definitions.md
master
crossplane
[ -0.035680774599313736, -0.048210762441158295, -0.004639953840523958, -0.019702507182955742, -0.010488532483577728, 0.018050041049718857, -0.00459131458774209, -0.015006103552877903, 0.04540393128991127, -0.007819483056664467, 0.04363406449556351, -0.10804835706949234, 0.09094631671905518, ...
0.083054
which parameters are required or optional. {{}} All `schemas` follow the Kubernetes custom resource definition [OpenAPIv3 structural schema](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#specifying-a-structural-schema). {{< /hint >}} Each {{}}version{{}} of the API has...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composite-resource-definitions.md
master
crossplane
[ -0.005021405406296253, 0.0597674623131752, 0.02585483342409134, -0.00642726244404912, 0.010726398788392544, 0.0016759264981374145, 0.00265546259470284, -0.02371915616095066, 0.040841784328222275, -0.0049843559972941875, 0.018747232854366302, -0.13155104219913483, 0.017530513927340508, 0.02...
0.141899
schema. This can be an effective way to identify and upgrade users before deleting the older schema version. {{< /hint >}} The {{}}referenceable: true{{}} field indicates which version of the schema Compositions use. Only one version can be `referenceable`. {{< hint "note" >}} Changing which version is `referenceable:t...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composite-resource-definitions.md
master
crossplane
[ 0.0014269854873418808, 0.0035111592151224613, 0.07741879671812057, -0.07013142108917236, 0.046906884759664536, 0.018755262717604637, -0.059126581996679306, -0.07885144650936127, 0.019408438354730606, 0.008881482295691967, 0.003213532967492938, -0.0787828117609024, -0.029224416241049767, -0...
0.07486
name: xdatabases.custom-api.example.org spec: defaultCompositionUpdatePolicy: Manual group: custom-api.example.org names: # Removed for brevity versions: # Removed for brevity ``` #### enforcedCompositionRef To require all composite resources to use a specific Composition use the `enforcedCompositionRef` setting in the...
https://github.com/crossplane/docs/blob/master/content/v2.1/composition/composite-resource-definitions.md
master
crossplane
[ 0.029422234743833542, -0.0865580141544342, 0.016189932823181152, -0.031087186187505722, 0.025836551561951637, 0.009469609707593918, -0.016780300065875053, -0.01422864943742752, -0.04859161376953125, 0.03736447915434837, 0.03115250915288925, -0.07060162723064423, 0.09084450453519821, 0.0063...
-0.033764
A `WatchOperation` creates [Operations]({{}}) when watched Kubernetes resources change. Use WatchOperations for reactive operational workflows such as backing up databases before deletion, validating configurations after updates, or triggering alerts when resources fail. ## How WatchOperations work WatchOperations watc...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/watchoperation.md
master
crossplane
[ -0.034503400325775146, -0.03796561807394028, 0.02042388916015625, 0.030287986621260643, 0.010403343476355076, -0.025351136922836304, 0.021891560405492783, -0.07400251924991608, 0.11373921483755112, 0.051999542862176895, -0.0588807612657547, -0.04697602614760399, -0.02099652774631977, -0.00...
0.207235
name: function-rds-backup input: apiVersion: fn.crossplane.io/v1beta1 kind: RDSBackupInput retentionDays: 30 ``` ### Resource failure alerting Alert when resources enter a failed state: ```yaml apiVersion: ops.crossplane.io/v1alpha1 kind: WatchOperation metadata: name: failure-alerts spec: watch: apiVersion: example.or...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/watchoperation.md
master
crossplane
[ -0.01472539734095335, -0.016811786219477654, -0.04052015766501427, 0.00220169173553586, 0.0755595713853836, -0.02741338685154915, 0.0043262154795229435, -0.004946514032781124, 0.03207239881157875, 0.023326629772782326, -0.04114190861582756, -0.043527115136384964, 0.0006113467388786376, 0.0...
0.113892
- type: Watching status: "True" reason: WatchActive watchingResources: 12 runningOperationRefs: - name: config-validator-anjda - name: config-validator-f0d92 ``` \*\*Key status fields:\*\* - \*\*Conditions\*\*: Standard Crossplane conditions (Synced) and WatchOperation-specific conditions: - \*\*Watching\*\*: `True` wh...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/watchoperation.md
master
crossplane
[ -0.028968024998903275, -0.07805629074573517, -0.028829315677285194, 0.03995118290185928, 0.07700151950120926, 0.004336464684456587, 0.07416129112243652, -0.07322873920202255, 0.002756415167823434, 0.031012238934636116, -0.016894377768039703, -0.025820255279541016, -0.021606778725981712, -0...
0.188767
with Operations]({{}}) to create your first reactive operation
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/watchoperation.md
master
crossplane
[ -0.10590742528438568, 0.04256874695420265, -0.030981311574578285, 0.11812758445739746, -0.09459244459867477, -0.010447748005390167, 0.02217729017138481, 0.013740811496973038, -0.00800490751862526, 0.04247445985674858, 0.04651574045419693, -0.06740082800388336, 0.003713676705956459, 0.05315...
0.161609
A `CronOperation` creates [Operations]({{}}) on a schedule, like Kubernetes CronJobs. Use CronOperations for recurring operational tasks such as database backups, certificate rotation, or periodic maintenance. ## How CronOperations work CronOperations contain a template for an Operation and create new Operations based ...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/cronoperation.md
master
crossplane
[ -0.0627206489443779, -0.0472390316426754, 0.00017468244186602533, -0.03226209804415703, -0.12764526903629303, -0.000002849115844583139, -0.024738967418670654, -0.010077368468046188, 0.022614525631070137, 0.02642100490629673, -0.026940003037452698, -0.047622088342905045, -0.008410977199673653...
0.149487
``` ## Advanced configuration ### Complex scheduling patterns Advanced cron schedule examples for specific use cases: ```yaml # Weekdays only at 9 AM (Monday-Friday) schedule: "0 9 \* \* 1-5" # Every 4 hours during business days schedule: "0 8,12,16 \* \* 1-5" # First and last day of each month schedule: "0 2 1,L \* \*...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/cronoperation.md
master
crossplane
[ -0.0871676504611969, -0.024960754439234734, -0.039893604815006256, -0.007265755906701088, -0.0559779591858387, -0.028919758275151253, -0.04971260204911232, -0.0124122379347682, -0.03619233891367912, 0.00038832781137898564, -0.02940196543931961, -0.051715683192014694, -0.052640315145254135, ...
0.092563
schedule syntax 1. Verify the CronOperation has `Synced=True` condition 1. Look for events indicating schedule parsing errors ### Operations failing often 1. Check Operation events and logs 1. Verify function capabilities include `operation` 1. Review retry limits and adjust as needed ### Resource cleanup issues 1. Ver...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/cronoperation.md
master
crossplane
[ -0.0583413690328598, -0.02689601294696331, 0.02170312963426113, 0.053632643073797226, -0.10296469181776047, -0.10282184928655624, -0.0620276965200901, -0.021079227328300476, -0.09044018387794495, 0.01806824840605259, -0.04550699517130852, -0.03273376077413559, 0.009767144918441772, 0.00722...
0.10485
An `Operation` runs a function pipeline once to completion to perform operational tasks that don't fit the typical resource creation pattern. Unlike compositions that continuously reconcile desired state, Operations focus on tasks like backups, rolling upgrades, configuration validation, and scheduled maintenance. ## H...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/operation.md
master
crossplane
[ -0.04698718339204788, -0.041230954229831696, 0.014640058390796185, -0.022074520587921143, -0.08199817687273026, -0.059139035642147064, -0.030233921483159065, -0.049931012094020844, 0.09089536219835281, 0.020673198625445366, -0.02746550738811493, -0.03742938116192818, -0.05033138766884804, ...
0.166953
8 s, 16 s, 32 s, then 60 s max - Operations track the number of failures in `status.failures` - After reaching `retryLimit`, the Operation becomes `Succeeded=False` ### Credentials Operations can provide credentials to functions through Secrets: ```yaml apiVersion: ops.crossplane.io/v1alpha1 kind: Operation metadata: n...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/operation.md
master
crossplane
[ -0.06471460312604904, -0.02442229725420475, -0.06141432374715805, -0.03816189244389534, -0.04768092557787895, -0.07535117864608765, -0.044729169458150864, 0.05427182838320732, -0.0037580919452011585, 0.02647664211690426, -0.020730843767523766, -0.06010960415005684, 0.05048665404319763, -0....
0.077803
rsp.desired.resources["app-deployment"].resource.update({ "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "name": deployment["metadata"]["name"], "namespace": deployment["metadata"]["namespace"] }, "spec": {"replicas": new\_replicas} }) ``` ## Status and monitoring Operations provide rich status informatio...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/operation.md
master
crossplane
[ -0.013390245847404003, -0.026397237554192543, -0.009675301611423492, 0.005820183549076319, 0.016528353095054626, -0.04827757924795151, -0.05926916003227234, -0.029114849865436554, 0.015323984436690807, 0.085947684943676, -0.01850455068051815, -0.05311892554163933, 0.02825511246919632, 0.02...
0.049424
op` prints the Operation status and any resources the operation functions created or modified. It shows what would happen if you applied the Operation to a cluster. ```yaml --- # Operation status showing function results apiVersion: ops.crossplane.io/v1alpha1 kind: Operation metadata: name: ingress-cert-monitor status:...
https://github.com/crossplane/docs/blob/master/content/v2.1/operations/operation.md
master
crossplane
[ -0.021468590945005417, 0.0268793236464262, -0.01355515606701374, 0.04248890280723572, 0.028231121599674225, -0.11068780720233917, 0.009004679508507252, -0.05969865992665291, 0.05776882544159889, 0.03900900110602379, 0.03886183723807335, -0.07520343363285065, 0.019780488684773445, -0.007635...
0.150263
The recommended upgrade method for an existing Crossplane install is to use [Helm](http://helm.io). {{}} Always upgrade Crossplane \*\*one minor version at a time\*\*, using the most recent patch version available for each. For example, if you are on `v1.18` and want to upgrade to `v2.0`, you should first upgrade to `v...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/upgrade-crossplane.md
master
crossplane
[ 0.02168477699160576, -0.03237173333764076, 0.058334894478321075, -0.13664844632148743, 0.05405891686677933, -0.030225660651922226, -0.09730112552642822, 0.002350587397813797, -0.03886396810412407, 0.0861949697136879, 0.09039326012134552, -0.043876100331544876, -0.06714440137147903, -0.0557...
-0.029877
Composition functions (or just functions, for short) are custom programs that template Crossplane resources. Crossplane calls composition functions to determine what resources it should create when you create a composite resource (XR). Read the [concepts]({{}}) page to learn more about composition functions. You can wr...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.03328874707221985, 0.005873453337699175, 0.030805932357907295, -0.0342109240591526, 0.02594725973904133, 0.03063463792204857, 0.02834388241171837, 0.02079586125910282, 0.020042696967720985, -0.015804801136255264, 0.025131192058324814, -0.025406986474990845, 0.00972293596714735, -0.04115...
0.065161
`crossplane xpkg init` gives you the option of running an initialization script to automate tasks like replacing the template name with the new function's name. {{}} You must make some changes before you start adding code: \* Edit `package/crossplane.yaml` to change the package's name. \* Edit `go.mod` to change the Go...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.060967378318309784, -0.007208238355815411, -0.0644744411110878, -0.02856231853365898, -0.03424590453505516, -0.038025565445423126, 0.006079534534364939, 0.09335602819919586, -0.03516089916229248, -0.02668236568570137, 0.09331683814525604, -0.01648830994963646, 0.016339417546987534, -0.0...
0.034391
:= response.SetDesiredComposedResources(rsp, desired); err != nil { response.Fatal(rsp, errors.Wrapf(err, "cannot set desired composed resources in %T", rsp)) return rsp, nil } return rsp, nil } ``` Expand the below block to view the full `fn.go`, including imports and commentary explaining the function's logic. {{}} `...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.06153451278805733, 0.031940873712301254, -0.07046586275100708, -0.02680429071187973, 0.025117987766861916, 0.00043972310959361494, 0.006766906473785639, 0.05813997611403465, 0.02291875146329403, -0.01578499935567379, -0.00781525019556284, -0.012800167314708233, -0.023847192525863647, 0....
0.091694
v1beta1.BucketParameters{ // Set the bucket's region to the value read from the XR. Region: ptr.To[string](region), }, }, } // Convert the bucket to the unstructured resource data format the SDK // uses to store desired composed resources. cd, err := composed.From(b) if err != nil { response.Fatal(rsp, errors.Wrapf(err...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.02560430020093918, 0.08126302063465118, -0.00783214159309864, 0.007409537676721811, 0.025737009942531586, -0.04452265053987503, 0.047842979431152344, 0.048148106783628464, 0.03265240043401718, -0.02841315232217312, -0.06549409031867981, -0.10951180011034012, 0.06455524265766144, -0.0252...
0.000341
{ "name": "test" }, "spec": { "region": "us-east-2", "names": [ "test-bucket-a", "test-bucket-b" ] } }`), }, }, }, }, want: want{ rsp: &fnv1.RunFunctionResponse{ Meta: &fnv1.ResponseMeta{Ttl: durationpb.New(60 \* time.Second)}, Desired: &fnv1.State{ Resources: map[string]\*fnv1.Resource{ "xbuckets-test-bucket-a": {Reso...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.04405700042843819, 0.0648144856095314, -0.008239654824137688, -0.009611864574253559, 0.04234996438026428, -0.00412265257909894, -0.012621292844414711, 0.03473552316427231, 0.036828167736530304, 0.01084861159324646, -0.05544506385922432, -0.10712898522615433, -0.03168359771370888, 0.0515...
-0.004873
```yaml --- apiVersion: example.crossplane.io/v1 kind: XBuckets metadata: name: example-buckets --- apiVersion: s3.aws.m.upbound.io/v1beta1 kind: Bucket metadata: annotations: crossplane.io/composition-resource-name: xbuckets-crossplane-functions-example-b crossplane.io/external-name: crossplane-functions-example-b gen...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.04750525578856468, -0.04856063798069954, -0.024134226143360138, -0.06132332608103752, 0.09635166823863983, -0.010737615637481213, 0.0034908258821815252, -0.040365610271692276, 0.05064118653535843, 0.05320366844534874, 0.022328268736600876, -0.12263838946819305, 0.02320805750787258, -0.0...
-0.007091
The change logs feature helps users of Crossplane Providers understand what changes a provider makes to the resources it manages. Whenever a provider creates, updates, or deletes a managed resource, the provider records an entry explaining the details of the change in its change log. Change logs are important for aware...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/change-logs.md
master
crossplane
[ -0.04085798189043999, -0.04677238315343857, 0.10296107083559036, -0.009519483894109726, 0.10980535298585892, -0.05899934098124504, 0.03382054716348648, -0.05871953070163727, 0.07978055626153946, 0.07345688343048096, -0.035897813737392426, -0.00790462177246809, -0.02549191378057003, -0.0223...
0.086842
creates a `ConfigMap`, so it only requires permissions for that resource type. {{}} This guide grants specific permissions to the provider for example purposes. This approach isn't intended to be representative of a production environment. See more examples for configuring `provider-kubernetes` in its [examples directo...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/change-logs.md
master
crossplane
[ 0.017650078982114792, -0.03298936039209366, 0.022446773946285248, 0.015723545104265213, 0.02437877096235752, -0.004492220934480429, 0.05819055810570717, -0.023368921130895615, 0.009113023988902569, 0.08576490730047226, 0.020203858613967896, -0.07509350776672363, -0.019945692270994186, 0.03...
0.090657
## Requested resource not found If you use the Crossplane CLI to install a `Provider` or `Configuration` (for example, `crossplane xpkg install provider xpkg.crossplane.io/crossplane-contrib/provider-aws-s3:v2.0.0`) and get `the server could not find the requested resource` error, more often than not, that's an indicat...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/troubleshoot-crossplane.md
master
crossplane
[ -0.029293928295373917, -0.08907607197761536, -0.00844119768589735, -0.051230065524578094, 0.03898099437355995, -0.0302607212215662, -0.00954519398510456, -0.08171889185905457, 0.04692710191011429, 0.04477865248918533, -0.006499486975371838, -0.12263758480548859, -0.040558602660894394, -0.0...
0.044901
deployment/crossplane ``` After you have been able to rectify the problem or smooth things out, you can unpause Crossplane by scaling its deployment back up: ```shell kubectl -n crossplane-system scale --replicas=1 deployment/crossplane ``` ## Pausing Providers You can also pause Providers when troubleshooting an issue...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/troubleshoot-crossplane.md
master
crossplane
[ -0.0013534525642171502, -0.02523815631866455, 0.04122437164187431, -0.027637194842100143, 0.0004557692154776305, -0.03143959119915962, -0.024388795718550682, -0.040979813784360886, 0.012361589819192886, 0.07309388369321823, 0.04363476485013962, -0.08315938711166382, -0.040937215089797974, ...
0.003956
--output-watch-events --watch-only ``` \*\*Common root causes and fixes:\*\* - \*\*Feedback loops in patches\*\*: Review Composition patches for logic that creates circular updates where changes trigger more changes - \*\*External controller conflicts\*\*: Other controllers or operators might modify the same resources,...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/troubleshoot-crossplane.md
master
crossplane
[ -0.0032349005341529846, -0.04796668887138367, 0.02079106867313385, 0.002990520792081952, 0.006508131977170706, -0.025961583480238914, -0.05743875727057457, 0.021635079756379128, -0.0358886793255806, 0.059087589383125305, -0.015027670189738274, -0.037929486483335495, -0.006941880565136671, ...
0.06784
Function Patch and Transform allows you to write a Composition that specifies managed resource (MR) templates, and uses "patch and transform" operations to fill them out. Crossplane fills the templates out with values copied from a composite resource (XR). A [patch](#create-a-patch) copies a value from one resource and...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.10714749246835709, -0.015066211111843586, 0.03535156697034836, -0.06915518641471863, 0.04635458067059517, 0.02267366461455822, -0.01602139323949814, -0.018426043912768364, 0.00819157063961029, 0.04597318917512894, 0.022926079109311104, -0.0551021508872509, 0.004266183823347092, -0.07610...
0.037589
include a list of patches. The `patches` field takes a list of patches to apply to the individual resource. Each patch has a `type`, which defines what kind of patch action Crossplane applies. Patches reference fields inside different resources depending on the patch type, but all patches reference a `fromFieldPath` an...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.029395172372460365, -0.0337880402803421, -0.017620937898755074, -0.019895486533641815, 0.045119546353816986, 0.023444248363375664, 0.04865210875868797, -0.042349670082330704, 0.03422434628009796, 0.053346969187259674, -0.008692544884979725, -0.060101237148046494, 0.0595836415886879, -0....
0.042729
`FromCompositeFieldPath` patch to read data from the composite resource `status.secondResource` field in the composite resource and write it to a label named `secondResource` in the managed resource. ```yaml {label="patchBetween",copy-lines="9-11"} apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - na...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.022424515336751938, -0.02916785702109337, -0.04068555682897568, -0.0011728402459993958, 0.07321300357580185, 0.010010145604610443, 0.035037875175476074, -0.054100796580314636, 0.017518095672130585, 0.04333045333623886, -0.004613248165696859, -0.06308353692293167, 0.050190269947052, -0.0...
0.046873
resource. | | [FromEnvironmentFieldPath](#fromenvironmentfieldpath) | Data in the in-memory environment | A field in the composed resource. | | [ToEnvironmentFieldPath](#toenvironmentfieldpath) | A field in the composed resource. | The in-memory environment. | | [CombineFromEnvironment](#combinefromenvironment) | Multi...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.012851715087890625, -0.0146540692076087, -0.047283757477998734, 0.02419380098581314, 0.05390235409140587, 0.02802686020731926, 0.03520417585968971, -0.045684244483709335, -0.01813465543091297, 0.004073689691722393, 0.008109798654913902, -0.06728620082139969, 0.07331334799528122, -0.0477...
0.035652
forProvider: region: us-east-2 patches: - type: ToCompositeFieldPath fromFieldPath: status.atProvider.hostedZoneId toFieldPath: status.hostedZoneId ``` View the created managed resource to see the `Hosted Zone Id` field. ```yaml {label="toCompMR",copy-lines="none"} $ kubectl describe bucket Name: my-example-p5pxf-5vnp8...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ 0.03311334177851677, 0.01703597418963909, 0.046226419508457184, -0.022096598520874977, 0.04714110493659973, -0.009918006137013435, -0.028088944032788277, -0.08784715086221695, 0.015309464186429977, 0.10074197500944138, -0.010123527608811855, -0.10599864274263382, 0.011949429288506508, -0.0...
0.034716
``` Verify managed resource to confirm the applied patch. ```yaml {copy-lines="none"} kubectl describe bucket Name: my-example-8vrvc-xx5sr # Removed for brevity Spec: For Provider: Region: eu-north-1 # Removed for brevity ``` ### ToEnvironmentFieldPath {{}} For more information about using an EnvironmentConfig, read th...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.00816236063838005, 0.016096465289592743, 0.0323234423995018, -0.042520031332969666, 0.014606891199946404, -0.023867938667535782, 0.0038721668533980846, -0.014296069741249084, 0.030171463266015053, 0.04424717277288437, -0.016245126724243164, -0.13404051959514618, 0.019295664504170418, -0...
0.085776
When applying a patch, Crossplane supports modifying the data before applying it as a patch. Crossplane calls this a "transform" operation. Summary of Crossplane transforms. {{< table "table table-hover" >}} | Transform Type | Action | | --- | --- | | [convert](#convert-transforms) | Converts an input data type to a di...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.08545532822608948, -0.004043096210807562, 0.013642411679029465, -0.07069680094718933, -0.05589044466614723, 0.0070199002511799335, 0.05780615657567978, 0.008839985355734825, -0.04468979313969612, 0.0611584298312664, 0.012314166873693466, -0.017746374011039734, -0.0578562431037426, -0.06...
0.045226
toType: float64 format: quantity ``` #### Converting strings to objects Crossplane converts JSON strings to objects. Add `format: json` to the `convert` object which is the only supported string format for this conversion. ```yaml {label="object",copy-lines="all"} - type: convert convert: toType: object format: json ``...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.011896819807589054, 0.07093500345945358, -0.03285942226648331, 0.04003441706299782, -0.005894222296774387, -0.008614948950707912, 0.03908500075340271, 0.055300455540418625, 0.03642008826136589, 0.00034106828388758004, 0.0010089327115565538, -0.10641056299209595, -0.04374977946281433, 0....
0.093491
spec.field1 toFieldPath: metadata.annotations["myAnnotation"] transforms: - type: match match: patterns: - type: regexp regexp: '^field1.\*' result: "foundField1" ``` #### Using default values Optionally you can provide a default value to use if there is no matching pattern. The default value can either be the original...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.03550899773836136, 0.015433714725077152, 0.022658571600914, -0.01664464734494686, 0.01702815294265747, 0.0508776493370533, 0.07695002853870392, -0.007590423803776503, 0.05399501323699951, 0.0006463093450292945, -0.023809701204299927, -0.10763296484947205, -0.08172607421875, -0.001028552...
0.081154
`ToAdler32` - Create an Adler32 hash of the input string. ```yaml {label="stringConvert"} patches: - type: FromCompositeFieldPath fromFieldPath: spec.field1 toFieldPath: metadata.annotations["FIELD1-TEXT"] transforms: - type: string string: type: Convert convert: "ToUpper" ``` #### String format The `type: format` appl...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ 0.04322695732116699, 0.08104097843170166, -0.04163452982902527, -0.025871429592370987, -0.07912538945674896, 0.05546477809548378, 0.056225523352622986, 0.04351142421364784, 0.00876353494822979, -0.05395137891173363, -0.0341280996799469, -0.044760238379240036, -0.014509911648929119, 0.03009...
0.047412
Transform automatically aggregates connection details from composed resources. Unlike other composition functions, Function Patch and Transform can't access observed connection details to enable manually composing a `Secret` resource. Instead, it provides built-in automatic aggregation. To expose connection details for...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.13677820563316345, 0.015239360742270947, -0.011824537999927998, 0.05384885519742966, -0.05094354227185249, -0.049614984542131424, 0.0070201032795012, -0.02518133632838726, 0.06649263203144073, -0.00445001432672143, 0.0011291238479316235, -0.031167376786470413, 0.03162042051553726, -0.02...
0.056853
| Secret Type | Description | | --- | --- | | `FromConnectionSecretKey` | Create a secret key matching the key of a secret generated by the resource. | | `FromFieldPath` | Create a secret key matching a field path of the resource. | | `FromValue` | Create a secret key with a predefined value. | {{< /table >}} {{}} The ...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.05662762373685837, 0.04952056333422661, -0.03582948446273804, 0.05518392100930214, 0.007952101528644562, 0.017966633662581444, 0.06195266544818878, 0.020940234884619713, 0.05127107724547386, -0.00817936472594738, -0.013319349847733974, -0.09497784823179245, 0.02424428053200245, -0.01459...
0.043227
the resource's `status.atProvider.state` field. ```yaml {label="matchstring",copy-lines="none"} apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - name: my-resource base: # Removed for brevity readinessChecks: - type: MatchString fieldPath: status.atProvider.state matchString: "Online" ``` ### Match a...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/function-patch-and-transform.md
master
crossplane
[ -0.05577804148197174, 0.049530576914548874, 0.0055440012365579605, -0.03944094106554985, 0.007582938298583031, 0.0013001946499571204, 0.05910278111696243, -0.025623250752687454, 0.06952787935733795, 0.034047968685626984, -0.02725989744067192, -0.09152977168560028, -0.03810939937829971, 0.0...
0.115047
The base Crossplane installation consists of two pods, the `crossplane` pod and the `crossplane-rbac-manager` pod. Both pods install in the `crossplane-system` namespace by default. ## Crossplane pod ### Init container Before starting the core Crossplane container an \_init\_ container runs. The init container installs...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/pods.md
master
crossplane
[ -0.04760652408003807, -0.06846781075000763, 0.009546902030706406, -0.039408013224601746, -0.005848441272974014, 0.015444735996425152, -0.006355151534080505, 0.008909840136766434, 0.007300637196749449, 0.061231888830661774, 0.03716171160340309, -0.0928931012749672, -0.028778111562132835, -0...
0.164863
use their own `--max-reconcile-rate`. This determines the same settings for Providers and their managed resources. Applying the `--max-reconcile-rate` to Crossplane only controls the rate for core Crossplane resources. {{< /hint >}} ##### Enable real time Compositions With real time compositions enabled Crossplane watc...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/pods.md
master
crossplane
[ -0.004718354903161526, -0.07932456582784653, 0.057959988713264465, 0.006771941669285297, -0.018599767237901688, 0.010880531743168831, -0.024501115083694458, -0.08844010531902313, 0.0978570207953453, 0.05198650434613228, -0.03609246388077736, -0.08217515796422958, -0.06254762411117554, -0.0...
0.100584
describe clusterrole crossplane-admin ``` ##### crossplane-edit The `crossplane-edit` ClusterRole has the following permissions: \* full access to all Crossplane types \* full access to all secrets (even those unrelated to Crossplane) \* read-only access to all namespaces and events (even those unrelated to Crossplane)...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/pods.md
master
crossplane
[ 0.026551997289061546, -0.10199102014303207, -0.03109525889158249, 0.005026523023843765, 0.02312229573726654, 0.03509372100234032, 0.029215143993496895, -0.06188645213842392, 0.039689745754003525, 0.05583970621228218, -0.017993129789829254, -0.10141980648040771, -0.011689051985740662, -0.03...
0.159939
[Argo CD](https://argoproj.github.io/cd/) and [Crossplane](https://crossplane.io) are a great combination. Argo CD provides GitOps while Crossplane turns any Kubernetes cluster into a Universal Control Plane for all your resources. Configuration details are required in order for the two to work together properly. This ...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/crossplane-with-argo-cd.md
master
crossplane
[ -0.04161845147609711, -0.07252629101276398, -0.04937434569001198, 0.011802383698523045, -0.0365021750330925, 0.004588139243423939, 0.07696324586868286, -0.02928732894361019, 0.024798549711704254, 0.09172876179218292, -0.045705437660217285, -0.035952623933553696, -0.07396838814020157, -0.07...
0.208203
i, condition in ipairs(obj.status.conditions) do if condition.type == "LastAsyncOperation" then if condition.status == "False" then health\_status.status = "Degraded" health\_status.message = condition.message return health\_status end end if condition.type == "Synced" then if condition.status == "False" then health\_s...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/crossplane-with-argo-cd.md
master
crossplane
[ -0.004595971200615168, 0.0894082635641098, 0.05323929339647293, 0.07583300024271011, -0.0075676413252949715, -0.03332451730966568, 0.06396027654409409, -0.01198393851518631, -0.025231514126062393, -0.006666794419288635, 0.043586596846580505, -0.05282358080148697, 0.022571558132767677, -0.0...
0.040383
This guide shows how to expose connection details for composite resources (XRs). Because composite resources can compose multiple resources, the connection details they expose are often an aggregate of the connection details from their composed resources. The recommended approach is to include a Kubernetes `Secret` res...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/connection-details-composition.md
master
crossplane
[ -0.019130371510982513, -0.018994249403476715, 0.0018034873064607382, 0.014411233365535736, -0.016737809404730797, 0.020693302154541016, 0.037578314542770386, -0.06098867207765579, 0.07363346964120865, 0.023004982620477676, -0.0029953133780509233, -0.09419548511505127, 0.07628241926431656, ...
0.062082
connection details. This guide shows how to compose connection details with multiple functions. Pick the language you want to use from the tabs below. {{< tabs >}} {{< tab "YAML" >}} Create this composition function to install YAML support: {{< manifest path="guides/connection-details-composition/fn-patch-and-transform...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/connection-details-composition.md
master
crossplane
[ 0.020428620278835297, 0.025461824610829353, 0.02051323466002941, -0.09829694777727127, -0.0375465452671051, 0.011636190116405487, -0.011280091479420662, 0.028782200068235397, 0.04212731868028641, 0.014978022314608097, 0.017655832692980766, -0.1030883938074112, -0.06662210077047348, -0.0584...
0.078626
the connection secret. \* The {{}}patches{{}} in the `writeConnectionSecretToRef` section read the secret name from the XR's `.spec.writeConnectionSecretToRef.name` field. \* The function automatically includes a `Secret` object in the XR's composed resources that represents the XR's aggregated connection details. \* Y...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/connection-details-composition.md
master
crossplane
[ -0.06470881402492523, 0.026586834341287613, -0.06689976900815964, 0.015482901595532894, -0.038097042590379715, 0.008362147957086563, 0.10643064975738525, 0.003234783886000514, 0.0315726064145565, -0.011655990965664387, 0.02756786346435547, -0.056881941854953766, 0.030872352421283722, -0.03...
0.062736
when the function runs. \* The Secret reads `AccessKey`'s connection details via {{}}connection.username{{}} and {{}}connection.password{{}}. \* The function establishes the connection `Secret` name from the XR {{}}spec.writeConnectionSecretToRef{{}} if it exists. \* The function automatically includes a `Secret` objec...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/connection-details-composition.md
master
crossplane
[ -0.08404610306024551, 0.014348708093166351, -0.11749925464391708, -0.003064643358811736, -0.06373775750398636, -0.07861308753490448, 0.08615799248218536, 0.004423581529408693, 0.03506433218717575, -0.005985407158732414, 0.020412368699908257, -0.00015009596245363355, 0.10640083253383636, -0...
0.010594
want to expose for the XR. Consider allowing the consumer of the XR to specify the name they want this secret to have. 5. \*\*Handle transient state\*\*: When your XR is first created, the composed resources and/or their connection details may not exist yet. Your Composition should handle these cases by checking if res...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/connection-details-composition.md
master
crossplane
[ -0.1361924707889557, 0.03418519347906113, -0.01808544062077999, 0.011263174004852772, -0.04982321709394455, -0.019244618713855743, 0.06571044027805328, -0.030448228120803833, 0.000385667837690562, 0.006242415402084589, 0.043364234268665314, -0.09813704341650009, 0.10978537052869797, -0.023...
0.072499
may not be set when a resource name is provided` \*\*Solution:\*\* When Cluster scoped XRs compose namespace-scoped resources like a `Secret`, you must explicitly set a namespace on the resource. Consider allowing the XR consumer to specify the namespace value in your composition. Namespaced XRs don't have this problem...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/connection-details-composition.md
master
crossplane
[ -0.0092994449660182, -0.030277635902166367, 0.03991935774683952, -0.0183347649872303, 0.0036541661247611046, -0.025421861559152603, 0.03614457696676254, -0.0929708257317543, 0.11009976267814636, 0.034739889204502106, 0.04898585379123688, -0.116336390376091, 0.0717071145772934, -0.045106932...
0.05812
{{}} Resources created by Crossplane aren't deleted if Crossplane isn't uninstalled in order. This can leave cloud resources running, requiring manual deletion. {{< /hint >}} ## Ordered Crossplane uninstall Most Crossplane resources have dependencies on other Crossplane resources. For example, a \_managed resource\_ is...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/uninstall-crossplane.md
master
crossplane
[ 0.0037293019704520702, -0.01771790161728859, 0.08011623471975327, -0.020217886194586754, 0.06336867809295654, -0.023327043280005455, 0.009460709057748318, -0.12948042154312134, 0.08538457006216049, 0.061878837645053864, 0.05577689781785011, -0.05273343622684479, -0.0010930573334917426, -0....
0.049337
with `helm uninstall`. Manually delete the Crossplane namespace with `kubectl delete namespace`. ```shell kubectl delete namespace crossplane-system ``` Verify Kubernetes removed the namespace with `kubectl get namespaces` ```shell kubectl get namespace NAME STATUS AGE default Active 2m45s kube-flannel Active 2m42s kub...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/uninstall-crossplane.md
master
crossplane
[ 0.010062283836305141, 0.01923760026693344, 0.042030248790979385, -0.024114485830068588, 0.061127226799726486, 0.012140530161559582, -0.013018221594393253, -0.066710464656353, 0.09629185497760773, 0.0430430993437767, 0.030307533219456673, -0.10126562416553497, 0.0002879170351661742, -0.0315...
0.05043
Crossplane v2 introduces significant improvements while maintaining backward compatibility with most v1 configurations. This guide helps you upgrade from Crossplane v1.x to v2. Learn about [new features in Crossplane v2]({{}}) including namespaced resources, the ability to compose any Kubernetes resource, and new opera...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/upgrade-to-crossplane-v2.md
master
crossplane
[ 0.002833625767379999, -0.055647797882556915, 0.0957784652709961, -0.06845271587371826, 0.03797729313373566, 0.004228368401527405, -0.0676959976553917, -0.03881492465734482, 0.020525764673948288, 0.018424667418003082, 0.054888613522052765, -0.032296884804964066, -0.07910290360450745, -0.091...
0.039064
core](#2-upgrade-crossplane-core) 3. [Configure managed resource activation policies](#3-configure-managed-resource-activation-policies) 4. [Upgrade providers](#4-upgrade-providers) 5. [Start using v2 features](#5-start-using-v2-features) ### 1. Prepare for upgrade Review your cluster for [removed features](#removed-fe...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/upgrade-to-crossplane-v2.md
master
crossplane
[ 0.06434689462184906, -0.05127973482012749, 0.04093749448657036, -0.037678174674510956, 0.050705160945653915, -0.003530319081619382, -0.06808695942163467, -0.026226608082652092, -0.040268708020448685, 0.05971590057015419, 0.028568508103489876, -0.1440335363149643, -0.036582645028829575, -0....
0.109435
XBucket mode: Pipeline pipeline: - step: create-bucket functionRef: name: crossplane-contrib-function-go-templating input: apiVersion: gotemplating.fn.crossplane.io/v1beta1 kind: GoTemplate source: Inline inline: template: | apiVersion: s3.aws.upbound.io/v1beta2 kind: Bucket metadata: name: {{ .observed.composite.resou...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/upgrade-to-crossplane-v2.md
master
crossplane
[ -0.0052284845151007175, 0.0022791463416069746, 0.00325363059528172, -0.045015834271907806, 0.07097528874874115, -0.013247583992779255, -0.04477955028414726, 0.0003124634677078575, 0.046762727200984955, 0.055368032306432724, 0.0026522185653448105, -0.09380513429641724, -0.017357327044010162, ...
-0.049675
Building Crossplane from the source code gives you complete control over the build and installation process. You build the Crossplane container image and Helm chart directly from the source code, push the image to your own registry, and install to your Kubernetes cluster. {{< hint "important" >}} Installing Crossplane ...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/install-from-source.md
master
crossplane
[ 0.0430198572576046, -0.027233220636844635, 0.04439331963658333, -0.058959320187568665, 0.04803643748164177, 0.02679182030260563, -0.04674149677157402, 0.03240177035331726, 0.013414946384727955, 0.08572123199701309, -0.008072497323155403, -0.14862361550331116, -0.025845255702733994, -0.0737...
0.022756
path. For macOS ARM64: ```shell {copy-lines="all"} sudo cp \_output/bin/darwin\_arm64/crank /usr/local/bin/crossplane chmod +x /usr/local/bin/crossplane ``` For Linux AMD64: ```shell {copy-lines="all"} sudo cp \_output/bin/linux\_amd64/crank /usr/local/bin/crossplane chmod +x /usr/local/bin/crossplane ``` Verify the in...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/install-from-source.md
master
crossplane
[ -0.02107001096010208, -0.014946097508072853, -0.05397019535303116, -0.08303108811378479, -0.00831697043031454, -0.025591690093278885, -0.04113875702023506, 0.012290598824620247, -0.02886919490993023, 0.021841714158654213, 0.07206269353628159, -0.09254199266433716, -0.057945366948843, -0.03...
0.00788
If you have resources that are already provisioned in a Provider, you can import them as managed resources and let Crossplane manage them. A managed resource's [`managementPolicies`]({{}}) field enables importing external resources into Crossplane. ## Import resources in observe only mode Start by importing external re...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/import-existing-resources.md
master
crossplane
[ -0.059467483311891556, -0.1331857591867447, -0.013620245270431042, 0.06673464179039001, 0.06303658336400986, -0.049256905913352966, 0.10708436369895935, -0.10057421773672104, -0.06061464548110962, 0.08596857637166977, 0.006789201870560646, -0.02851427160203457, 0.04003448411822319, 0.07058...
0.037544
fully manages the imported resource. Crossplane applies any changes to the managed resource in the Provider's external resource.
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/import-existing-resources.md
master
crossplane
[ -0.05091701075434685, -0.09275811165571213, -0.026973573490977287, -0.011920695193111897, 0.09503716230392456, 0.004979823715984821, 0.012041621841490269, -0.02458399347960949, -0.025257540866732597, 0.05762365087866783, 0.02472444623708725, -0.029900958761572838, -0.01686215028166771, 0.0...
0.110261
Composition functions (or just functions, for short) are custom programs that template Crossplane resources. Crossplane calls composition functions to determine what resources it should create when you create a composite resource (XR). Read the [concepts]({{}}) page to learn more about composition functions. You can wr...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-python.md
master
crossplane
[ -0.04907120019197464, -0.005415328312665224, 0.03176134079694748, -0.028926385566592216, 0.01870090328156948, -0.014530591666698456, 0.016284415498375893, 0.008995252661406994, 0.013072468340396881, -0.006407571025192738, 0.019779091700911522, -0.02578352391719818, 0.035397522151470184, -0...
0.073283
documentation explains composition function inputs. {{}} If you're writing a function that uses an input, edit the input YAML file to meet your function's requirements. Change the input's kind and API group. Don't use `Input` and `template.fn.crossplane.io`. Instead use something meaningful to your function. {{}} ## Ed...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-python.md
master
crossplane
[ -0.003439428983256221, -0.04984137788414955, -0.03988507762551308, -0.002330282935872674, -0.03640669584274292, -0.020350132137537003, -0.02438647672533989, 0.0607130341231823, 0.02427057735621929, -0.031425487250089645, -0.008096113801002502, -0.005790064577013254, -0.04437348246574402, 0...
0.073106
log.info("Added desired buckets", region=region, count=len(names)) return rsp ``` {{}} This code: 1. Gets the observed composite resource from the `RunFunctionRequest`. 1. Gets the region and bucket names from the observed composite resource. 1. Adds one desired S3 bucket for each bucket name. 1. Returns the desired S3...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-python.md
master
crossplane
[ -0.010942846536636353, -0.04542262479662895, -0.033738039433956146, -0.024182599037885666, 0.025838928297162056, -0.0515269860625267, -0.016413379460573196, 0.0003353827924001962, 0.044039107859134674, 0.0038819757755845785, -0.07113643735647202, -0.0871153399348259, 0.06419005990028381, -...
0.029123
a Crossplane control plane to do this. Create a directory under `function-xbuckets` named `example` and create Composite Resource, Composition and Function YAML files. Expand the following block to see example files. {{}} You can recreate the output below using by running `crossplane render` with these files. The `xr.y...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-python.md
master
crossplane
[ -0.0179621409624815, -0.0321662612259388, 0.0036520652938634157, -0.028848275542259216, 0.03276268020272255, -0.022377660498023033, -0.05819522961974144, 0.006553090177476406, 0.04797488451004028, 0.04255332052707672, -0.016371194273233414, -0.08018707484006882, 0.019322535023093224, -0.01...
-0.052867
platform. ```shell {copy-lines="1"} docker build . --quiet --platform=linux/amd64 --tag runtime-amd64 sha256:fdf40374cc6f0b46191499fbc1dbbb05ddb76aca854f69f2912e580cfe624b4b ``` ```shell {copy-lines="1"} docker build . --quiet --platform=linux/arm64 --tag runtime-arm64 sha256:cb015ceabf46d2a55ccaeebb11db5659a2fb5e93de3...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/write-a-composition-function-in-python.md
master
crossplane
[ 0.03926962986588478, 0.061869822442531586, -0.02860526740550995, -0.0615125447511673, 0.0594637356698513, -0.08556196838617325, -0.03567466139793396, 0.041638828814029694, 0.01367360819131136, -0.022668952122330666, -0.01295462902635336, -0.10787013918161392, 0.020924409851431847, -0.00702...
-0.019754
Crossplane produces [Prometheus style metrics](https://prometheus.io/docs/introduction/overview/#what-are-metrics) for effective monitoring and alerting in your environment. These metrics are essential for helping to identify and resolve potential issues. This page offers explanations of all these metrics gathered from...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/metrics.md
master
crossplane
[ 0.023498959839344025, -0.026108689606189728, 0.010386651381850243, -0.022472238168120384, 0.04778103530406952, -0.054110463708639145, -0.004711564630270004, -0.016305340453982353, 0.016008585691452026, 0.015019765123724937, -0.0015424120938405395, -0.09963332861661911, -0.0408826507627964, ...
0.122318
circuit breaker lifecycle #### circuit\_breaker\_events\_total Tracks all watch events processed by the circuit breaker, labeled by `result`: - `Allowed`: Normal operation when circuit is closed - events proceed to reconciliation - `Dropped`: Events blocked when circuit is fully open - indicates active throttling - `Ha...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/metrics.md
master
crossplane
[ -0.025519153103232384, 0.03715013712644577, 0.03246183693408966, 0.06098613515496254, 0.05236346647143364, -0.023244690150022507, 0.04075698181986809, 0.06330423057079315, 0.02417752705514431, 0.04741190746426582, 0.027127254754304886, -0.09589534252882004, 0.05653395503759384, 0.037953842...
0.091569
endpoints and resources | | {{}}upjet\_resource\_deletion\_seconds{{}} | Measures in seconds how long it takes to delete a resource | | {{}}upjet\_resource\_reconcile\_delay\_seconds{{}} | Measures in seconds how long the reconciles for a resource delay from the configured poll periods | | {{}}upjet\_resource\_ttr{{}} ...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/metrics.md
master
crossplane
[ -0.05714258924126625, 0.009292836301028728, 0.015166865661740303, -0.011064657010138035, 0.024676959961652756, -0.056757330894470215, 0.004517265595495701, -0.09488026052713394, 0.08446190506219864, 0.028790241107344627, -0.004795522894710302, -0.06352326273918152, -0.01803584024310112, 0....
0.097628
This guide shows provider developers how to implement safe-start capability in their Crossplane providers. safe-start enables [disabling unused managed resources]({{}}) through ManagedResourceDefinitions, improving performance and reducing resource overhead. {{}} safe-start requires Crossplane v2.0+ and crossplane-runt...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/implementing-safe-start.md
master
crossplane
[ -0.06246544420719147, -0.05576741322875023, -0.03924621269106865, -0.007885166443884373, 0.06409160792827606, 0.0189759973436594, -0.002307197544723749, 0.04971514642238617, -0.02615075744688511, 0.04793449863791466, 0.01588279940187931, -0.0031295204535126686, 0.06423694640398026, 0.01089...
0.038087
activation policy kubectl apply -f - < \*\*Solution\*\*: check that Crossplane activated MRDs and created CRDs: ```shell kubectl get mrds -o wide kubectl describe mrap ``` ### CRDs don't appear \*\*Cause\*\*: MRDs might not activate or activation policy doesn't match. \*\*Solution\*\*: verify activation policy patterns...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/implementing-safe-start.md
master
crossplane
[ -0.014946026727557182, -0.061039358377456665, 0.06983128935098648, -0.06762709468603134, 0.017914816737174988, -0.004814743995666504, 0.012146863155066967, -0.034466058015823364, 0.01291444431990385, 0.06352590769529343, 0.07319512963294983, -0.10042604058980942, 0.012760213576257229, -0.0...
0.02777
When running Crossplane on managed Kubernetes clusters (EKS, AKS, GKE), you can use Kubernetes Workload Identity to grant Crossplane access to pull packages from private cloud container registries. This allows Crossplane to install providers, functions, and configurations from registries like AWS ECR, Azure ACR, and Go...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/crossplane-with-workload-identity.md
master
crossplane
[ -0.020200690254569054, -0.03662246838212013, 0.06359806656837463, -0.037301335483789444, 0.013491213321685791, 0.024725938215851784, 0.00900284480303526, -0.039836034178733826, 0.02183305099606514, 0.08009665459394455, 0.01981051079928875, -0.13096299767494202, 0.0020064900163561106, -0.05...
0.061563
ECR Once configured, you can install Crossplane packages (Providers, Functions, Configurations) from your ECR registry. Here's an example using a Provider: ```shell kubectl apply -f - < ##### Failed to get authorization token \*\*Error:\*\* ``` failed to get authorization token: AccessDeniedException ``` \*\*Solution:\...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/crossplane-with-workload-identity.md
master
crossplane
[ -0.07124000042676926, -0.01357653085142374, 0.026367871090769768, -0.032884903252124786, 0.013454453088343143, 0.0008097605314105749, 0.004735961556434631, -0.03654671460390091, 0.06006436049938202, 0.03326473757624626, 0.02941281534731388, -0.1656636744737625, 0.03040122427046299, -0.0342...
0.090174
``` #### Install Crossplane with workload identity configuration Get the tenant ID: ```shell export AZURE\_TENANT\_ID=$(az account show --query tenantId --output tsv) ``` Install Crossplane with the workload identity annotations and label: ```shell helm upgrade --install crossplane \ crossplane-stable/crossplane \ --na...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/crossplane-with-workload-identity.md
master
crossplane
[ 0.029405154287815094, 0.02127641998231411, 0.00832768902182579, -0.0025528445839881897, 0.01777500845491886, 0.03982030600309372, 0.10155893117189407, -0.05615587905049324, 0.09313631057739258, 0.08106040209531784, 0.04167909547686577, -0.12811973690986633, 0.011205032467842102, 0.02593457...
0.022031
\ --workload-pool=${PROJECT\_ID}.svc.id.goog ``` #### Create a Google service account Create a Google Cloud service account for Crossplane: ```shell export GSA\_NAME=crossplane-gar-sa gcloud iam service-accounts create $GSA\_NAME \ --display-name="Crossplane Artifact Registry Service Account" \ --project=$PROJECT\_ID `...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/crossplane-with-workload-identity.md
master
crossplane
[ -0.07923892140388489, -0.013646245934069157, 0.03767036274075508, -0.05561885982751846, -0.03113126941025257, -0.030537493526935577, 0.0837240070104599, -0.05147504433989525, 0.038792580366134644, 0.0930493175983429, -0.01714368537068367, -0.12385156750679016, 0.01286074798554182, -0.03389...
-0.055359
## Distributing Crossplane extensions Crossplane provides a packaging specification for extending a Crossplane instance with APIs and business logic for composing resources. Building a Crossplane extension involves creating OCI images in the [xpkg] format. Authors and maintainers of Crossplane extensions must push thei...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/extensions-release-process.md
master
crossplane
[ -0.08733071386814117, -0.057297658175230026, -0.004491517320275307, -0.05675738304853439, 0.050290849059820175, -0.092367023229599, -0.030450675636529922, 0.09526391327381134, -0.04402036592364311, -0.040735598653554916, 0.058317676186561584, -0.11521854251623154, -0.04153952747583389, -0....
0.107801
the workflow in the GitHub UI, targeting the release branch from step 1. The workflow generates a default version string if user input isn't provided. See [branching conventions](#branching-conventions) for more details on tagging practices and optionally overriding the inferred git tag version. ## Common configuration...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/extensions-release-process.md
master
crossplane
[ -0.01826421543955803, -0.04493602737784386, -0.010631533339619637, -0.06189596280455589, -0.0006793340435251594, -0.030320070683956146, 0.0038747419603168964, 0.039659738540649414, 0.06567102670669556, -0.003868733299896121, -0.009447137825191021, 0.022096646949648857, 0.0032690006773918867,...
0.011703
top-level `Makefile`. 2. Referencing GitHub Actions Secrets for authorized credentials to the registry. ### Configure target registry The provider template repository includes a top-level [`Makefile`](https://github.com/crossplane/upjet-provider-template/blob/main/Makefile). Edit the following variables to define the t...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/extensions-release-process.md
master
crossplane
[ -0.09867563098669052, -0.022058328613638878, -0.07726623862981796, -0.056789580732584, 0.02570420503616333, -0.04857012256979942, 0.0178911704570055, 0.00004971208909410052, -0.03245251625776291, -0.03805932775139809, -0.002261311048641801, -0.06664425879716873, -0.02096938155591488, -0.06...
0.024346
{{}} This guide uses [managed resource definitions]({{}}) and [managed resource activation policies]({{}}), which Crossplane v2.0+ enables by default. To disable this behavior, set `--enable-custom-to-managed-resource-conversion=false` when installing Crossplane. {{}} Large Crossplane providers can install 100+ managed...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/disabling-unused-managed-resources.md
master
crossplane
[ 0.005248585715889931, -0.06798875331878662, 0.02072078548371792, 0.0037430322263389826, 0.08811219781637192, 0.04040975868701935, 0.01523479912430048, -0.045735057443380356, -0.006202601827681065, 0.007235036697238684, 0.039816826581954956, -0.10751620680093765, 0.01789115183055401, -0.014...
0.012492
MRDs still exist but consume minimal resources kubectl get mrds \ -o jsonpath='{.items[?(@.spec.state=="Inactive")]..metadata.name}' | wc -w # 197 inactive MRDs (~20 MiB total overhead vs 600 MiB for active CRDs) # Check total MRDs (active + inactive) kubectl get mrds | wc -l # 200 total MRDs (3 active, 197 inactive) `...
https://github.com/crossplane/docs/blob/master/content/v2.1/guides/disabling-unused-managed-resources.md
master
crossplane
[ -0.04732721671462059, -0.044672299176454544, 0.006249949336051941, 0.04311204329133034, -0.0073760864324867725, -0.03352019935846329, -0.06074593588709831, -0.011702263727784157, 0.02712923288345337, 0.023376060649752617, 0.029367806389927864, 0.0000023764480374666164, 0.02221699059009552, ...
0.064808
Providers enable Crossplane to provision infrastructure on an external service. Providers create new Kubernetes APIs and map them to external APIs. Providers are responsible for all aspects of connecting to non-Kubernetes resources. This includes authentication, making external API calls and providing [Kubernetes Contr...
https://github.com/crossplane/docs/blob/master/content/v2.1/packages/providers.md
master
crossplane
[ -0.07265283912420273, -0.04149974137544632, 0.012534606270492077, -0.013402250595390797, -0.016640592366456985, 0.041328947991132736, 0.06423566490411758, -0.04152706637978554, 0.05358371138572693, 0.08663826435804367, -0.013959073461592197, -0.05302679166197777, 0.018380584195256233, 0.02...
0.11405
`Active`. Control the Provider upgrade behavior with a {{}}revisionActivationPolicy{{}}. The {{}}revisionActivationPolicy{{}} options are: \* `Automatic` - (\*\*default\*\*) Automatically activate the last installed Provider. \* `Manual` - Don't automatically activate a Provider. For example, to change the upgrade beha...
https://github.com/crossplane/docs/blob/master/content/v2.1/packages/providers.md
master
crossplane
[ -0.07927083224058151, -0.013483718037605286, 0.010330880992114544, -0.029143700376152992, 0.04393963888287544, -0.00889253057539463, 0.025816824287176132, -0.07213593274354935, 0.0444573275744915, 0.07555712014436722, 0.08322274684906006, -0.008306210860610008, -0.03194078430533409, -0.060...
-0.017182
data if downgraded CRD versions omit fields that you set before. 3) Changes in the CRD storage version, which may prevent package version update. {{}} #### Ignore Crossplane version requirements A Provider package may require a specific or minimum Crossplane version before installing. By default, Crossplane doesn't ins...
https://github.com/crossplane/docs/blob/master/content/v2.1/packages/providers.md
master
crossplane
[ -0.05632438883185387, -0.015095226466655731, 0.045151904225349426, -0.07613734900951385, 0.08169734477996826, -0.004484105855226517, -0.03812143951654434, -0.04735661298036575, 0.0037213482428342104, 0.024881772696971893, 0.051736850291490555, -0.051822129637002945, -0.028134586289525032, ...
-0.085134
for use the `HEALTHY` status reports `True`. ```shell {copy-lines="1"} kubectl get providers NAME INSTALLED HEALTHY PACKAGE AGE crossplane-contrib-provider-aws-s3 True True xpkg.crossplane.io/crossplane-contrib/provider-aws-s3:v2.0.0 88s ``` {{}} Some Providers install hundreds of Kubernetes Custom Resource Definitions...
https://github.com/crossplane/docs/blob/master/content/v2.1/packages/providers.md
master
crossplane
[ -0.04442758113145828, 0.004688403569161892, 0.0012221884680911899, -0.03333734720945358, 0.006037942599505186, -0.027177302166819572, -0.04353358969092369, 0.015287920832633972, 0.03195035457611084, 0.05551838129758835, 0.03188107907772064, -0.10666998475790024, 0.021926000714302063, -0.07...
0.053895
name: provider-gcp-iam spec: package: xpkg.crossplane.io/crossplane-contrib/provider-gcp-iam:v2.0.0 runtimeConfigRef: name: enable-ess --- apiVersion: pkg.crossplane.io/v1beta1 kind: DeploymentRuntimeConfig metadata: name: enable-ess spec: deploymentTemplate: spec: selector: {} template: spec: containers: - name: packa...
https://github.com/crossplane/docs/blob/master/content/v2.1/packages/providers.md
master
crossplane
[ -0.06866081058979034, -0.014711856842041016, 0.04229811951518059, -0.02301003411412239, 0.03582846373319626, -0.01929098553955555, 0.037825994193553925, 0.0008335454622283578, -0.034762244671583176, 0.025626318529248238, 0.04929647967219353, -0.07351794838905334, -0.012522735632956028, -0....
0.120531
common mistake is configuring the same service account for multiple packages in this way which ends up causing frequent reconciliation loops and loads on the API server. If you just want to use an existing service account, you should instead only set the `deploymentTemplate.spec.template.spec.serviceAccountName` field....
https://github.com/crossplane/docs/blob/master/content/v2.1/packages/providers.md
master
crossplane
[ -0.06656184047460556, -0.02940695732831955, 0.04779787361621857, -0.057964686304330826, -0.035092130303382874, -0.007750011049211025, 0.08303233236074448, -0.003974044229835272, 0.04983634501695633, 0.07053086161613464, 0.02154010534286499, -0.11102637648582458, -0.002542321104556322, -0.0...
-0.025022