Annotation key/value pairs must be strings

As-is, following the docs results in the following error:

```
json: cannot unmarshal number into Go struct field ObjectMeta.metadata.annotations of type string
```

Signed-off-by: Michael Shen <mishen@umich.edu>
This commit is contained in:
Michael Shen 2024-08-15 22:37:10 -04:00
parent 1b5c9d3d3b
commit 4595e0d5ef
No known key found for this signature in database
GPG Key ID: 12CC712F576BDFEE

View File

@ -221,7 +221,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:
...
```