Skip to content

Commit

Permalink
feat(cloudfront): Add OriginalAccessControl controller
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Millán <[email protected]>

This adds the missing CloudFront:OriginAccessControl type, most of the
changes are autogenerated except the `originaccesscontrol/setup.go` file
in the CloudFront controller.

It validates additionally the specific enums for the `OriginType`,
`SigningBehavior` and `SigningProtocol` as well as the length of the
name of the AWS resource
  • Loading branch information
jbcjorge committed Nov 4, 2024
1 parent 64d009a commit 8b9a392
Show file tree
Hide file tree
Showing 13 changed files with 1,686 additions and 15 deletions.
1 change: 0 additions & 1 deletion apis/cloudfront/generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ignore:
- FieldLevelEncryptionConfig
- Function
- ContinuousDeploymentPolicy
- OriginAccessControl
field_paths:
- Origins.Quantity
- Aliases.Quantity
Expand Down
3 changes: 3 additions & 0 deletions apis/cloudfront/v1alpha1/custom_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ type CustomDistributionParameters struct{}
// CustomCachePolicyParameters includes the custom fields of CachePolicy.
type CustomCachePolicyParameters struct{}

// CustomOriginAccessControlParameters includes the custom fields of OriginAccessControl.
type CustomOriginAccessControlParameters struct{}

// CustomCloudFrontOriginAccessIdentityParameters includes the custom fields of CloudFrontOriginAccessIdentityParameters.
type CustomCloudFrontOriginAccessIdentityParameters struct{}

Expand Down
221 changes: 213 additions & 8 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.

60 changes: 60 additions & 0 deletions apis/cloudfront/v1alpha1/zz_generated.managed.go

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

9 changes: 9 additions & 0 deletions apis/cloudfront/v1alpha1/zz_generated.managedlist.go

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

Loading

0 comments on commit 8b9a392

Please sign in to comment.