A ObservedObjectCollection is a provider Kubernetes API type
Type
CRD
Group
kubernetes.crossplane.io
Version
v1alpha1
apiVersion: kubernetes.crossplane.io/v1alpha1
kind: ObservedObjectCollection
ObservedObjectCollectionSpec defines the desired state of ObservedObjectCollection
Template when defined is used for creating Object instances
Objects metadata
ObserveObjects declares what criteria object need to fulfil to become a member of this collection
Selector defines the criteria for including objects into the collection
matchExpressions is a list of label selector requirements. The requirements are ANDed.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ObservedObjectCollectionStatus represents the observed state of a ObservedObjectCollection
Conditions of the resource.
foo-collection
apiVersion: kubernetes.crossplane.io/v1alpha1
kind: ObservedObjectCollection
metadata:
name: foo-collection
spec:
objectTemplate:
metadata:
annotations:
a1: v1
labels:
l1: v1
observeObjects:
apiVersion: v1
kind: ConfigMap
selector:
matchLabels:
foo: bar
providerConfigRef:
name: kubernetes-provider