crossplane-contrib / provider-upjet-aws

Official AWS Provider for Crossplane by Upbound.
https://marketplace.upbound.io/providers/upbound/provider-aws
Apache License 2.0
137 stars 112 forks source link

Add example manifests for the converted singleton list API versions #1334

Closed ulucinar closed 3 weeks ago

ulucinar commented 1 month ago

Description of your changes

Depends on:

This PR introduces the example manifests for the converted singleton list API versions. It also:

An example conversion is as follows: The old (v1beta1) NodeGroup.eks API:

apiVersion: eks.aws.upbound.io/v1beta1
kind: NodeGroup
metadata:
  name: sample-eks-ng
spec:
  forProvider:
    region: us-west-1
    clusterNameRef: 
      name: sample-eks-cluster
    nodeRoleArnRef:
      name: sample-node-role
    subnetIdRefs:
      - name: sample-subnet1
      - name: sample-subnet2
    scalingConfig:
      - minSize: 1
        maxSize: 1
        desiredSize: 1

The new v1beta2 API for this resource:

apiVersion: eks.aws.upbound.io/v1beta2
kind: NodeGroup
metadata:
  annotations:
    meta.upbound.io/example-id: eks/v1beta2/nodegroup
  name: sample-eks-ng
spec:
  forProvider:
    region: us-west-1
    clusterNameRef:
      name: sample-eks-cluster
    nodeRoleArnRef:
      name: sample-node-role
    subnetIdRefs:
      - name: sample-subnet1
      - name: sample-subnet2
    scalingConfig:
      minSize: 1
      maxSize: 1
      desiredSize: 1

Please note the converted singleton list spec.forProvider.scalingConfig as usual. The converted versions have been converted using upjet's example manifest singleton list conversion utility. See https://github.com/crossplane/upjet/pull/397 for further details.

I have:

How has this code been tested

ulucinar commented 1 month ago

/test-examples="examples/opensearchserverless/v1beta1/securityconfig.yaml"

ulucinar commented 1 month ago

/test-examples="examples/eks/v1beta2/nodegroup.yaml"

ulucinar commented 1 month ago

/test-examples="examples/ec2/v1beta2/vpcendpoint.yaml"

ulucinar commented 1 month ago

/test-examples="examples/eks/v1beta2/nodegroup.yaml"

ulucinar commented 1 month ago

/test-examples="examples/ec2/v1beta2/vpcendpoint.yaml"

ulucinar commented 1 month ago

/test-examples="examples/opensearchserverless/v1beta1/securityconfig.yaml"

turkenf commented 1 month ago

/test-examples="examples/backup/v1beta2/plan.yaml"

turkenf commented 1 month ago

/test-examples="examples/cloudfront/v1beta2/fieldlevelencryptionconfig.yaml"

turkenf commented 1 month ago

/test-examples="examples/elasticache/v1beta2/replicationgroup.yaml"

turkenf commented 1 month ago

/test-examples="examples/eks/v1beta2/nodepool.yaml"

turkenf commented 1 month ago

/test-examples="examples/ec2/v1beta2/route.yaml"

turkenf commented 1 month ago

/test-examples="examples/glue/v1beta2/job.yaml"

turkenf commented 1 month ago

/test-examples="examples/connect/v1beta2/routingprofile.yaml"

turkenf commented 1 month ago

/test-examples="examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml"

turkenf commented 1 month ago

/test-examples="examples/autoscaling/v1beta2/attachment.yaml"

turkenf commented 1 month ago

/test-examples="examples/apigateway/v1beta2/stage.yaml"

turkenf commented 1 month ago

/test-examples="examples/apigateway/v1beta2/usageplan.yaml"

turkenf commented 1 month ago

/test-examples="examples/apigateway/v1beta2/stage.yaml"

turkenf commented 1 month ago

/test-examples="examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml"

turkenf commented 1 month ago

/test-examples="examples/cloudfront/v1beta2/fieldlevelencryptionconfig.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/opensearchserverless/v1beta1/securityconfig.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/eks/v1beta2/nodegroup.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/transfer/v1beta1/connector.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/transfer/v1beta2/connector.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/apigateway/v1beta2/stage.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/apigateway/v1beta2/usageplan.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/apigateway/v1beta2/methodsettings.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/apigateway/v1beta2/methodsettings.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/apigateway/v1beta2/usageplan.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/apigateway/v1beta2/methodsettings.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/ec2/v1beta2/instance.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/elasticbeanstalk/v1beta2/application.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/elasticbeanstalk/v1beta2/application.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/firehose/v1beta2/deliverystream.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/fis/v1beta2/experimenttemplate.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/elasticsearch/v1beta2/domain.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/elasticbeanstalk/v1beta1/application.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/elasticbeanstalk/v1beta2/application.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/autoscaling/v1beta2/attachment.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/elasticache/v1beta2/replicationgroup.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/cloudfront/v1beta2/fieldlevelencryptionconfig.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/backup/v1beta2/plan.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/eks/v1beta2/nodepool.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/firehose/v1beta2/deliverystream.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/eks/v1beta2/nodegroup.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml"

turkenf commented 3 weeks ago

/test-examples="examples/ec2/v1beta2/instance.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/ec2/v1beta2/instance.yaml"

ulucinar commented 3 weeks ago

/test-examples="examples/opensearchserverless/v1beta1/securityconfig.yaml"