Skip to content

Commit

Permalink
Deduce "quantity" field from the length of items
Browse files Browse the repository at this point in the history
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
  • Loading branch information
ezgidemirel committed Mar 2, 2022
1 parent 8d53969 commit d09e480
Show file tree
Hide file tree
Showing 12 changed files with 344 additions and 655 deletions.
16 changes: 16 additions & 0 deletions apis/cloudfront/generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,20 @@ ignore:
field_paths:
- DistributionConfig.CallerReference
- Origins.Quantity
- Aliases.Quantity
- CustomErrorResponses.Quantity
- GeoRestriction.Quantity
- AllowedMethods.Quantity
- CachedMethods.Quantity
- Headers.Quantity
- QueryStringCacheKeys.Quantity
- LambdaFunctionAssociations.Quantity
- TrustedKeyGroups.Quantity
- TrustedSigners.Quantity
- CacheBehaviors.Quantity
- CachedMethods.Quantity
- OriginGroups.Quantity
- StatusCodes.Quantity
- CustomHeaders.Quantity
- OriginSslProtocols.Quantity
- OriginAccessIdentityConfig.CallerReference
75 changes: 0 additions & 75 deletions apis/cloudfront/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions apis/cloudfront/v1alpha1/zz_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions package/crds/cloudfront.aws.crossplane.io_cachepolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ spec:
items:
type: string
type: array
quantity:
format: int64
type: integer
type: object
type: object
queryStringsConfig:
Expand Down Expand Up @@ -298,9 +295,6 @@ spec:
items:
type: string
type: array
quantity:
format: int64
type: integer
type: object
type: object
queryStringsConfig:
Expand Down

0 comments on commit d09e480

Please sign in to comment.