mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
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:
parent
1b5c9d3d3b
commit
4595e0d5ef
@ -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:
|
||||
...
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user