generated from amazon-archives/__template_Apache-2.0
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 271
 
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.service/cloudfrontIndicates issues or PRs that are related to cloudfront-controller.Indicates issues or PRs that are related to cloudfront-controller.
Description
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: booleanDescribe 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.Categorizes issue or PR as related to a new feature.service/cloudfrontIndicates issues or PRs that are related to cloudfront-controller.Indicates issues or PRs that are related to cloudfront-controller.