The following resources are composed to implement the referenced Composite Resource Definition (XRD).
XNetwork
XCluster
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
name: environment-composition
creationTimestamp: null
labels:
provider: GCP
spec:
compositeTypeRef:
apiVersion: devops.dexcom.io/v1alpha1
kind: XEnvironment
resources:
- base:
apiVersion: devops.dexcom.io/v1alpha1
kind: XNetwork
patches:
- fromFieldPath: spec.envDescr
toFieldPath: spec.networkName
- base:
apiVersion: devops.dexcom.io/v1alpha1
kind: XCluster
spec:
clusterIndex: "1"
patches:
- fromFieldPath: spec.region
toFieldPath: spec.region
- fromFieldPath: spec.envDescr
toFieldPath: spec.networkName
- fromFieldPath: spec.envDescr
toFieldPath: spec.envDescr
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.