@@ -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,9 +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" ,
742- "foo" : "bar" ,
737+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
743738 },
744739 },
745740 {
@@ -780,8 +775,7 @@ func TestServiceAnnotations(t *testing.T) {
780775 "external-dns.alpha.kubernetes.io/hostname" : "wrong.external-dns-name.example.com" ,
781776 },
782777 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" ,
778+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
785779 },
786780 },
787781 {
@@ -792,8 +786,7 @@ func TestServiceAnnotations(t *testing.T) {
792786 serviceAnnotations : make (map [string ]string ),
793787 operatorAnnotations : make (map [string ]string ),
794788 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" ,
789+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg.test.db.example.com,test-stg.acid.db.example.com" ,
797790 },
798791 },
799792 {
@@ -835,8 +828,7 @@ func TestServiceAnnotations(t *testing.T) {
835828 operatorAnnotations : make (map [string ]string ),
836829 serviceAnnotations : make (map [string ]string ),
837830 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" ,
831+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
840832 },
841833 },
842834 {
@@ -857,8 +849,7 @@ func TestServiceAnnotations(t *testing.T) {
857849 operatorAnnotations : make (map [string ]string ),
858850 serviceAnnotations : make (map [string ]string ),
859851 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" ,
852+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
862853 },
863854 },
864855 {
@@ -869,8 +860,7 @@ func TestServiceAnnotations(t *testing.T) {
869860 operatorAnnotations : make (map [string ]string ),
870861 serviceAnnotations : map [string ]string {"foo" : "bar" },
871862 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" ,
863+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
874864 "foo" : "bar" ,
875865 },
876866 },
@@ -892,8 +882,7 @@ func TestServiceAnnotations(t *testing.T) {
892882 operatorAnnotations : map [string ]string {"foo" : "bar" },
893883 serviceAnnotations : make (map [string ]string ),
894884 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" ,
885+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
897886 "foo" : "bar" ,
898887 },
899888 },
@@ -935,8 +924,7 @@ func TestServiceAnnotations(t *testing.T) {
935924 "external-dns.alpha.kubernetes.io/hostname" : "wrong.external-dns-name.example.com" ,
936925 },
937926 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" ,
927+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
940928 },
941929 },
942930 {
@@ -947,8 +935,7 @@ func TestServiceAnnotations(t *testing.T) {
947935 serviceAnnotations : make (map [string ]string ),
948936 operatorAnnotations : make (map [string ]string ),
949937 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" ,
938+ "external-dns.alpha.kubernetes.io/hostname" : "acid-test-stg-repl.test.db.example.com,test-stg-repl.acid.db.example.com" ,
952939 },
953940 },
954941 {
0 commit comments