Composition
CompositeBucketPolicy
The following resources are composed to implement the referenced Composite Resource Definition (XRD).
No resources found.
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
name: compositebucketpolicy.s3.aws.example.cloud
creationTimestamp: null
labels:
example.cloud/provider: example
spec:
compositeTypeRef:
apiVersion: s3.aws.example.cloud/v1alpha1
kind: CompositeBucketPolicy
patchSets:
- name: Name
patches:
- type: FromCompositeFieldPath
fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: metadata.annotations[crossplane.io/external-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.bucketName
toFieldPath: spec.forProvider.bucketName
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameRef.name
toFieldPath: spec.forProvider.bucketNameRef.name
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameRef.policy.resolution
toFieldPath: spec.forProvider.bucketNameRef.policy.resolution
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameRef.policy.resolve
toFieldPath: spec.forProvider.bucketNameRef.policy.resolve
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameSelector.matchControllerRef
toFieldPath: spec.forProvider.bucketNameSelector.matchControllerRef
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameSelector.matchLabels
toFieldPath: spec.forProvider.bucketNameSelector.matchLabels
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameSelector.policy.resolution
toFieldPath: spec.forProvider.bucketNameSelector.policy.resolution
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.bucketNameSelector.policy.resolve
toFieldPath: spec.forProvider.bucketNameSelector.policy.resolve
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.policy.id
toFieldPath: spec.forProvider.policy.id
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.policy.statements
toFieldPath: spec.forProvider.policy.statements
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.policy.version
toFieldPath: spec.forProvider.policy.version
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.rawPolicy
toFieldPath: spec.forProvider.rawPolicy
policy:
fromFieldPath: Optional
- type: FromCompositeFieldPath
fromFieldPath: spec.forProvider.region
toFieldPath: spec.forProvider.region
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: BucketPolicy
base:
apiVersion: s3.aws.crossplane.io/v1alpha3
kind: BucketPolicy
metadata:
labels:
commonLabelA: commonLabelAValue
commonLabelB: commonLabelBValue
spec:
forProvider: {}
providerConfigRef:
name: default
patches:
- type: PatchSet
patchSetName: Name
- type: PatchSet
patchSetName: Common
- type: PatchSet
patchSetName: Parameters
- type: PatchSet
patchSetName: Labels
- 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
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.