add quotes to ttl example to force string context

Annotation values may not be an integer, they must be handled as a
string.  The current example tested on k8s 1.20.13 generates this error
message:

    json: cannot unmarshal number into Go struct field ObjectMeta.metadata.annotations of type string
This commit is contained in:
Joshua Hoblitt 2022-01-14 12:14:28 -07:00
parent 98393df742
commit 14a6603798

View File

@ -383,7 +383,7 @@ metadata:
name: nginx
annotations:
external-dns.alpha.kubernetes.io/hostname: nginx.external-dns-test.my-org.com
external-dns.alpha.kubernetes.io/ttl: 60
external-dns.alpha.kubernetes.io/ttl: "60"
spec:
...
```