crossplane-contrib/x-generation@v0.10.0
compositesegmentgroup.zpa.example.cloud

compositesegmentgroup.zpa.example.cloud

compositesegmentgroup.zpa.example.cloud
crossplane-contrib/x-generation@v0.10.0compositesegmentgroup.zpa.example.cloud
Type

Composition

Referenced XRD

CompositeSegmentGroup

Source Codegithub.com/crossplane-contrib/x-generation
Resources (1)

The following resources are composed to implement the referenced Composite Resource Definition (XRD).

Kind
Group
Version

No resources found.

YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: compositesegmentgroup.zpa.example.cloud
  creationTimestamp: null
  labels:
    example.cloud/provider: sop
spec:
  compositeTypeRef:
    apiVersion: zpa.example.cloud/v1alpha1
    kind: CompositeSegmentGroup
  patchSets:
    - name: Name
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[crossplane.io/claim-name]
          toFieldPath: metadata.name
    - name: Common
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/claim-name']
          toFieldPath: metadata.labels['crossplane.io/claim-name']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/claim-namespace']
          toFieldPath: metadata.labels['crossplane.io/claim-namespace']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/composite']
          toFieldPath: metadata.labels['crossplane.io/composite']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['external-name']
          toFieldPath: metadata.labels['external-name']
          policy:
            fromFieldPath: Optional
    - name: Parameters
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: spec.deletionPolicy
          toFieldPath: spec.deletionPolicy
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.configSpace
          toFieldPath: spec.forProvider.configSpace
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.description
          toFieldPath: spec.forProvider.description
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.name
          toFieldPath: spec.forProvider.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyMigrated
          toFieldPath: spec.forProvider.policyMigrated
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.tcpKeepAliveEnabled
          toFieldPath: spec.forProvider.tcpKeepAliveEnabled
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.name
          toFieldPath: spec.providerConfigRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.policy.resolution
          toFieldPath: spec.providerConfigRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.policy.resolve
          toFieldPath: spec.providerConfigRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.name
          toFieldPath: spec.publishConnectionDetailsTo.configRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution
          toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve
          toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.annotations
          toFieldPath: spec.publishConnectionDetailsTo.metadata.annotations
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.labels
          toFieldPath: spec.publishConnectionDetailsTo.metadata.labels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.type
          toFieldPath: spec.publishConnectionDetailsTo.metadata.type
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.name
          toFieldPath: spec.publishConnectionDetailsTo.name
          policy:
            fromFieldPath: Optional
    - name: Labels
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/cost-reference']
          toFieldPath: metadata.labels['controlling.example.cloud/cost-reference']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/owner']
          toFieldPath: metadata.labels['controlling.example.cloud/owner']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/product']
          toFieldPath: metadata.labels['controlling.example.cloud/product']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/account']
          toFieldPath: metadata.labels['tags.example.cloud/account']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/environment']
          toFieldPath: metadata.labels['tags.example.cloud/environment']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/protection-requirement']
          toFieldPath: metadata.labels['tags.example.cloud/protection-requirement']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/repourl']
          toFieldPath: metadata.labels['tags.example.cloud/repourl']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/zone']
          toFieldPath: metadata.labels['tags.example.cloud/zone']
          policy:
            fromFieldPath: Optional
  resources:
    - name: SegmentGroup
      base:
        apiVersion: zpa.crossplane.io/v1alpha1
        kind: SegmentGroup
        metadata:
          labels:
            commonLabelA: commonLabelAValue
            commonLabelB: commonLabelBValue
        spec:
          forProvider:
            enabled: true
          providerConfigRef:
            name: default
      patches:
        - type: PatchSet
          patchSetName: Name
        - type: PatchSet
          patchSetName: Common
        - type: PatchSet
          patchSetName: Parameters
        - type: PatchSet
          patchSetName: Labels
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.creationTime
          toFieldPath: status.atProvider.creationTime
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.id
          toFieldPath: status.atProvider.id
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.modifiedBy
          toFieldPath: status.atProvider.modifiedBy
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.modifiedTime
          toFieldPath: status.atProvider.modifiedTime
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.policyMigrated
          toFieldPath: status.atProvider.policyMigrated
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: metadata.annotations["crossplane.io/external-name"]
          toFieldPath: status.uid
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.conditions
          toFieldPath: status.observed.conditions
          policy:
            fromFieldPath: Optional
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions