Skip to content

Commit

Permalink
feat(tag): add tag for public subnets (#3)
Browse files Browse the repository at this point in the history
* feat(tag): add tag for public subnets

Signed-off-by: Christopher Haar <[email protected]>

* style(order): re-order the new patchset

Signed-off-by: Christopher Haar <[email protected]>

---------

Signed-off-by: Christopher Haar <[email protected]>
  • Loading branch information
haarchri authored Oct 24, 2023
1 parent 73bd3ac commit 20e5bf4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apis/basic/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ spec:
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.id
toFieldPath: metadata.labels[networks.aws.platform.upbound.io/network-id]
- name: network-id-tags
patches:
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.id
toFieldPath: spec.forProvider.tags[networks.aws.platform.upbound.io/network-id]
- name: region
patches:
- type: FromCompositeFieldPath
Expand Down Expand Up @@ -93,6 +98,8 @@ spec:
patchSetName: deletionPolicy
- type: PatchSet
patchSetName: network-id
- type: PatchSet
patchSetName: network-id-tags
- type: PatchSet
patchSetName: region
- fromFieldPath: spec.parameters.region
Expand Down Expand Up @@ -132,6 +139,8 @@ spec:
patchSetName: deletionPolicy
- type: PatchSet
patchSetName: network-id
- type: PatchSet
patchSetName: network-id-tags
- type: PatchSet
patchSetName: region
- fromFieldPath: spec.parameters.region
Expand Down

0 comments on commit 20e5bf4

Please sign in to comment.