@@ -2,22 +2,23 @@ package test
22
33import (
44 "context"
5- "testing"
65 "fmt"
76 "strings"
7+ "testing"
88 "time"
9+
910 "github.com/cloudposse/test-helpers/pkg/atmos"
10- "github.com/cloudposse/test-helpers/pkg/helm"
11- awsHelper "github.com/cloudposse/test-helpers/pkg/aws"
1211 helper "github.com/cloudposse/test-helpers/pkg/atmos/component-helper"
12+ awsHelper "github.com/cloudposse/test-helpers/pkg/aws"
13+ "github.com/cloudposse/test-helpers/pkg/helm"
1314 awsTerratest "github.com/gruntwork-io/terratest/modules/aws"
1415 "github.com/gruntwork-io/terratest/modules/random"
1516
1617 "github.com/stretchr/testify/assert"
1718
1819 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
19- "k8s.io/apimachinery/pkg/runtime/schema"
2020 "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
21+ "k8s.io/apimachinery/pkg/runtime/schema"
2122
2223 "k8s.io/client-go/dynamic"
2324)
@@ -65,15 +66,14 @@ func (s *ComponentSuite) TestBasic() {
6566
6667 metadata := metadataArray [0 ]
6768
68- assert .Equal (s .T (), metadata .AppVersion , "0.14 .0" )
69+ assert .Equal (s .T (), metadata .AppVersion , "0.18 .0" )
6970 assert .Equal (s .T (), metadata .Chart , "external-dns" )
7071 assert .NotNil (s .T (), metadata .FirstDeployed )
7172 assert .NotNil (s .T (), metadata .LastDeployed )
7273 assert .Equal (s .T (), metadata .Name , "external-dns" )
7374 assert .Equal (s .T (), metadata .Namespace , namespace )
7475 assert .NotNil (s .T (), metadata .Values )
75- assert .Equal (s .T (), metadata .Version , "6.33.0" )
76-
76+ assert .Equal (s .T (), metadata .Version , "1.18.0" )
7777
7878 config , err := awsHelper .NewK8SClientConfig (cluster )
7979 assert .NoError (s .T (), err )
@@ -97,13 +97,13 @@ func (s *ComponentSuite) TestBasic() {
9797 "apiVersion" : "externaldns.k8s.io/v1alpha1" ,
9898 "kind" : "DNSEndpoint" ,
9999 "metadata" : map [string ]interface {}{
100- "name" : dnsEndpointName ,
100+ "name" : dnsEndpointName ,
101101 "namespace" : namespace ,
102102 },
103103 "spec" : map [string ]interface {}{
104104 "endpoints" : []interface {}{
105105 map [string ]interface {}{
106- "dnsName" : dnsRecordHostName ,
106+ "dnsName" : dnsRecordHostName ,
107107 "recordTTL" : 300 ,
108108 "recordType" : "A" ,
109109 "targets" : []interface {}{
0 commit comments