forked from crossplane-contrib/x-generation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request crossplane-contrib#23 from akesser/feature/patchName
Feature/patch name
- Loading branch information
Showing
19 changed files
with
495 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
package/IAM-RolePolicyAttachment/composition-rolepolicyattachment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
package/Kafka/composition-configuration.yaml → ...figuration/composition-configuration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
## WARNING: This file was autogenerated! | ||
## Manual modifications will be overwritten | ||
## unless ignore: true is set in generate.yaml! | ||
## Last Modification: 07:52:43 on 08-30-2023. | ||
|
||
apiVersion: apiextensions.crossplane.io/v1 | ||
kind: Composition | ||
metadata: | ||
labels: | ||
example.cloud/provider: sop | ||
name: compositetopicacl.kafka.aws.example.cloud | ||
spec: | ||
compositeTypeRef: | ||
apiVersion: kafka.aws.example.cloud/v1alpha1 | ||
kind: CompositeTopicAcl | ||
patchSets: | ||
- name: Common | ||
patches: | ||
- fromFieldPath: metadata.labels['crossplane.io/claim-name'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['crossplane.io/claim-name'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['crossplane.io/claim-namespace'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['crossplane.io/claim-namespace'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['crossplane.io/composite'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['crossplane.io/composite'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['external-name'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['external-name'] | ||
type: FromCompositeFieldPath | ||
- name: Parameters | ||
patches: | ||
- fromFieldPath: spec.deletionPolicy | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.deletionPolicy | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourceHost | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourceHost | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourceName | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourceName | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourceOperation | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourceOperation | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourcePatternTypeFilter | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourcePatternTypeFilter | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourcePermissionType | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourcePermissionType | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourcePrincipal | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourcePrincipal | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.forProvider.resourceType | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.forProvider.resourceType | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.providerConfigRef.name | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.providerConfigRef.name | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.providerConfigRef.policy.resolution | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.providerConfigRef.policy.resolution | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.providerConfigRef.policy.resolve | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.providerConfigRef.policy.resolve | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.configRef.name | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.configRef.name | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.metadata.annotations | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.metadata.annotations | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.metadata.labels | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.metadata.labels | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.metadata.type | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.metadata.type | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: spec.publishConnectionDetailsTo.name | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: spec.publishConnectionDetailsTo.name | ||
type: FromCompositeFieldPath | ||
- name: Labels | ||
patches: | ||
- fromFieldPath: metadata.labels['controlling.example.cloud/cost-reference'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['controlling.example.cloud/cost-reference'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['controlling.example.cloud/owner'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['controlling.example.cloud/owner'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['controlling.example.cloud/product'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['controlling.example.cloud/product'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['tags.example.cloud/account'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['tags.example.cloud/account'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['tags.example.cloud/environment'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['tags.example.cloud/environment'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['tags.example.cloud/protection-requirement'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['tags.example.cloud/protection-requirement'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['tags.example.cloud/repourl'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['tags.example.cloud/repourl'] | ||
type: FromCompositeFieldPath | ||
- fromFieldPath: metadata.labels['tags.example.cloud/zone'] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: metadata.labels['tags.example.cloud/zone'] | ||
type: FromCompositeFieldPath | ||
resources: | ||
- base: | ||
apiVersion: acl.kafka.crossplane.io/v1alpha1 | ||
kind: AccessControlList | ||
metadata: | ||
labels: | ||
commonLabelA: commonLabelAValue | ||
commonLabelB: commonLabelBValue | ||
spec: | ||
forProvider: {} | ||
providerConfigRef: | ||
name: default | ||
name: AccessControlList | ||
patches: | ||
- patchSetName: Common | ||
type: PatchSet | ||
- patchSetName: Parameters | ||
type: PatchSet | ||
- patchSetName: Labels | ||
type: PatchSet | ||
- fromFieldPath: status.atProvider.id | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: status.atProvider.id | ||
type: ToCompositeFieldPath | ||
- fromFieldPath: metadata.annotations["crossplane.io/external-name"] | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: status.uid | ||
type: ToCompositeFieldPath | ||
- fromFieldPath: status.conditions | ||
policy: | ||
fromFieldPath: Optional | ||
toFieldPath: status.observed.conditions | ||
type: ToCompositeFieldPath |
Oops, something went wrong.