Skip to content

CloudFront Controller - Add the possibility to publish a CloudFront Function #2667

@remmercier

Description

@remmercier

Is your feature request related to a problem?
Currently, it's possible to create a CloudFront Function with ACK Cloudfront controller but we can't set it into published state.

Describe the solution you'd like
Add a field publish. The default value should be false.

---
apiVersion: cloudfront.services.k8s.aws/v1alpha1
kind: Function
metadata:
  name: string
spec:
  functionCode: string
  functionConfig: 
    comment: string
    runtime: string
  name: string
publish: boolean

Describe alternatives you've considered
Use a Cronjob that runs every 5 minutes to automatically publish unpublished functions with aws CLI tool

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.service/cloudfrontIndicates issues or PRs that are related to cloudfront-controller.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions