content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
branch
large_stringclasses
4 values
source
large_stringclasses
50 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
constructs the repository for the built Configuration from `spec.repository` in `crossplane-project.yaml`. Override it for a single build with `--repository`. {{}} The repository influences the function names used for embedded function references in compositions. You must specify the same repository when building and p...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.03788765147328377, -0.08249408006668091, -0.005913270637392998, -0.03447785973548889, -0.005653281230479479, -0.03152112662792206, 0.0038735494017601013, 0.05808054655790329, -0.0025352449156343937, 0.02258126251399517, 0.019188590347766876, -0.11996898055076599, -0.01933860406279564, -...
0.010549
Push using an explicit tag: ```shell crossplane project push --tag=v1.2.3 ``` Push to a different repository than the one in the project file: ```shell crossplane project push --repository=xpkg.crossplane.io/my-org/my-project --tag=v1.2.3 ``` #### Usage ``` crossplane project push [flags] ``` #### Flags {{< table "tabl...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.004277687519788742, -0.08302921056747437, -0.04730914160609245, -0.036013323813676834, 0.022175733000040054, -0.050773993134498596, -0.0023190591018646955, 0.05110853165388107, -0.009806063957512379, 0.0489412285387516, 0.08562304824590683, -0.11872395128011703, -0.015228763222694397, -...
-0.040953
stop [BETA] Tear down a local dev control plane. {{}} Beta features may change in a future release. {{< /hint >}} The `project stop` command tears down the local development control plane created by `crossplane project run`. It removes both the KIND cluster and the local OCI registry. When run from a project directory,...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ 0.00547489570453763, -0.014826209284365177, -0.02586764097213745, -0.005214422009885311, 0.07903853058815002, -0.0652441754937172, 0.026434943079948425, -0.0063750301487743855, -0.044297683984041214, 0.05449928343296051, 0.02259339764714241, -0.004856966435909271, -0.07737292349338531, -0....
0.094477
my-res -n my-ns ``` Trace all `MyKind` resources in the namespace `my-ns`: ```shell crossplane resource trace mykind -n my-ns ``` Wide format with full errors, condition messages, and kind-specific columns: ```shell crossplane resource trace mykind my-res -n my-ns -o wide ``` Show connection secret names alongside the ...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.04768509417772293, 0.021123729646205902, -0.012864779680967331, 0.020565923303365707, 0.01489280629903078, -0.0824136883020401, 0.05967433378100395, 0.030137183144688606, -0.0065117813646793365, 0.07507003843784332, -0.048634279519319534, -0.11424581706523895, 0.07459317892789841, 0.023...
0.058902
xpkg.crossplane.io/crossplane-contrib/provider-aws-iam:v2.0.0 ``` Provide a managed resource to validate: ```yaml apiVersion: iam.aws.m.upbound.io/v1beta1 kind: AccessKey metadata: namespace: default name: sample-access-key-0 spec: forProvider: userSelector: matchLabels: example-name: test-user-0 ``` Run validate with ...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.03820705786347389, -0.02464456483721733, -0.008531687781214714, -0.04868176206946373, 0.05378301441669464, -0.06160387769341469, -0.008128907531499863, -0.012107006274163723, 0.017537495121359825, 0.025402935221791267, 0.036015648394823074, -0.1532130390405655, 0.04349718615412712, -0.0...
-0.005059
{{< /table >}} ## crossplane xpkg Work with Crossplane packages. Crossplane packages, called \*xpkgs\*, allow you to add capabilities to your Crossplane installation. Crossplane supports Configuration, Provider, and Function packages. A package is an opinionated OCI image that contains everything needed to extend a Cro...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.060279347002506256, -0.04060044139623642, -0.08170270919799805, -0.021907219663262367, 0.006309471093118191, -0.025773514062166214, 0.018763462081551552, 0.04075181856751442, -0.11707047373056412, 0.031123308464884758, 0.06377999484539032, -0.1294160932302475, 0.006454436108469963, -0.0...
0.02551
the service name for the corresponding provider before the service-scoped name. Examples: provider-family-aws-suffix, provider-aws-suffix-s3 | {{< /table >}} ### crossplane xpkg build Build a new package. The `xpkg build` command builds a package file from a local directory of files. The CLI combines a directory of YAM...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.08585643768310547, -0.012167834676802158, 0.023617122322320938, -0.09328862279653549, 0.039068058133125305, -0.05635634809732437, 0.03933067247271538, -0.011585481464862823, 0.05845963582396507, -0.049543701112270355, 0.05234488472342491, -0.12248588353395462, 0.02873147279024124, -0.06...
0.069859
local xpkg file. If package isn't specified, implies the only one in the current directory. | | `-o` | `--output="out.gz"` | Package output file. Extension must be .gz. | {{< /table >}} ### crossplane xpkg init Initialize a new package from a template. The `xpkg init` command initializes a directory that you can use to...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.05509409308433533, 0.0025811558589339256, -0.031869638711214066, -0.006382720544934273, 0.03269502520561218, -0.0618492029607296, -0.025375165045261383, 0.12529534101486206, -0.0922587513923645, -0.010196401737630367, 0.05325756594538689, -0.010797536931931973, -0.011646818369626999, -0...
-0.046758
list of Kubernetes Secret names. {{}} The secrets must be in the same namespace as the Crossplane pod. {{< /hint >}} #### Customize the number of stored package revisions By default Crossplane keeps only the active revision and one inactive revision in the local package cache. Increase the number of stored revisions wi...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.020915020257234573, 0.02696046605706215, 0.05275004357099533, -0.02230963110923767, 0.0166843943297863, -0.008103682659566402, -0.02092638611793518, -0.02644329145550728, 0.08867589384317398, 0.08052542060613632, 0.03957431763410568, -0.11533359438180923, -0.05022931843996048, -0.106282...
0.031899
a Crossplane control plane. It uses `~/.kube/config` to connect to the control plane; override the path with the `KUBECONFIG` environment variable. Specify the package kind, a new fully qualified package OCI reference, and optionally the name of the package already installed in Crossplane: ```shell crossplane xpkg upda...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ -0.05365383252501488, -0.019013365730643272, -0.04302180930972099, -0.07914585620164871, -0.010037590749561787, -0.0340527780354023, 0.0016229850007221103, 0.028994398191571236, 0.008529248647391796, 0.04591812938451767, 0.030604355037212372, -0.113821841776371, -0.0253863837569952, -0.123...
0.091096
an example Composite Resource (XR) or a SimpleSchema document, and writes it into the project's APIs directory. XR is the default input format; pass `--from simpleschema` to generate an XRD from a SimpleSchema definition instead. #### Examples Generate an XRD from an example Composite Resource (XR) and save it under th...
https://github.com/crossplane/docs/blob/master/content/master/cli/command-reference.md
master
crossplane
[ 0.010159366764128208, -0.03723122179508209, -0.05473565310239792, 0.0036620371975004673, -0.024814261123538017, 0.00943598523736, -0.06324391812086105, 0.02504390850663185, 0.06296508014202118, 0.015532366000115871, 0.006704568862915039, -0.10726172477006912, 0.0820518210530281, -0.0224040...
0.05348
The Crossplane CLI helps simplify some development and administration aspects of Crossplane. The Crossplane CLI includes: \* tools to build, install, update and push Crossplane Packages \* standalone Composition Function testing and rendering without the need to access a Kubernetes cluster running Crossplane \* trouble...
https://github.com/crossplane/docs/blob/master/content/master/cli/_index.md
master
crossplane
[ -0.016838980838656425, -0.08207759261131287, 0.05484822019934654, -0.06389401853084564, 0.005598542280495167, -0.022273676469922066, -0.06476277858018875, -0.01249739807099104, 0.029427895322442055, 0.016751807183027267, 0.00022300201817415655, -0.12075874954462051, -0.12123233824968338, -...
0.132342
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/master/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/master/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/master/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/master/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/master/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/master/composition/compositions.md
master
crossplane
[ -0.0347551666200161, -0.08205649256706238, -0.047102246433496475, 0.013063834048807621, 0.015767814591526985, -0.007283475715667009, -0.03758972883224487, -0.01910388469696045, 0.013540885411202908, -0.004881497472524643, -0.008156226016581059, -0.11790650337934494, -0.012449007481336594, ...
-0.016565
values `Always`, `Never`, and `IfNotPresent`. \* `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). {{}} Th...
https://github.com/crossplane/docs/blob/master/content/master/composition/compositions.md
master
crossplane
[ -0.01382643822580576, -0.028836380690336227, -0.011536120437085629, -0.07468231767416, 0.08148080110549927, -0.04073546081781387, -0.021742796525359154, -0.027315301820635796, 0.03481469675898552, 0.0002789753198157996, 0.0022443635389208794, -0.1335780918598175, -0.07363978028297424, -0.0...
-0.013975
RPCs in the [Buf Schema Registry](https://buf.build/crossplane/crossplane/docs/main:apiextensions.fn.proto.v1beta1). {{}} When Crossplane calls a function the first time it includes four important things in the RunFunctionRequest. 1. The \_\_observed state\_\_ of the composite resource, and any composed resources. 1. T...
https://github.com/crossplane/docs/blob/master/content/master/composition/compositions.md
master
crossplane
[ -0.017944801598787308, -0.07655803114175797, -0.03693452104926109, -0.02362351305782795, 0.04048709571361542, 0.003326637437567115, -0.02663552388548851, 0.004129801411181688, -0.06692900508642197, -0.010197148658335209, -0.04606950655579567, -0.0939994677901268, -0.0445549413561821, -0.01...
0.090568
any composed resource. \* The connection details of any composed resource. A pipeline of functions \_accumulates\_ desired state. This means that each function builds upon the desired state of previous functions in the pipeline. Crossplane sends a function the desired state accumulated by all previous functions in the ...
https://github.com/crossplane/docs/blob/master/content/master/composition/compositions.md
master
crossplane
[ -0.09975387156009674, -0.08500029146671295, -0.015999553725123405, -0.02846982143819332, 0.01087860856205225, -0.0021714307367801666, 0.02764965407550335, -0.025715133175253868, 0.06940840184688568, 0.024525590240955353, -0.002334128599613905, -0.044127993285655975, -0.06299129873514175, -...
0.125025
cluster state. Functions can receive required resources in two ways: #### Bootstrap requirements You can provide required resources in the Composition pipeline step. This approach performs better than requesting resources during function runtime: ```yaml apiVersion: apiextensions.crossplane.io/v1 kind: Composition meta...
https://github.com/crossplane/docs/blob/master/content/master/composition/compositions.md
master
crossplane
[ -0.008473356254398823, -0.06785780936479568, -0.012670627795159817, 0.021252164617180824, 0.02690480835735798, -0.025881098583340645, -0.030714483931660652, 0.008430412970483303, -0.04484878480434418, -0.027033517137169838, -0.0363445021212101, -0.11182641983032227, 0.02598624862730503, 0....
0.113629
the cluster and calls the function again with `required\_schemas` populated on the RunFunctionRequest. 3. If a schema isn't found (for example, the kind doesn't exist), Crossplane sets that map entry to an empty `Schema` message so the function can distinguish "Crossplane tried but found nothing" from "not processed ye...
https://github.com/crossplane/docs/blob/master/content/master/composition/compositions.md
master
crossplane
[ -0.0005922236596234143, -0.06331276893615723, 0.04690626263618469, 0.018320616334676743, 0.046344153583049774, 0.0016230223700404167, -0.0836920440196991, -0.02625703066587448, -0.009107908234000206, 0.00870661810040474, 0.018356328830122948, -0.14693862199783325, -0.026491543278098106, -0...
0.070102
- Reusing cached responses for identical requests until they expire This feature helps functions that: - Perform expensive computations or external API calls - Return stable results for the same inputs - Include appropriate TTL values in their responses #### Cache configuration Control the cache behavior with these Cro...
https://github.com/crossplane/docs/blob/master/content/master/composition/compositions.md
master
crossplane
[ -0.02172771655023098, -0.07557133585214615, -0.004007877316325903, 0.013405385427176952, -0.04311743378639221, -0.08544417470693588, -0.021950189024209976, -0.0036648039240390062, 0.08828239142894745, -0.003179417457431555, 0.012218871153891087, 0.05002066120505333, -0.10377104580402374, -...
0.085847
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/master/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/master/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/master/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/master/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/master/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
```shell {label="complabel",copy-lines="1"} kubectl describe mydatabase.example.org/my-database-x9rx9 Name: my-database2-x9rx9 Namespace: default Labels: crossplane.io/composite=my-database-x9rx9 ```
https://github.com/crossplane/docs/blob/master/content/master/composition/composite-resources.md
master
crossplane
[ 0.0803685337305069, -0.038875844329595566, -0.014935502782464027, -0.05054473504424095, -0.10515794157981873, 0.03508400917053223, 0.02898065373301506, 0.04771837219595909, 0.04663202539086342, -0.01562017947435379, 0.00023264055198524147, -0.15310464799404144, 0.050936099141836166, -0.073...
0.067087
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/master/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/master/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/master/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
automatically using the new revision. The default value is `defaultCompositionUpdatePolicy: Automatic`. Set {{}}defaultCompositionUpdatePolicy: Manual{{}} to set the default Composition update policy for composite resources and using this XRD. ```yaml {label="compRev",copy-lines="none"} apiVersion: apiextensions.crossp...
https://github.com/crossplane/docs/blob/master/content/master/composition/composite-resource-definitions.md
master
crossplane
[ 0.017366141080856323, -0.03191579878330231, 0.03681950271129608, -0.015905002132058144, -0.007317207753658295, 0.018952136859297752, -0.06380178034305573, -0.01902816817164421, -0.04978666082024574, 0.07033145427703857, 0.023989403620362282, -0.024983040988445282, 0.025942107662558556, -0....
-0.026464
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/master/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/master/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/master/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/master/operations/watchoperation.md
master
crossplane
[ -0.10590744763612747, 0.042568739503622055, -0.030981309711933136, 0.11812760680913925, -0.09459248185157776, -0.010447737760841846, 0.02217734046280384, 0.013740786351263523, -0.008004837669432163, 0.04247439652681351, 0.04651576280593872, -0.06740086525678635, 0.0037136790342628956, 0.05...
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/master/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/master/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/master/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/master/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/master/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/master/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
operation, composition functions, and any required resources to render the output locally. ```shell crossplane operation render operation.yaml functions.yaml --required-resources=ingress.yaml ``` `crossplane operation render` prints the Operation status and any resources the operation functions created or modified. It ...
https://github.com/crossplane/docs/blob/master/content/master/operations/operation.md
master
crossplane
[ -0.014629504643380642, -0.004089944064617157, 0.02912512607872486, 0.003408318618312478, 0.04177415370941162, -0.09496927261352539, -0.018888944759964943, -0.07756293565034866, 0.05247486010193825, 0.03546159714460373, 0.029201459139585495, -0.10387296974658966, -0.0026892933528870344, -0....
0.122927
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/master/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/master/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/master/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/master/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/master/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
"metadata": { "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-buck...
https://github.com/crossplane/docs/blob/master/content/master/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.03148801624774933, 0.06665414571762085, -0.017930738627910614, -0.0108636524528265, 0.044530510902404785, -0.00008556633838452399, -0.006908698007464409, 0.03322134539484978, 0.03103994019329548, 0.010513640940189362, -0.05242980271577835, -0.11420658975839615, -0.025648053735494614, 0....
-0.003516
the desired resources the function returns. ```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/exter...
https://github.com/crossplane/docs/blob/master/content/master/guides/write-a-composition-function-in-go.md
master
crossplane
[ -0.04593144729733467, -0.024926267564296722, -0.028123460710048676, -0.045935530215501785, 0.10500437766313553, -0.009360179305076599, 0.021406074985861778, -0.034608758985996246, 0.05469077453017235, 0.04467407613992691, -0.016238071024417877, -0.13230259716510773, 0.02713303081691265, -0...
-0.028437
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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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
CPU resources Crossplane uses, but increases the amount of time until changed resources are fully synced. Increasing the `--max-reconcile-rate`, or making it larger, increases the CPU resources Crossplane uses but allows Crossplane to reconcile all resources faster. {{< hint "important" >}} Most Providers use their own...
https://github.com/crossplane/docs/blob/master/content/master/guides/pods.md
master
crossplane
[ -0.042003098875284195, -0.0798795074224472, 0.057837337255477905, -0.008012864738702774, 0.02539292350411415, -0.015337989665567875, -0.024113114923238754, -0.06041278317570686, 0.12467310577630997, 0.046363718807697296, -0.04272402077913284, -0.03378083556890488, -0.09367027878761292, -0....
0.167158
Crossplane types \* full access to all secrets and namespaces (even those unrelated to Crossplane) \* read-only access to all cluster RBAC roles, CustomResourceDefinitions and events \* ability to bind RBAC roles to other entities. View the full RBAC policy with ```shell kubectl describe clusterrole crossplane-admin ``...
https://github.com/crossplane/docs/blob/master/content/master/guides/pods.md
master
crossplane
[ 0.003993659280240536, -0.11652137339115143, -0.05751955881714821, 0.02168191969394684, -0.027538614347577095, 0.05157751590013504, 0.04788874089717865, -0.04965228587388992, 0.04256584495306015, 0.04665394499897957, -0.014422480948269367, -0.09540466964244843, -0.029744448140263557, -0.036...
0.15841
[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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/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/master/guides/install-from-source.md
master
crossplane
[ 0.045986153185367584, -0.01851152628660202, 0.02881905809044838, -0.06341653317213058, 0.06199449300765991, 0.004125615116208792, -0.021930625662207603, 0.040829747915267944, 0.021842973306775093, 0.0514247752726078, -0.03828958421945572, -0.13413311541080475, -0.03136672452092171, -0.0843...
0.070046
run .#push-images -- ${REGISTRY}/crossplane ``` {{< hint "note" >}} If your host Docker uses a credential helper (for example Docker Desktop on macOS), the helper isn't available on the sandboxed `PATH` used by `nix run .#push-images`. Bypass the helper for the login and push by writing auth directly to a temporary Doc...
https://github.com/crossplane/docs/blob/master/content/master/guides/install-from-source.md
master
crossplane
[ 0.05515336990356445, 0.005564509890973568, 0.04194454848766327, -0.06801582872867584, 0.06737302243709564, -0.03302542120218277, -0.04286788031458855, 0.08151199668645859, -0.0018986233044415712, 0.03456025570631027, -0.000516875647008419, -0.12422379851341248, 0.01631961762905121, 0.02658...
0.048235
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/master/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/master/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/master/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/master/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/master/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
need 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 composition render` with these...
https://github.com/crossplane/docs/blob/master/content/master/guides/write-a-composition-function-in-python.md
master
crossplane
[ -0.01717044599354267, -0.030568771064281464, 0.009929899126291275, -0.03439752012491226, 0.019058436155319214, -0.014033203013241291, -0.053355541080236435, 0.0054718186147511005, 0.03739563748240471, 0.034651730209589005, -0.01781759224832058, -0.0988151878118515, 0.012527821585536003, -0...
-0.063575
to build a runtime for each 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:cb015ceabf46d2a...
https://github.com/crossplane/docs/blob/master/content/master/guides/write-a-composition-function-in-python.md
master
crossplane
[ 0.03582698106765747, 0.05237356573343277, -0.027928564697504044, -0.050426267087459564, 0.060099322348833084, -0.08421237766742706, -0.05764957517385483, 0.04501925781369209, 0.007106997538357973, -0.03505080193281174, -0.039621006697416306, -0.13194337487220764, 0.01565953716635704, -0.02...
-0.039345
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/master/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/master/guides/metrics.md
master
crossplane
[ -0.026242852210998535, 0.04196397587656975, 0.041223056614398956, 0.0622895210981369, 0.05438249558210373, -0.028381794691085815, 0.04159217327833176, 0.06447189301252365, 0.020245764404535294, 0.045846614986658096, 0.036304835230112076, -0.09915611147880554, 0.06005530431866646, 0.0362601...
0.084274
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/master/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/master/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/master/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