A Object is an provider Kubernetes API type
Type
CRD
Group
kubernetes.crossplane.io
Version
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
A ObjectSpec defines the desired state of a Object.
No description provided.
ObjectParameters are the configurable fields of a Object.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
Readiness defines how the object's readiness condition should be computed, if not specified it will be considered ready as soon as the underlying external resource is considered up-to-date.
No description provided.
DependsOn is used to declare dependency on other Object or arbitrary Kubernetes resource.
PatchesFrom is used to declare dependency on other Object or arbitrary Kubernetes resource, and also patch fields from this object.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
A ObjectStatus represents the observed state of a Object.
ObjectObservation are the observable fields of a Object.
Conditions of the resource.
foo
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: foo
spec:
forProvider:
manifest:
apiVersion: v1
kind: ConfigMap
metadata:
namespace: default
managementPolicies:
- Observe
providerConfigRef:
name: kubernetes-provider
foo
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: foo
spec:
forProvider:
manifest:
apiVersion: v1
data:
sample-key: sample-value
kind: ConfigMap
metadata:
namespace: default
providerConfigRef:
name: kubernetes-provider
references:
- dependsOn:
apiVersion: v1
kind: ConfigMap
name: bar
namespace: default
foo
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: foo
spec:
forProvider:
manifest:
apiVersion: v1
kind: ConfigMap
metadata:
namespace: default
managementPolicies:
- Observe
- Delete
providerConfigRef:
name: kubernetes-provider
foo
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: foo
spec:
forProvider:
manifest:
apiVersion: v1
data:
sample-key: sample-value
kind: ConfigMap
metadata:
namespace: default
managementPolicies:
- Observe
- Create
- Update
providerConfigRef:
name: kubernetes-provider
foo
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: foo
spec:
forProvider:
manifest:
apiVersion: v1
data:
sample-key: sample-value
kind: ConfigMap
metadata:
namespace: default
providerConfigRef:
name: kubernetes-provider
references:
- patchesFrom:
apiVersion: v1
fieldPath: data.sample-key-from-bar
kind: ConfigMap
name: bar
namespace: default
- patchesFrom:
apiVersion: v1
fieldPath: data.sample-key-from-baz
kind: ConfigMap
name: baz
namespace: default
bar
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: bar
spec:
forProvider:
manifest:
apiVersion: v1
data:
sample-key: sample-value
kind: ConfigMap
metadata:
namespace: default
providerConfigRef:
name: kubernetes-provider
sample-namespace
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: sample-namespace
spec:
forProvider:
manifest:
apiVersion: v1
kind: Namespace
metadata:
labels:
example: "true"
providerConfigRef:
name: kubernetes-provider
foo
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
name: foo
spec:
forProvider:
manifest:
apiVersion: v1
data:
sample-key: sample-value
kind: ConfigMap
metadata:
namespace: default
providerConfigRef:
name: kubernetes-provider
references:
- patchesFrom:
apiVersion: v1
fieldPath: data.sample-key
kind: ConfigMap
name: bar
namespace: default
toFieldPath: data.sample-key-from-bar
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.