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
the managed resource to combine. Optionally you can apply a `string.fmt`, based on [Go string formatting](https://pkg.go.dev/fmt) to specify how to combine the strings. The `toFieldPath` is the key in the environment to write the new string to. ```yaml {label="combineToEnv",copy-lines="none"} apiVersion: pt.fn.crosspla...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ 0.046630799770355225, 0.0031605330295860767, -0.03504535183310509, 0.005458583123981953, 0.011099846102297306, 0.010626960545778275, 0.010295866057276726, -0.013599264435470104, 0.025867952033877373, 0.05268396809697151, 0.007311797235161066, -0.024746866896748543, 0.024963119998574257, -0...
-0.041837
booleans to numbers Crossplane converts the boolean value `True` to the integer `1` or float64 `1.0`. The value `False` converts to the integer `0` or float64 `0.0` #### Converting strings to float64 When converting from a `string` to a `float64` Crossplane supports an optional `format: quantity` field. Using `format: ...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ 0.01737803965806961, 0.09083033353090286, -0.024249257519841194, -0.023753874003887177, -0.06553986668586731, 0.0166354700922966, 0.027001896873116493, 0.03709927946329117, 0.05216367915272713, 0.010290667414665222, 0.0503542423248291, -0.09225065261125565, -0.0410849004983902, 0.037254758...
0.02035
Match an exact string Use a `pattern` with `type: literal` to match an exact string. On a successful match Crossplane provides the `result:` to the patch `toFieldPath`. ```yaml {label="matchLiteral"} patches: - type: FromCompositeFieldPath fromFieldPath: spec.field1 toFieldPath: metadata.annotations["myAnnotation"] tra...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ -0.036701932549476624, 0.04220922291278839, 0.04749806225299835, -0.03563474118709564, 0.01149424072355032, 0.05352603644132614, 0.07363125681877136, -0.009989146143198013, 0.03524536266922951, 0.030771205201745033, -0.038165003061294556, -0.10539086908102036, -0.05655859783291817, 0.01145...
0.058214
the input based on one of the following conversion types: \* `ToUpper` - Change the string to all upper case letters. \* `ToLower` - Change the string to all lower case letters. \* `ToBase64` - Create a new base64 string from the input. \* `FromBase64` - Create a new text string from a base64 input. \* `ToJson` - Conve...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ -0.003198981285095215, 0.0275536198168993, -0.04467952996492386, -0.06484594196081161, -0.018828999251127243, 0.038578689098358154, -0.011382817290723324, 0.008946843445301056, -0.00921250507235527, -0.04040798917412758, -0.01572754979133606, -0.01542277168482542, 0.03698459640145302, 0.04...
0.021521
--- | | `Replace` (default) | Replace the value at `toFieldPath`. | | `MergeObjects` | Recursively merge into the value at `toFieldPath`. Keep any conflicting object keys. | | `ForceMergeObjects` | Recursively merge into the value at `toFieldPath`. Replace any conflicting object keys. | | `MergeObjectsAppendArrays` | L...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ 0.017079461365938187, 0.009730511344969273, -0.004815300926566124, 0.028105372563004494, -0.045672494918107986, 0.03055533394217491, 0.015629582107067108, -0.01757417991757393, -0.02240835316479206, 0.0680801272392273, -0.006005743518471718, -0.073629230260849, -0.017378881573677063, -0.00...
0.029298
it to be `Ready`. {{< /hint >}} Define a custom readiness check with the `readinessChecks` field on a resource. Checks have a `type` defining how to match the resource and a `fieldPath` of which field in the resource to compare. ```yaml {label="check",copy-lines="none"} apiVersion: pt.fn.crossplane.io/v1beta1 kind: Res...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ -0.0009893130045384169, 0.017064042389392853, -0.014692729339003563, 0.007820856757462025, 0.023909037932753563, -0.015032239258289337, 0.031445495784282684, -0.010198353789746761, 0.029545150697231293, 0.013450081460177898, -0.05418655276298523, -0.09246771037578583, -0.029504071921110153, ...
0.125916
with the value `false`. For example, consider `my-resource`, is ready if ` status.atProvider.manifest.status.pending` is `false`. ```yaml {label="matchFalse",copy-lines="none"} apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - name: my-resource base: # Removed for brevity readinessChecks: - type: Mat...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/function-patch-and-transform.md
master
crossplane
[ -0.041857101023197174, 0.07132560759782791, 0.012549514882266521, 0.018479816615581512, 0.07453126460313797, -0.03231990337371826, 0.024338502436876297, -0.04013067111372948, 0.050922926515340805, 0.019198516383767128, -0.0009040403529070318, -0.06732747703790665, -0.04111693799495697, 0.0...
0.100605
This guide describes how to use Crossplane effectively in multi-tenant environments by utilizing Kubernetes primitives and compatible policy enforcement projects in the cloud native ecosystem. ## Summary Infrastructure operators in multi-tenant Crossplane environments typically utilize composition and Kubernetes RBAC t...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/multi-tenant.md
master
crossplane
[ 0.03441789001226425, -0.08879350125789642, 0.034643422812223434, -0.051166635006666183, -0.0035127284936606884, 0.010122985579073429, 0.008530107326805592, -0.08916071057319641, 0.04042285308241844, 0.06015200912952423, -0.05065571144223213, -0.09871947020292282, 0.0026695486158132553, 0.0...
0.10218
xmysqlinstances.example.org spec: group: example.org names: kind: XMySQLInstance plural: xmysqlinstances claimNames: kind: MySQLInstance plural: mysqlinstances ... ``` When the example above is created, Crossplane will produce two [CustomResourceDefinitions]: 1. A cluster-scoped type with `kind: XMySQLInstance`. This i...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/multi-tenant.md
master
crossplane
[ -0.026366230100393295, -0.08697978407144547, -0.021168692037463188, 0.013409788720309734, -0.01793183758854866, -0.022608479484915733, 0.07660636305809021, 0.002822308102622628, -0.03500914201140404, -0.020172612741589546, 0.013956886716187, -0.08447012305259705, 0.13527977466583252, 0.032...
0.123842
to create and manage `MySQLInstances` in their given namespace, but not the ability to see those defined in other namespaces. Furthermore, because the `metadata.namespace` is a field on the XRC, patching can be utilized to configure managed resources based on the namespace in which the corresponding XRC was defined. Th...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/multi-tenant.md
master
crossplane
[ -0.045027296990156174, -0.0712774321436882, -0.053319428116083145, -0.0009983440395444632, -0.030431026592850685, -0.04278885945677757, 0.08067884296178818, -0.02952134981751442, 0.016897650435566902, 0.024741962552070618, 0.0027477992698550224, -0.12080637365579605, 0.21092794835567474, 0...
-0.010889
the multi-cluster multi-tenancy model one step further, some organizations opt to manage their many Crossplane clusters using a single central Crossplane control plane. This requires setting up the central cluster, then using a provider to spin up new clusters (such as an [EKS Cluster] using [provider-aws]), then using...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/multi-tenant.md
master
crossplane
[ 0.02539188787341118, -0.05779791995882988, -0.014924303628504276, -0.0038254475221037865, -0.007095032371580601, 0.02014150284230709, -0.021183399483561516, -0.045735955238342285, 0.06659204512834549, 0.10697057098150253, 0.023491883650422096, -0.05504167824983597, 0.04371457174420357, -0....
0.081845
> This guide is adapted from the [Vault on Minikube] and [Vault Kubernetes > Sidecar] guides. Most Crossplane providers support supplying credentials from at least the following sources: - Kubernetes Secret - Environment Variable - Filesystem A provider may optionally support additional credentials sources, but the com...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-injection.md
master
crossplane
[ -0.02682560123503208, -0.0013881155755370855, -0.01783962920308113, -0.0256254430860281, -0.04723288118839264, 0.06339307129383087, -0.011649873107671738, 0.026425350457429886, 0.0504678376019001, 0.04490163177251816, -0.005160928703844547, -0.03603155538439751, 0.04747285321354866, -0.042...
-0.032992
ROLE="roles/cloudsql.admin" gcloud projects add-iam-policy-binding --role="$ROLE" $PROJECT\_ID --member "serviceAccount:$SA" # create service account keyfile gcloud iam service-accounts keys create creds.json --project $PROJECT\_ID --iam-account $SA ``` You should now have valid service account credentials in `creds.js...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-injection.md
master
crossplane
[ -0.003193225711584091, 0.021455122157931328, -0.06723548471927643, -0.05601415038108826, -0.0695086345076561, 0.04871056601405144, -0.009224253706634045, 0.025855213403701782, 0.06997666507959366, 0.027810966596007347, -0.0182028878480196, -0.10836079716682434, 0.0879247635602951, 0.005914...
-0.089765
to install `provider-gcp`. Crossplane provides a `ControllerConfig` type that allows you to customize the deployment of a provider's controller `Pod`. A `ControllerConfig` can be created and referenced by any number of `Provider` objects that wish to use its configuration. In the example below, the `Pod` annotations in...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-injection.md
master
crossplane
[ -0.05350695922970772, -0.003992635291069746, -0.0034667893778532743, -0.045123130083084106, 0.007524721324443817, -0.00807558000087738, 0.014162852428853512, 0.0303304772824049, -0.02234184928238392, 0.04727967455983162, 0.06351448595523834, -0.06962341070175171, -0.007274991367012262, -0....
-0.031711
filesystem that should be used to provision managed resources that reference this `ProviderConfig`. Because the name of this `ProviderConfig` is `default` it will be used by any managed resources that don't explicitly reference a `ProviderConfig`. ```console echo "apiVersion: aws.crossplane.io/v1beta1 kind: ProviderCon...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-injection.md
master
crossplane
[ 0.0029450070578604937, 0.022213414311408997, -0.04188200831413269, -0.01566976122558117, 0.016450785100460052, -0.019570032134652138, 0.024675879627466202, 0.006914992351084948, 0.07234911620616913, 0.07624447345733643, -0.010924327187240124, -0.1324964314699173, 0.04169993847608566, -0.01...
0.022079
[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 of your resources. Configuration details are required in order for the two to work together properly. Th...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/crossplane-with-argo-cd.md
master
crossplane
[ -0.03729047626256943, -0.07519084960222244, -0.04530001059174538, 0.007972462102770805, -0.038680773228406906, 0.009049545973539352, 0.07453171908855438, -0.026816323399543762, 0.025218401104211807, 0.09339586645364761, -0.046027977019548416, -0.03949859365820885, -0.07643307000398636, -0....
0.20259
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/v1.20/guides/crossplane-with-argo-cd.md
master
crossplane
[ -0.013576003722846508, 0.056034501641988754, 0.03415460139513016, 0.07629835605621338, -0.01367679052054882, -0.038617704063653946, 0.08678150177001953, -0.035475827753543854, -0.036779891699552536, 0.01676185242831707, 0.05499175563454628, -0.05734381452202797, 0.021170947700738907, -0.03...
0.045355
This guide walks through the steps required to configure Crossplane and its Providers to use [Vault] as an [External Secret Store] (`ESS`) with [ESS Plugin Vault]. {{}} External Secret Stores are an alpha feature. They're not recommended for production use. Crossplane disables External Secret Stores by default. {{< /hi...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-as-secret-store.md
master
crossplane
[ -0.020894110202789307, -0.02670460380613804, -0.05866521596908569, -0.0515001155436039, 0.028651650995016098, -0.013227460905909538, -0.03328518941998482, 0.00571605795994401, 0.02460954338312149, 0.033677954226732254, 0.021693695336580276, -0.05071927234530449, 0.02053905837237835, 0.0143...
-0.000948
policy for Crossplane Create the Vault policy to allow Crossplane to read and write data from Vault. ```shell {copy-lines="1-8"} kubectl -n vault-system exec -i vault-0 -- vault policy write crossplane - <}} Crossplane v1.12 introduced the plugin support. Make sure your version of Crossplane supports plugins. {{< /hint...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-as-secret-store.md
master
crossplane
[ 0.006424502469599247, 0.0027470714412629604, 0.000803030445240438, -0.08392056077718735, -0.0236494317650795, -0.013206962496042252, -0.05792646110057831, 0.015702510252594948, 0.05826033279299736, 0.050034407526254654, 0.04738369956612587, -0.07425066083669662, -0.005958287976682186, -0.0...
0.013363
Pipeline pipeline: - step: patch-and-transform functionRef: name: function-patch-and-transform input: apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - name: serviceaccount base: apiVersion: iam.gcp.crossplane.io/v1alpha1 kind: ServiceAccount metadata: name: ess-test-sa spec: forProvider: displayName...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-as-secret-store.md
master
crossplane
[ -0.05110011249780655, -0.053140781819820404, 0.0038976578507572412, -0.05846993997693062, 0.01814049482345581, -0.0611945278942585, -0.026259688660502434, 0.0012522045290097594, -0.009042556397616863, 0.08148182928562164, -0.021218081936240196, -0.10116949677467346, -0.031008316203951836, ...
0.121958
https://github.com/crossplane-contrib/ess-plugin-vault
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/vault-as-secret-store.md
master
crossplane
[ -0.08073599636554718, -0.040903571993112564, -0.07885602116584778, -0.050921108573675156, 0.04726695269346237, -0.05463526397943497, -0.035884615033864975, 0.025825900956988335, -0.0003849620698019862, 0.024281149730086327, 0.04823615401983261, 0.015660278499126434, 0.0037830492947250605, ...
0.153039
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. Crossplane can import resources either [manually]({{}}) or [automatical...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/import-existing-resources.md
master
crossplane
[ -0.09250533580780029, -0.11547990143299103, 0.002856404520571232, 0.023029303178191185, 0.018707018345594406, 0.008891475386917591, 0.04874463006854057, -0.01388467475771904, -0.06322731822729111, 0.02378799021244049, -0.006653779651969671, -0.07309304177761078, 0.047061651945114136, 0.063...
0.042624
the cloud with the newly created managed resource. ### View the discovered resource Crossplane discovers the managed resource and populates the {{}}status.atProvider{{}} fields with the values from the external resource. ```yaml {label="ooPopulated",copy-lines="none"} apiVersion: sql.gcp.upbound.io/v1beta1 kind: Databa...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/import-existing-resources.md
master
crossplane
[ -0.04274995997548103, -0.09783462435007095, 0.006040129344910383, 0.030256232246756554, 0.07029634714126587, -0.05033516511321068, 0.04100806638598442, -0.07951316982507706, 0.04468236491084099, 0.08615124970674515, 0.021825022995471954, -0.05049191787838936, 0.03557651862502098, -0.037920...
0.044633
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/v1.20/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/v1.20/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/v1.20/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/v1.20/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/v1.20/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/v1.20/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
poll periods | | {{}}upjet\_resource\_ttr{{}} | Measures in seconds the time-to-readiness (TTR) for managed resources | | {{}}upjet\_terraform\_cli\_duration{{}} | Measures in seconds how long it takes a Terraform CLI invocation to complete | | {{}}upjet\_terraform\_active\_cli\_invocations{{}} | The number of active (...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/metrics.md
master
crossplane
[ -0.043017152696847916, 0.005033973138779402, -0.017592692747712135, -0.0016411285614594817, 0.003466316033154726, -0.048292502760887146, 0.02062247321009636, -0.05984925478696823, 0.08714505285024643, 0.027653269469738007, 0.0035130910109728575, -0.1000487208366394, -0.025062326341867447, ...
0.105008
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/v1.20/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/v1.20/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/v1.20/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/v1.20/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/v1.20/guides/extensions-release-process.md
master
crossplane
[ -0.06718055158853531, -0.07695035636425018, -0.031558189541101456, -0.05280621349811554, 0.03249998018145561, -0.10494836419820786, -0.026118608191609383, 0.08808579295873642, -0.03220425173640251, -0.039982445538043976, 0.026889527216553688, -0.11268028616905212, -0.011282790452241898, -0...
0.098863
details on tagging practices and optionally overriding the inferred git tag version. ## Common Configuration While the reusable workflows referenced in the quickstart guides are for convenience, users may choose to write their own custom GitHub Actions. This and following sections provide more detailed information abou...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/extensions-release-process.md
master
crossplane
[ -0.08335068821907043, 0.0006274095503613353, -0.03872520104050636, -0.03405065834522247, 0.015033887699246407, -0.07560405880212784, 0.02337026223540306, 0.05303913727402687, 0.05067440867424011, -0.03368014469742775, -0.027560006827116013, -0.006845994386821985, 0.010559922084212303, 0.02...
0.02118
define the target registry: 1. `XPKG\_REG\_ORGS` - a space-delimited list of target repositories. 2. `XPKG\_REG\_ORGS\_NO\_PROMOTE` - for registries that don't use or infer channel tags. For example, the following dual-pushes to `xpkg.crossplane.io` as well as `index.docker.io`: ```make XPKG\_REG\_ORGS ?= xpkg.crosspla...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/extensions-release-process.md
master
crossplane
[ -0.07022535800933838, -0.05768275633454323, -0.03342833369970322, -0.051336340606212616, -0.01869097352027893, -0.04036640748381615, 0.010443935170769691, -0.039986249059438705, 0.03440568968653679, -0.05727878212928772, -0.008759360760450363, -0.15006496012210846, 0.001922291237860918, -0...
0.089313
> Using self-signed certificates isn't advised in production, it's recommended to only use self-signed certificates for testing. When Crossplane loads Configuration and Provider Packages from private registries, it must be configured to trust the CA and Intermediate certs. Crossplane needs to be installed via the Helm ...
https://github.com/crossplane/docs/blob/master/content/v1.20/guides/self-signed-ca-certs.md
master
crossplane
[ -0.03096073307096958, -0.01183412130922079, 0.0039283582009375095, -0.056608326733112335, -0.022406630218029022, -0.025850925594568253, -0.05695321038365364, 0.10808218270540237, -0.029178639873862267, -0.0229682344943285, 0.05911290645599365, -0.08906223624944687, 0.033846139907836914, 0....
-0.094656
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/v1.20/concepts/providers.md
master
crossplane
[ -0.060247913002967834, -0.04657293111085892, 0.023634925484657288, -0.01318108756095171, -0.02008492685854435, 0.03898763656616211, 0.07011130452156067, -0.023439282551407814, 0.07694566249847412, 0.10258018970489502, -0.010172652080655098, -0.053057633340358734, 0.038379769772291183, 0.02...
0.124828
given Provider package use the {{}}packagePullPolicy: Always{{}} configuration. ```yaml {label="pullpolicy",copy-lines="6"} apiVersion: pkg.crossplane.io/v1 kind: Provider metadata: name: provider-aws spec: packagePullPolicy: Always # Removed for brevity ``` #### Revision activation policy The `Active` package revision...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/providers.md
master
crossplane
[ -0.07222669571638107, -0.007925624959170818, 0.02876654639840126, -0.03796616941690445, 0.031166380271315575, 0.004042538348585367, -0.003096582368016243, -0.05946773290634155, 0.029108649119734764, 0.09581441432237625, 0.06461434066295624, -0.019181448966264725, -0.019514381885528564, -0....
-0.071614
{{}} This configuration requires the `--enable-dependency-version-upgrades` flag. Please check the [configuration options]({{}}) and [feature flags]({{}}) are available in the [Crossplane Install]({{}}) section for more details. {{}} {{}} Enabling automatic dependency downgrades may have unintended consequences, such a...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/providers.md
master
crossplane
[ -0.048800572752952576, -0.05797668918967247, 0.04757985100150108, -0.0695095956325531, 0.03265699744224548, 0.020275451242923737, -0.07883008569478989, 0.0034135242458432913, -0.1047377958893776, 0.04060735926032066, 0.07298167049884796, -0.05007968842983246, -0.044353704899549484, -0.0027...
-0.077915
may also create Deployments, Service Accounts or RBAC configuration. View the status of a Provider with `kubectl get providers` During the install a Provider report `INSTALLED` as `True` and `HEALTHY` as `Unknown`. ```shell {copy-lines="1"} kubectl get providers NAME INSTALLED HEALTHY PACKAGE AGE crossplane-contrib-pro...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/providers.md
master
crossplane
[ -0.016888385638594627, 0.0027657633181661367, -0.0035018359776586294, -0.0034450870007276535, 0.018802480772137642, -0.036588460206985474, -0.013582829385995865, -0.016378844156861305, 0.06470035761594772, 0.050376489758491516, 0.03871704265475273, -0.10383575409650803, 0.0435844361782074, ...
0.0981
>}}) defines the supported set of ControllerConfig settings. The most common use case for ControllerConfigs are providing `args` to a Provider's pod enabling optional services. For example, enabling [external secret stores]({{< ref "../guides/vault-as-secret-store#enable-external-secret-stores-in-the-provider" >}}) for...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/providers.md
master
crossplane
[ -0.050333406776189804, -0.04819339141249657, -0.05240235477685928, -0.0097884526476264, 0.02790391445159912, 0.020942620933055878, 0.011286062188446522, -0.006050862371921539, 0.005738240201026201, 0.006197209935635328, 0.08837258070707321, 0.019685380160808563, -0.03310101479291916, -0.07...
0.089634
container as: ```yaml allowPrivilegeEscalation: false privileged: false runAsGroup: 2000 runAsNonRoot: true runAsUser: 2000 ``` - Applies the following: - \*\*Sets\*\* `metadata.namespace` as Crossplane namespace. - \*\*Sets\*\* `metadata.ownerReferences` such that the deployment owned by the package revision. - \*\*Se...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/providers.md
master
crossplane
[ -0.019725680351257324, -0.009421825408935547, -0.03235518932342529, -0.0151575468480587, 0.0007224075379781425, -0.019114043563604355, 0.072932668030262, -0.02010754495859146, -0.011288776993751526, 0.07115873694419861, 0.05717151612043381, -0.09141364693641663, -0.002390018431469798, -0.0...
0.020431
name: user-bucket spec: forProvider: region: us-east-2 providerConfigRef: name: admin-keys ```
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/providers.md
master
crossplane
[ 0.03830495849251747, -0.01039927452802658, -0.029488801956176758, -0.04731793701648712, 0.0008232647669501603, -0.002661151112988591, 0.0650923103094101, -0.007285664323717356, -0.026038995012640953, 0.07499150186777115, 0.04379035532474518, -0.08403484523296356, 0.03424859791994095, 0.012...
-0.066365
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/v1.20/concepts/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
the composite resource. Use `type: FromCompositeFieldPath` and provide the 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: environmentConfi...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/environment-configs.md
master
crossplane
[ 0.04231225326657295, -0.015713561326265335, -0.00858472753316164, -0.016424108296632767, 0.04494382441043854, 0.02965112403035164, 0.015993138775229454, -0.0009182117646560073, 0.004466245416551828, -0.02879256382584572, -0.014140399172902107, -0.1358225792646408, -0.023134110495448112, -0...
0.006721
the label always overwrites the label value. {{< /hint >}} ## Patching with EnvironmentConfigs using function-patch-and-transform `EnvironmentConfigs` selected as explained above, are then merged in an `in-memory environment` by [function-environment-configs] and passed to the next function in the pipeline at a well kn...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/environment-configs.md
master
crossplane
[ -0.0484386645257473, 0.03830476477742195, -0.01538978610187769, 0.03745637834072113, 0.028290707617998123, 0.008679130114614964, 0.0592384934425354, 0.04221128672361374, -0.05196598544716835, -0.020851904526352882, 0.003637982066720724, -0.0768783837556839, 0.007120159920305014, -0.0451242...
0.089304
`ImageConfig` is an API for centralized control over the configuration of Crossplane package images. It allows you to configure package manager behavior for images globally, without needing to be referenced by other objects. ## Matching image references `spec.matchImages` is a list of image references that the `ImageCo...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/image-configs.md
master
crossplane
[ -0.039254721254110336, -0.04705844074487686, 0.013277317397296429, -0.0207245834171772, 0.06450232118368149, -0.033122748136520386, 0.05002032592892647, 0.014173213392496109, -0.0471145361661911, -0.07476380467414856, 0.02558295428752899, -0.02514280006289482, 0.026707181707024574, 0.00685...
0.078116
initially supports a subset of the Policy Controller configuration options which can be found in the [API reference](https://docs.crossplane.io/master/api/#ImageConfig-spec-verification-cosign) for the `ImageConfig` resource together with their descriptions. When multiple authorities are provided, the package manager v...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/image-configs.md
master
crossplane
[ -0.09632246196269989, -0.005921805743128061, -0.01113036647439003, -0.0638030618429184, 0.11833782494068146, -0.04066441208124161, 0.04955035448074341, -0.005024137906730175, -0.04177800193428993, 0.0224177073687315, 0.11845927685499191, -0.05040614306926727, 0.07508967816829681, -0.022863...
0.026781
`status.resolvedPackage` field. The preceding example results in the following: ```shell kubectl describe provider crossplane-contrib-provider-family-aws ... Spec: ... Package: xpkg.crossplane.io/crossplane-contrib/provider-family-aws:v1.22.0 Status: ... Resolved Package: registry1.com/crossplane-contrib/provider-famil...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/image-configs.md
master
crossplane
[ -0.08227632939815521, 0.03861092031002045, 0.06984679400920868, -0.0438607856631279, -0.014846383593976498, -0.05973983556032181, -0.0009445514297112823, 0.003930541221052408, 0.04698031023144722, 0.03919166326522827, 0.01967475935816765, -0.08093210309743881, 0.008904785849153996, -0.0604...
0.000702
A `Usage` is a Crossplane resource that defines a usage relationship for a Managed Resource or a Composite Resource. Two main use cases for the Usages are as follows: 1. Protecting a resource from accidental deletion. 2. Deletion ordering by ensuring that a resource isn't deleted before the deletion of its dependent re...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/usages.md
master
crossplane
[ -0.014690425246953964, -0.014935138635337353, 0.003108568023890257, 0.004585046786814928, 0.05035318434238434, 0.005892554763704538, 0.08367358893156052, -0.06698278337717056, 0.10484731197357178, 0.03941851854324341, 0.021494045853614807, 0.04308026283979416, -0.047721728682518005, -0.006...
0.233354
deletion is possible by setting the {{}}replayDeletion{{}} field to `true`. ```yaml {label="replay"} apiVersion: apiextensions.crossplane.io/v1beta1 kind: Usage metadata: name: release-uses-cluster spec: replayDeletion: true of: apiVersion: eks.upbound.io/v1beta1 kind: Cluster resourceRef: name: my-cluster by: apiVersi...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/usages.md
master
crossplane
[ -0.048494964838027954, 0.02001975290477276, 0.02332942746579647, -0.001069381833076477, 0.03983558341860771, 0.006777642760425806, 0.04253756254911423, -0.11481259763240814, 0.14791670441627502, 0.03146453574299812, 0.011070637963712215, 0.0005888071609660983, 0.028281284496188164, -0.0160...
0.171149
Compositions are a template for creating multiple managed resources as a single object. A Composition \_composes\_ individual managed resources together into a larger, reusable, solution. An example Composition may combine a virtual machine, storage resources and networking policies. A Composition template links all th...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.026716236025094986, -0.06713122129440308, 0.002584704663604498, 0.002958436030894518, 0.03746500983834267, 0.04575580358505249, -0.03671657294034958, -0.0357302762567997, 0.07112831622362137, 0.018042590469121933, -0.0031468819361180067, -0.08811772614717484, 0.06061388552188873, -0.061...
0.052742
reports `True`. ### Use a function in a composition Crossplane calls a Function to determine what resources it should create when you create a composite resource. The Function also tells Crossplane what to do with these resources when you update or delete a composite resource. When Crossplane calls a Function it sends ...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.0876777395606041, -0.02952597662806511, 0.03107021562755108, 0.02776562049984932, -0.006036412436515093, 0.008585011586546898, -0.001628673984669149, -0.04192734509706497, -0.012880965135991573, 0.019265517592430115, -0.04671860486268997, -0.0639355480670929, -0.026819653809070587, -0.0...
0.040162
with an external secret store. {{}} #### Composite resource combined secret Crossplane can combine all the secrets generated by the resources inside a Composition into a single Kubernetes secret and optionally copy the secret object for claims. Set the value of `writeConnectionSecretsToNamespace` to the namespace where...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.09975656121969223, -0.047087181359529495, -0.005284580402076244, -0.0026144757866859436, -0.006244208663702011, 0.023441139608621597, 0.035200104117393494, -0.0457109659910202, 0.10657292604446411, 0.06870217621326447, 0.030386755242943764, -0.11569458246231079, 0.030603928491473198, -0...
0.115045
function-patch-and-transform input: apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - name: storage-bucket base: apiVersion: s3.aws.upbound.io/v1beta1 kind: Bucket patches: - type: FromCompositeFieldPath fromFieldPath: spec.bucketRegion toFieldPath: spec.forProvider.region ``` The `functions.yaml` fi...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.05381319299340248, 0.011658058501780033, 0.028014667332172394, -0.11340762674808502, 0.03279278054833412, -0.03327663615345955, -0.04747786372900009, -0.03004145808517933, 0.021516947075724602, 0.03623729199171066, -0.02552012726664543, -0.11976877599954605, -0.06755638867616653, -0.090...
0.024078
If using `mode: Pipeline` (Composition Functions): \* The `pipeline` field isn't empty. \* No duplicate step names. ### Composition schema aware validation Crossplane also performs schema aware validation of Compositions. Schema validation checks that `patches`, `readinessChecks` and `connectionDetails` are valid accor...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.011510403826832771, -0.0597129687666893, 0.03252619877457619, -0.004134987015277147, 0.024607688188552856, -0.023391179740428925, -0.04407777264714241, -0.09099636226892471, -0.005099873524159193, -0.008280155248939991, -0.01680300571024418, -0.13953445851802826, -0.0181560181081295, -0...
0.100727
function though, and how your function should respond. ```mermaid sequenceDiagram User->>+API Server: Create composite resource Crossplane Pod->>+API Server: Observe composite resource Crossplane Pod->>+Function Pod: gRPC RunFunctionRequest Function Pod->>+Crossplane Pod: gRPC RunFunctionResponse loop Extra resources n...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.01902729831635952, -0.04582500830292702, 0.02430940419435501, -0.03738119453191757, -0.013613653369247913, -0.025446312502026558, -0.013104794546961784, -0.035112038254737854, 0.010259539820253849, -0.041017740964889526, -0.01126017328351736, -0.10747458040714264, -0.08872783929109573, ...
0.111408
A function can change: \* The `status` of the composite resource. \* The `metadata` and `spec` of any composed resource. A function can also change the connection details and readiness of the composite resource. A function indicates that the composite resource is ready by telling Crossplane whether its composed resourc...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ -0.049023792147636414, -0.05085763335227966, -0.0292582418769598, -0.01737578585743904, -0.017145108431577682, -0.015209498815238476, -0.015734510496258736, 0.0036598127335309982, 0.007325319107621908, 0.041327282786369324, -0.008122552186250687, -0.04618184641003609, -0.03548216447234154, ...
0.172234
- type: FromCompositeFieldPath fromFieldPath: spec.bucketRegion toFieldPath: spec.forProvider.region ``` {{}} Crossplane doesn't validate function input. It's a good idea for a function to validate its own input. {{}} ### Function pipeline context Sometimes two functions in a pipeline want to share information with eac...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/compositions.md
master
crossplane
[ 0.029661042615771294, -0.05997583270072937, 0.0196307972073555, -0.0835566520690918, 0.042488597333431244, -0.003912648651748896, 0.007478015962988138, 0.020652830600738525, -0.03543397784233093, -0.0061714304611086845, -0.07611066102981567, -0.12762825191020966, -0.09102994948625565, 0.02...
0.026027
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/v1.20/concepts/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
Crossplane to reconcile all resources faster. {{< hint "important" >}} Most Providers 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 >}} #...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/pods.md
master
crossplane
[ -0.004650874994695187, -0.0660788044333458, 0.06402792036533356, -0.0029089665040373802, 0.014365145936608315, -0.0002862903638742864, -0.027982626110315323, -0.08683211356401443, 0.12523502111434937, 0.050368160009384155, -0.017190182581543922, -0.05408760905265808, -0.09438358247280121, ...
0.138672
roles to other entities. View the full RBAC policy with ```shell kubectl 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...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/pods.md
master
crossplane
[ 0.02829563245177269, -0.09722395241260529, -0.048772506415843964, 0.0022391651291400194, 0.0012233054731041193, 0.04348761588335037, 0.03477897867560387, -0.0609736293554306, 0.051884837448596954, 0.03849228098988533, -0.011712172999978065, -0.10707477480173111, -0.027250705286860466, -0.0...
0.121571
A \_managed resource\_ (`MR`) represents an external service in a Provider. When users create a new managed resource, the Provider reacts by creating an external resource inside the Provider's environment. Every external service managed by Crossplane maps to a managed resource. {{< hint "note" >}} Crossplane calls the ...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.020652122795581818, -0.04614269733428955, -0.0015832281205803156, 0.05214431509375572, -0.0049033090472221375, 0.016105301678180695, 0.059004396200180054, -0.06782608479261398, 0.054481685161590576, 0.04150254651904106, 0.016971420496702194, -0.05559977516531944, 0.046079717576503754, -...
0.128111
of a virtual network to use. Managed resources can reference other managed resources by external name, name reference or selector. ##### Matching by external name When matching a resource by name Crossplane looks for the name of the external resource in the Provider. For example, a AWS VPC object named `my-test-vpc` ha...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.09393803775310516, -0.020491985604166985, -0.047386836260557175, 0.01717371493577957, 0.0707550197839737, -0.04051264375448227, 0.04898299276828766, -0.023050162941217422, 0.11134570837020874, 0.010457344353199005, -0.025776751339435577, -0.10701198875904083, 0.07175768166780472, -0.003...
0.082268
AWS `RDSInstance`. These fields are \_immutable fields\_. Amazon requires you delete and recreate the resource. Crossplane allows you to edit the immutable field of a managed resource, but doesn't apply the change. Crossplane never deletes a resource based on a `forProvider` change. {{}} Crossplane behaves differently ...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.045636940747499466, -0.015446852892637253, 0.04651204124093056, -0.007282712496817112, 0.045847587287425995, 0.005096897482872009, 0.054040201008319855, -0.14092978835105896, 0.10997509211301804, 0.11008425056934357, -0.010473466478288174, -0.07088243216276169, 0.044454388320446014, -0....
0.035846
`\*` | \_Default policy\_. Crossplane has full control over a resource. | | `Create` | If the external resource doesn't exist, Crossplane creates it based on the managed resource settings. | | `Delete` | Crossplane can delete the external resource when deleting the managed resource. | | `LateInitialize` | Crossplane in...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.10140673816204071, -0.05574854835867882, 0.014133120886981487, 0.04781210049986839, 0.09407775849103928, -0.0322413370013237, 0.059747952967882156, -0.06537353992462158, -0.01625199243426323, 0.08672518283128738, 0.05462188273668289, -0.05014224350452423, -0.03196078911423683, 0.0101578...
0.078255
[v0.10.0](https://github.com/crossplane/crossplane-runtime/releases/tag/v0.10.0). Managed resources using `providerRef`must use [`providerConfigRef`](#providerconfigref). ### writeConnectionSecretToRef When a Provider creates a managed resource it may generate resource-specific details, like usernames, passwords or con...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.025512786582112312, -0.03610575199127197, -0.02501559630036354, 0.02447529323399067, -0.02461124211549759, 0.056747689843177795, 0.06156110391020775, -0.06282991170883179, 0.06406582146883011, 0.08568845689296722, 0.0032975117210298777, -0.08600759506225586, 0.06421434879302979, -0.0229...
0.039393
metadata: name: my-rds-instance ``` ```shell kubectl get rdsinstance NAME READY SYNCED EXTERNAL-NAME AGE my-rds-instance True True my-rds-instance 11m ``` Managed resource created with a `crossplane.io/external-name` annotation already provided use the annotation value as the external resource name. For example, the Pr...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.039496492594480515, -0.008109809830784798, 0.006572369020432234, 0.014480740763247013, 0.01009460911154747, -0.0454266257584095, 0.06584677845239639, -0.03503205627202988, 0.1097893938422203, 0.013858978636562824, 0.0007802961044944823, -0.13563619554042816, 0.042381785809993744, 0.0089...
0.066918
Each time a provider reconciles a managed resource it checks the resource's creation annotations. If the provider sees a create pending time that's more recent than the most recent create succeeded or create failed time, it knows that it might have leaked a resource. {{}} Providers don't remove the creation annotations...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.11174622923135757, -0.019091438502073288, 0.01893022283911705, 0.06600218266248703, 0.14905458688735962, -0.0941663533449173, 0.035228509455919266, -0.03589518740773201, 0.13664941489696503, 0.04683725908398628, 0.04015456512570381, -0.035975538194179535, -0.0035471785813570023, 0.00896...
0.103423
the Provider created the managed resource and it's ready for use. ```yaml {copy-lines="none"} Conditions: Type: Ready Status: True Reason: Available ``` ### Creating `Reason: Creating` indicates the Provider is attempting to create the managed resource. ```yaml {copy-lines="none"} Conditions: Type: Ready Status: False ...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/managed-resources.md
master
crossplane
[ -0.07410459220409393, -0.04907575994729996, -0.019152255728840828, 0.049739010632038116, 0.08199799805879593, -0.06059430539608002, 0.011288496665656567, -0.11584288626909256, 0.07733707129955292, 0.07611771672964096, 0.06981449574232101, -0.00205685431137681, 0.01370938029140234, 0.035228...
0.117673
This guide discusses the use of "Composition Revisions" to safely make and roll back changes to a Crossplane [`Composition`][composition type]. It assumes familiarity with Crossplane, and particularly with [Compositions]. A `Composition` configures how Crossplane should reconcile a Composite Resource (XR). Put otherwis...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composition-revisions.md
master
crossplane
[ 0.019376268610358238, -0.05434702709317207, -0.008376174606382847, -0.04211487993597984, -0.013191822916269302, -0.002750617917627096, -0.008709617890417576, -0.09537625312805176, 0.049431540071964264, 0.032026272267103195, -0.014819062314927578, 0.005392706021666527, 0.10752175003290176, ...
-0.001133
when it's first created, but must manually be updated when you wish it to use another `CompositionRevision`. ```yaml apiVersion: example.org/v1alpha1 kind: PlatformDB metadata: name: example spec: parameters: storageGB: 20 # The Manual policy specifies that you don't want this XR to update to the # latest CompositionRe...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composition-revisions.md
master
crossplane
[ 0.012100976891815662, -0.14123086631298065, 0.026976952329277992, -0.01660681888461113, -0.058051757514476776, 0.0381748229265213, -0.04895133152604103, -0.052921783179044724, 0.04633774235844612, -0.004096727818250656, 0.0007311153458431363, -0.059771228581666946, 0.012061214074492455, -0...
-0.047062
XR with a `compositionRevisionSelector` of `channel: dev`: ```yaml apiVersion: aws.example.upbound.io/v1alpha1 kind: MyVPC metadata: name: vpc-dev spec: id: vpc-dev compositionRevisionSelector: matchLabels: channel: dev ``` Expected Output: ```shell myvpc.aws.example.upbound.io/vpc-dev created ``` Create an XR with a `...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composition-revisions.md
master
crossplane
[ -0.019340327009558678, -0.01553307380527258, -0.016016952693462372, -0.03400199115276337, 0.051456693559885025, -0.05511993169784546, -0.023774247616529465, -0.06522197276353836, 0.11298040300607681, 0.028292428702116013, 0.013678444549441338, -0.10935710370540619, 0.07789496332406998, -0....
-0.055944
Using connection details in Crossplane requires the following components: \* Defining the `writeConnectionSecretToRef.name` in a [Claim]({{}}). \* Defining the `writeConnectionSecretsToNamespace` value in the [Composition]({{}}). \* Define the `writeConnectionSecretToRef` name and namespace for each resource in the [Co...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/connection-details.md
master
crossplane
[ -0.07851710170507431, -0.048859357833862305, -0.04471820965409279, -0.023084552958607674, -0.07280568033456802, 0.02548377402126789, 0.03966045379638672, -0.004974321462213993, 0.05309474468231201, 0.0318562276661396, 0.030223505571484566, -0.09077753126621246, 0.03392099589109421, -0.0461...
0.076751
name: test-accesskey spec: forProvider: userSelector: matchLabels: docs.crossplane.io: user writeConnectionSecretToRef: namespace: default name: my-accesskey-secret ``` View the Kubernetes secret to see the connection details from the managed resource. This includes an {{}}attribute.secret{{}}, {{}}attribute.ses\_smtp\...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/connection-details.md
master
crossplane
[ -0.04461023956537247, 0.022540925070643425, 0.018150297924876213, 0.02046320214867592, -0.05457475036382675, 0.02218143455684185, 0.08027835190296173, -0.04704422876238823, 0.12373261898756027, 0.04767743498086929, -0.013840836472809315, -0.1282702535390854, 0.02425612322986126, -0.0802429...
0.083961
Composition spec: writeConnectionSecretsToNamespace: other-namespace mode: Pipeline pipeline: - step: patch-and-transform functionRef: name: function-patch-and-transform input: apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - name: key base: kind: AccessKey spec: # Removed for brevity writeConnectio...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/connection-details.md
master
crossplane
[ -0.07171951979398727, 0.03950871154665947, -0.027996141463518143, -0.0034223932307213545, -0.03537378087639809, -0.005583150312304497, 0.08280695229768753, 0.025361156091094017, -0.016356777399778366, 0.02166043408215046, 0.004662260413169861, -0.08587250113487244, 0.009890156798064709, -0...
0.133028
second resource's secret object, {{}}key2{{}}. \* The composite resource secret object in the {{}}other-namespace{{}} defined by the Composition's `writeConnectionSecretsToNamespace`. ```shell {label="allSec",copy-lines="none"} kubectl get secret -A NAMESPACE NAME TYPE DATA AGE default my-access-key-secret connection.c...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/connection-details.md
master
crossplane
[ -0.04853293299674988, -0.02097475901246071, -0.03752977028489113, -0.006437052506953478, -0.03739809989929199, -0.0046438961289823055, 0.03398401290178299, -0.042552679777145386, 0.1028953418135643, -0.0024252955336123705, 0.03283716365695, -0.11426137387752533, 0.04202627018094063, -0.091...
0.139105
A composite resource represents a set of managed 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 managed resources. A \_Composition\_ defines how to \_compose\_ the...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resources.md
master
crossplane
[ -0.042141392827034, -0.028482798486948013, 0.0479360967874527, -0.0007493171142414212, 0.016677407547831535, 0.020153073593974113, 0.022647777572274208, -0.02359003759920597, 0.08075407147407532, 0.03822765126824379, -0.002532531740143895, -0.12797699868679047, 0.0788118839263916, 0.043419...
0.116136
{{}}compositionSelector{{}}. Inside the {{}}matchLabels{{}} section provide one or more Composition labels to match. ```yaml {label="complabel",copy-lines="none"} apiVersion: example.org/v1alpha1 kind: xMyDatabase metadata: name: my-composite-resource spec: compositionSelector: matchLabels: environment: production # Re...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resources.md
master
crossplane
[ -0.0224094670265913, -0.0014461926184594631, 0.03205955773591995, -0.012096220627427101, 0.008023724891245365, 0.06401429325342178, -0.03426501527428627, -0.05987078323960304, 0.007914507761597633, -0.00604674406349659, -0.014207545667886734, -0.06856187433004379, 0.044406238943338394, -0....
0.008595
get xMyDatabase.example.org NAME SYNCED READY COMPOSITION AGE my-composite-resource True True my-composition 12m ``` Use {{}}kubectl describe composite{{}} to view the linked {{}}Composition Ref{{}}, and unique managed resources created in the {{}}Resource Refs{{}}. ```yaml {copy-lines="1",label="desccomposite"} kubect...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resources.md
master
crossplane
[ 0.029794804751873016, -0.05578304082155228, 0.01620613783597946, 0.0007189586758613586, 0.06292881071567535, 0.0023552486672997475, -0.024143679067492485, -0.07524430006742477, 0.029150495305657387, 0.01055108942091465, 0.021646622568368912, -0.11251530051231384, 0.1419263482093811, -0.064...
-0.057185
A \_Configuration\_ package is an [OCI container image](https://opencontainers.org/) containing a collection of [Compositions]({{}}), [Composite Resource Definitions]({{}}) and any required [Providers]({{}}) or [Functions]({{}}). Configuration packages make your Crossplane configuration fully portable. {{}} Crossplane ...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/packages.md
master
crossplane
[ -0.06559908390045166, -0.04872022196650505, 0.009107411839067936, -0.02964104153215885, 0.060297269374132156, -0.024539515376091003, 0.0417046882212162, 0.0204873476177454, -0.055746112018823624, -0.03302166238427162, 0.05191223323345184, -0.04508595913648605, -0.022578921169042587, -0.031...
0.072349
package digest hashes like Kubernetes images. {{< /hint >}} For example, to `Always` download a given Configuration package use the {{}}packagePullPolicy: Always{{}} configuration. ```yaml {label="pullpolicy",copy-lines="6"} apiVersion: pkg.crossplane.io/v1 kind: Configuration metadata: name: platform-ref-aws spec: pac...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/packages.md
master
crossplane
[ -0.0027522880118340254, 0.0024693345185369253, 0.050319839268922806, -0.07419176399707794, 0.055072613060474396, -0.03700108453631401, 0.011046374216675758, -0.028325676918029785, 0.058307208120822906, 0.06758487224578857, 0.049207448959350586, -0.0021706765983253717, -0.014521133154630661, ...
0.008186
update. {{}} #### Ignore Crossplane version requirements A Configuration package may require a specific or minimum Crossplane version before installing. By default, Crossplane doesn't install a Configuration if the Crossplane version doesn't meet the required version. Crossplane can ignore the required version with {{}...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/packages.md
master
crossplane
[ -0.0008526440942659974, 0.008988699875772, 0.026853486895561218, -0.08673488348722458, 0.03752662241458893, -0.015010394155979156, -0.04181719571352005, -0.027150215581059456, -0.0072792898863554, 0.011461413465440273, 0.047856852412223816, -0.12198901921510696, -0.016275733709335327, -0.0...
-0.005297
example, `crossplane xpkg build --package-root=test-directory --ignore=".tmp/\*"`. Including YAML files that aren't Compositions or CompositeResourceDefinitions, including Claims isn't supported. {{}} By default, Crossplane creates a `.xpkg` file of the Configuration name and a SHA-256 hash of the package contents. For...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/packages.md
master
crossplane
[ -0.06780573725700378, -0.01640360616147518, -0.002415400231257081, -0.087006576359272, 0.044411152601242065, -0.03723558411002159, 0.020659029483795166, 0.006776292808353901, -0.008448796346783638, -0.012486654333770275, 0.07102971524000168, -0.1365310400724411, 0.017904838547110558, -0.05...
-0.002153
Crossplane can use server-side apply to sync claims with composite resources (XRs), and to sync composite resources with composed resources. When Crossplane uses server-side apply, the Kubernetes API server helps sync resources. Using server-side apply makes syncing more predictable and less buggy. {{}} Server-side app...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/server-side-apply.md
master
crossplane
[ -0.1004783883690834, -0.051770925521850586, 0.01715037040412426, -0.04294547066092491, 0.04025594890117645, 0.012430966831743717, 0.007783267181366682, -0.029503479599952698, 0.08581262081861496, 0.06654629111289978, -0.002824648516252637, -0.07116163522005081, 0.03320342302322388, -0.0232...
0.127726
fields for resources that use server-side apply merge strategy OpenAPI extensions. Read about these extensions in the Kubernetes [server-side apply documentation](https://kubernetes.io/docs/reference/using-api/server-side-apply/#merge-strategy). If you find that Crossplane isn't merging managed resource fields, raise a...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/server-side-apply.md
master
crossplane
[ 0.03867111727595329, -0.024061718955636024, 0.06473631411790848, -0.010827196761965752, 0.011120149865746498, -0.015336674638092518, 0.0035795834846794605, -0.04607905074954033, 0.08661718666553497, 0.05245168134570122, 0.0011585336178541183, -0.07922812551259995, -0.02345334179699421, -0....
0.082286
Claims represents a set of managed resources as a single Kubernetes object, inside a namespace. Users create claims when they access the custom API, defined in the CompositeResourceDefinition. {{< hint "tip" >}} Claims are like [composite resources]({{}}). The difference between Claims and composite resources is Crossp...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/claims.md
master
crossplane
[ -0.07787386327981949, -0.006325093097984791, 0.05085592716932297, 0.020738180726766586, 0.05434586852788925, 0.02251364290714264, 0.055238015949726105, 0.008455955423414707, 0.08946543186903, 0.039748601615428925, 0.011556063778698444, -0.12130939960479736, 0.07243523746728897, 0.042989119...
0.13441
Claim connection secrets If a Claim expects connection secrets the Claim must define a {{}}writeConnectionSecretToRef{{}} object. The {{}}writeConnectionSecretToRef{{}} object defines the name of the Kubernetes secret object where Crossplane saves the connection details. {{}} The Crossplane creates the secret object in...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/claims.md
master
crossplane
[ -0.10298891365528107, 0.015221931040287018, 0.01631734147667885, 0.023903828114271164, -0.02595050074160099, 0.033277224749326706, 0.0883658230304718, -0.035650428384542465, 0.0857771635055542, 0.057314682751894, -0.0033691891003400087, -0.11098425835371017, 0.023670656606554985, 0.0225844...
0.117134
Composite resource definitions (`XRDs`) define the schema for a custom API. Users create composite resources (`XRs`) and Claims (`XCs`) using the API schema defined by an `XRD`. {{< hint "note" >}} Read the [composite resources]({{}}) page for more information about composite resources. Read the [Claims]({{}}) page for...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resource-definitions.md
master
crossplane
[ -0.057419631630182266, -0.010945579037070274, 0.003980484325438738, -0.006125458981841803, 0.05736120417714119, -0.0055788070894777775, 0.024102594703435898, -0.010176621377468109, 0.04336555674672127, 0.011557224206626415, 0.030628832057118416, -0.10107804834842682, 0.11323388665914536, 0...
0.09643
naming convention, but following [Kubernetes API versioning guidelines](https://kubernetes.io/docs/reference/using-api/#api-versioning) is strongly recommended. \* `v1alpha1` - A new API that may change at any time. \* `v1beta1` - An existing API that's considered stable. Breaking changes are strongly discouraged. \* `...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resource-definitions.md
master
crossplane
[ 0.0023810514248907566, 0.005802462343126535, 0.03692631050944328, -0.0487544871866703, -0.005035423208028078, 0.014656862244009972, -0.06322293728590012, -0.020793789997696877, 0.050595272332429886, -0.012238857336342335, 0.011537959799170494, -0.08723576366901398, 0.0010223141871392727, -...
0.143733
xdatabases versions: - name: v1alpha1 served: true referenceable: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: region: type: string ``` Composite resources can use any schema version set as {{}}served: true{{}}. Kubernetes rejects any composite resource using a schema version se...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resource-definitions.md
master
crossplane
[ 0.06467114388942719, -0.006370148621499538, 0.06865960359573364, -0.042898911982774734, 0.04988481104373932, 0.0005766373942606151, -0.001290888641960919, -0.07036275416612625, 0.004941275808960199, 0.00914027914404869, 0.008002355694770813, -0.06193161755800247, -0.008280000649392605, 0.0...
0.019374
in the {{}}connectionSecretKeys{{}} to the composite resource or Claim using this XRD. Any other connection secrets aren't passed to the composite resource or Claim. {{}} The keys listed in the {{}}connectionSecretKeys{{}} must match the key names listed in the Composition's `connectionDetails`. An XRD ignores any keys...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resource-definitions.md
master
crossplane
[ -0.038992952555418015, -0.02414606511592865, -0.022752350196242332, 0.002706550993025303, 0.0023034517653286457, 0.014378605410456657, 0.07335800677537918, -0.02744746021926403, 0.030935538932681084, 0.025288010016083717, 0.03359082341194153, -0.03833220526576042, 0.14747659862041473, 0.01...
0.019029
composite resources and Claims using this XRD. ```yaml {label="compRev",copy-lines="none"} apiVersion: apiextensions.crossplane.io/v1 kind: CompositeResourceDefinition metadata: name: xdatabases.custom-api.example.org spec: defaultCompositionUpdatePolicy: Manual group: custom-api.example.org names: # Removed for brevit...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/composite-resource-definitions.md
master
crossplane
[ -0.021341802552342415, -0.050942156463861465, 0.010566762648522854, -0.03253207728266716, 0.047436635941267014, 0.005584716331213713, 0.004366373177617788, -0.012559235095977783, -0.02132490649819374, 0.029502788558602333, 0.03605248034000397, -0.06372462958097458, 0.0993284061551094, 0.02...
0.008576
Crossplane extends Kubernetes allowing it to create and manage resources external to the Kubernetes cluster. Crossplane enables platform engineers to create custom APIs and abstractions combining both native Kubernetes resources and cloud resources under a single control plane. With custom APIs, the platform users, lik...
https://github.com/crossplane/docs/blob/master/content/v1.20/concepts/_index.md
master
crossplane
[ 0.0025152189191430807, -0.06294364482164383, 0.02271045744419098, -0.027908124029636383, 0.005413795355707407, 0.006979997269809246, 0.0255221389234066, 0.005703122820705175, 0.06197752803564072, 0.05106249451637268, -0.03568745404481888, -0.11377152055501938, -0.04473387822508812, -0.0512...
0.216671
Welcome to the Crossplane documentation. Crossplane is a control plane framework for platform engineering. # Using the documentation Crossplane organizes its documentation into the following sections: \* [What's Crossplane?]({{}}) introduces Crossplane and explains why you should use it. \* [What's New in v2?]({{}}) hi...
https://github.com/crossplane/docs/blob/master/content/v2.0-preview/_index.md
master
crossplane
[ -0.0600738562643528, -0.06791802495718002, -0.017131326720118523, -0.012475691735744476, 0.05781405791640282, -0.00826655700802803, 0.04769401252269745, 0.022171569988131523, -0.026770425960421562, 0.01816043071448803, 0.003404473653063178, -0.044447820633649826, -0.004253151826560497, -0....
0.122664
\*\*Crossplane v2 makes Crossplane more useful, more intuitive, and less opinionated.\*\* Crossplane v2 makes three major changes: \* \*\*Composite resources are now namespaced\*\* \* \*\*Managed resources are now namespaced\*\* \* \*\*Composition supports any Kubernetes resource\*\* \*\*Crossplane v2 is better suited ...
https://github.com/crossplane/docs/blob/master/content/v2.0-preview/whats-new/_index.md
master
crossplane
[ -0.03641178458929062, -0.06390020251274109, 0.04025876149535179, -0.0662589967250824, -0.01469592284411192, -0.01555534079670906, 0.001190760638564825, -0.002193072345107794, 0.04896191880106926, 0.03869156166911125, 0.010100963525474072, -0.08411157131195068, -0.026440659537911415, 0.0168...
0.168926
MRs a legacy feature. Crossplane will deprecate and remove cluster scoped MRs at a future date. Read more about Crossplane v2's [backward compatibility](#backward-compatibility). {{}} ## Compose any resource Crossplane v2 isn't opinionated about using composition together with managed resources. You can create a compos...
https://github.com/crossplane/docs/blob/master/content/v2.0-preview/whats-new/_index.md
master
crossplane
[ -0.001543695223517716, -0.08541985601186752, 0.03621029853820801, -0.009676633402705193, -0.041255462914705276, 0.020277464762330055, -0.06429599225521088, -0.05608581751585007, -0.0036377827636897564, 0.013208877295255661, -0.053442563861608505, -0.07356616854667664, -0.037576429545879364, ...
0.021281
# Feature Lifecycle Crossplane follows a similar feature lifecycle to [upstream Kubernetes][kube-features]. All major new features must be added in alpha. Alpha features are expected to eventually graduate to beta, and then to general availability (GA). Features that languish at alpha or beta may be subject to deprecat...
https://github.com/crossplane/docs/blob/master/content/v2.0-preview/learn/feature-lifecycle.md
master
crossplane
[ 0.013053253293037415, -0.03597027063369751, 0.08580953627824783, -0.015520120039582253, 0.04192822426557541, 0.019315969198942184, -0.0721796303987503, -0.08364561200141907, 0.020052077248692513, 0.0029617163818329573, 0.010937992483377457, -0.041996680200099945, -0.11377279460430145, -0.0...
0.12751