Added possibility to add custom annotations to LoadBalancer service. (#461)

* Added possibility to add custom annotations to LoadBalancer service.
This commit is contained in:
Armin Nesiren
2019-01-25 11:35:27 +01:00
committed by Sergey Dudoladov
parent 9c7558816c
commit 6f6a599c90
8 changed files with 23 additions and 3 deletions
+1
View File
@@ -93,6 +93,7 @@ type Config struct {
EnableAdminRoleForUsers bool `name:"enable_admin_role_for_users" default:"true"`
EnableMasterLoadBalancer bool `name:"enable_master_load_balancer" default:"true"`
EnableReplicaLoadBalancer bool `name:"enable_replica_load_balancer" default:"false"`
CustomServiceAnnotations map[string]string `name:"custom_service_annotations"`
// deprecated and kept for backward compatibility
EnableLoadBalancer *bool `name:"enable_load_balancer"`
MasterDNSNameFormat StringTemplate `name:"master_dns_name_format" default:"{cluster}.{team}.{hostedzone}"`