@@ -680,8 +680,7 @@ func TestServiceAnnotations(t *testing.T) {
680680 operatorAnnotations : make (map [string ]string ),
681681 serviceAnnotations : make (map [string ]string ),
682682 expect : map [string ]string {
683- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
684- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
683+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
685684 },
686685 },
687686 {
@@ -702,8 +701,7 @@ func TestServiceAnnotations(t *testing.T) {
702701 operatorAnnotations : make (map [string ]string ),
703702 serviceAnnotations : make (map [string ]string ),
704703 expect : map [string ]string {
705- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
706- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
704+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
707705 },
708706 },
709707 {
@@ -714,8 +712,7 @@ func TestServiceAnnotations(t *testing.T) {
714712 operatorAnnotations : make (map [string ]string ),
715713 serviceAnnotations : map [string ]string {"foo" : "bar" },
716714 expect : map [string ]string {
717- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
718- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
715+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
719716 "foo" : "bar" ,
720717 },
721718 },
@@ -737,8 +734,7 @@ func TestServiceAnnotations(t *testing.T) {
737734 operatorAnnotations : map [string ]string {"foo" : "bar" },
738735 serviceAnnotations : make (map [string ]string ),
739736 expect : map [string ]string {
740- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
741- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
737+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
742738 "foo" : "bar" ,
743739 },
744740 },
@@ -780,8 +776,7 @@ func TestServiceAnnotations(t *testing.T) {
780776 "external-dns.alpha.kubernetes.io/hostname" : "wrong.external-dns-name.example.com" ,
781777 },
782778 expect : map [string ]string {
783- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
784- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
779+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
785780 },
786781 },
787782 {
@@ -792,8 +787,7 @@ func TestServiceAnnotations(t *testing.T) {
792787 serviceAnnotations : make (map [string ]string ),
793788 operatorAnnotations : make (map [string ]string ),
794789 expect : map [string ]string {
795- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
796- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
790+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
797791 },
798792 },
799793 {
@@ -835,8 +829,7 @@ func TestServiceAnnotations(t *testing.T) {
835829 operatorAnnotations : make (map [string ]string ),
836830 serviceAnnotations : make (map [string ]string ),
837831 expect : map [string ]string {
838- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
839- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
832+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
840833 },
841834 },
842835 {
@@ -857,8 +850,7 @@ func TestServiceAnnotations(t *testing.T) {
857850 operatorAnnotations : make (map [string ]string ),
858851 serviceAnnotations : make (map [string ]string ),
859852 expect : map [string ]string {
860- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
861- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
853+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
862854 },
863855 },
864856 {
@@ -869,8 +861,7 @@ func TestServiceAnnotations(t *testing.T) {
869861 operatorAnnotations : make (map [string ]string ),
870862 serviceAnnotations : map [string ]string {"foo" : "bar" },
871863 expect : map [string ]string {
872- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
873- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
864+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
874865 "foo" : "bar" ,
875866 },
876867 },
@@ -892,8 +883,7 @@ func TestServiceAnnotations(t *testing.T) {
892883 operatorAnnotations : map [string ]string {"foo" : "bar" },
893884 serviceAnnotations : make (map [string ]string ),
894885 expect : map [string ]string {
895- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
896- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
886+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
897887 "foo" : "bar" ,
898888 },
899889 },
@@ -935,8 +925,7 @@ func TestServiceAnnotations(t *testing.T) {
935925 "external-dns.alpha.kubernetes.io/hostname" : "wrong.external-dns-name.example.com" ,
936926 },
937927 expect : map [string ]string {
938- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
939- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
928+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
940929 },
941930 },
942931 {
@@ -947,8 +936,7 @@ func TestServiceAnnotations(t *testing.T) {
947936 serviceAnnotations : make (map [string ]string ),
948937 operatorAnnotations : make (map [string ]string ),
949938 expect : map [string ]string {
950- "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
951- "service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout" : "3600" ,
939+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
952940 },
953941 },
954942 {
0 commit comments