Skip to content

Commit

Permalink
update test and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matkam committed May 29, 2024
1 parent 88bfa60 commit 6b0d792
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- --domain-filter=external-dns-test.my-org.com
- --aws-zone-type=public
- --registry=txt
- --fqdn-template={{replaceAll .Name "." "-"}}.external-dns-test.my-org.com
- --fqdn-template={{.Name | replace "." "-"}}.external-dns-test.my-org.com
- --txt-owner-id=my-identifier
- --policy=sync
- --log-level=debug
Expand Down Expand Up @@ -109,7 +109,7 @@ spec:
- --domain-filter=external-dns-test.my-org.com
- --aws-zone-type=public
- --registry=txt
- --fqdn-template={{replaceAll .Name "." "-"}}.external-dns-test.my-org.com
- --fqdn-template={{.Name | replace "." "-"}}.external-dns-test.my-org.com
- --txt-owner-id=my-identifier
- --policy=sync
- --log-level=debug
Expand Down
2 changes: 1 addition & 1 deletion source/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func testNodeSourceNewNodeSource(t *testing.T) {
{
title: "complex template",
expectError: false,
fqdnTemplate: "{{range .Status.Addresses}}{{if and (eq .Type \"ExternalIP\") (isIPv4 .Address)}}{{replaceAll .Address \".\" \"-\"}}{{break}}{{end}}{{end}}.ext-dns.test.com",
fqdnTemplate: "{{range .Status.Addresses}}{{if and (eq .Type \"ExternalIP\") (isIPv4 .Address)}}{{.Address | replace \".\" \"-\"}}{{break}}{{end}}{{end}}.ext-dns.test.com",
},
{
title: "non-empty annotation filter label",
Expand Down

0 comments on commit 6b0d792

Please sign in to comment.