Skip to content

Commit

Permalink
Annotation key/value pairs must be strings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mjlshen committed Aug 16, 2024
1 parent 1b5c9d3 commit 4595e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/aws-sd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
...
```
Expand Down

0 comments on commit 4595e0d

Please # to comment.