• Yerken's avatar
    [PR-156 follow-up] Generate endpoints hostnames if go-template is specified (#160) · 25eef915
    Yerken authored
    * add --fqdn-template
    
    * add missing ,
    
    * gofmt
    
    * no endpoint creation on empty fqdntemplate
    
    * improve test coverage
    
    * gofmt simple on service_test.go and ingress_test.go
    
    * import package order changed
    
    * gofmt
    
    * refactor to generate template in the source init
    
    * refactor for err handling
    
    * fix service tests
    
    * fix wrong check, check for priorities, mate > template
    
    * fix tests, check for controller annotation in the right place
    
    * add to changelog
    
    * add flag description, improve testing, reorganize imports
    
    * review changes: log the error, use text/template, change func interface
    25eef915