Skip to content

Commit

Permalink
Merge pull request #1313 from ministryofjustice/fix-go-ing
Browse files Browse the repository at this point in the history
Fix go tests which have external-dns annotation
  • Loading branch information
vijay-veeranki authored Aug 6, 2021
2 parents ddeb678 + e0a626f commit a484abd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/modsec_ingress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ var _ = Describe("Modsec Ingress", func() {
TemplateVars := map[string]interface{}{
"ingress_annotations": map[string]string{
"kubernetes.io/ingress.class": "modsec01",
"external-dns.alpha.kubernetes.io/aws-weight": "100",
"external-dns.alpha.kubernetes.io/set-identifier": "dns-test",
"external-dns.alpha.kubernetes.io/aws-weight": "\"100\"",
"external-dns.alpha.kubernetes.io/set-identifier": "\"dns-test\"",
"nginx.ingress.kubernetes.io/enable-modsecurity": "\"true\"",
"nginx.ingress.kubernetes.io/modsecurity-snippet": "|\n SecRuleEngine On",
},
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/nginx_ingress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ var _ = Describe("Nginx Ingress", func() {
TemplateVars := map[string]interface{}{
"ingress_annotations": map[string]string{
"kubernetes.io/ingress.class": "nginx",
"external-dns.alpha.kubernetes.io/aws-weight": "100",
"external-dns.alpha.kubernetes.io/set-identifier": "dns-test",
"external-dns.alpha.kubernetes.io/aws-weight": "\"100\"",
"external-dns.alpha.kubernetes.io/set-identifier": "\"dns-test\"",
},
"host": host,
}
Expand Down

0 comments on commit a484abd

Please sign in to comment.