mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
* Forbid duplicate keys in strict mode Prevents specifying duplicate keys using UnmarshallStrict: https://pkg.go.dev/gopkg.in/yaml.v2#UnmarshalStrict * Add acceptance tests for duplicated properties
18 lines
280 B
YAML
18 lines
280 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: nginx-ds
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: nginx-ds
|
|
template:
|
|
spec:
|
|
containers:
|
|
- image: envoy
|
|
name: envoy
|
|
containers:
|
|
- image: nginx
|
|
name: nginx
|