• Kevin J. Qiu's avatar
    Allow specifying a custom TTL through annotation on Ingress or Service (#320) · 71723bdd
    Kevin J. Qiu authored
    * Add RecordTTL
    
    * Route53: test for custom TTL
    
    * Fix tests
    
    * Fix remaining tests
    
    * Add ttl when endpoint is created from ingress
    
    * Missed a word
    
    * Fix bad refactoring
    
    * Add ingress custom TTL test
    
    * gofmt
    
    * Satisfy go-lint
    
    * Unshadow `endpoint` in azure provider
    
    * Fix and add an output test
    
    * Add TTL for endpoints generated from service templates
    
    * Take TTL into account when generating update plan
    
    * Tests for TTL change impact on the plan
    
    * Refactor factory method name
    
    * Refactoring
    
    * Run gofmt
    
    * Make endpoint string format look like BIND config
    
    * Update plan and plan_test
    
    * Replace NewEndpointWithTTLValue with NewEndpointWithTTL in aws
    
    * Remove NewEndpointWithTTLValue func
    
    * Update references to TTL
    
    * Remove getTTLValue func
    
    * Handle merge conflict
    
    * Update tests
    
    * Update README, CHANGELOG and documentation
    
    * Run gofmt
    
    * Move getTTLFromAnnotations to a common file
    
    * Refactor getTTLFromAnnotations
    
    * Gofmt
    
    * Add tests for getTTLFromAnnotations
    
    * Trigger build
    
    * Add boilerplate header
    
    * Update README/CHANGELOG according to code review
    
    * Add ttl.md and link it from README
    
    * change CNAME string to endpoint.RecordTypeCNAME
    
    * fix test cases with AWS ALIAS records, these do not behave different in these tests
    71723bdd