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