Open yogeek opened 2 months ago
cat <<EOF | kubeconform - apiVersion: v1 kind: Pod metadata: names: myapp # <====== "names" instead of "name" labels: name: myapp spec: containers: - name: myapp image: <Image> EOF # !!! no error !!!
Even if I remove the "name" field entirely, no error in kubeconform...
cat <<EOF | kubeconform - apiVersion: v1 kind: Pod metadata: # no name field !!! labels: name: myapp spec: containers: - name: myapp image: <Image> EOF # !!! no error !!!
Tested with kubeconform 0.6.6 and 0.6.7 (installed with devbox)
Even if I remove the "name" field entirely, no error in kubeconform...
Tested with kubeconform 0.6.6 and 0.6.7 (installed with devbox)