This dir contains seven Kubernetes manifest files, each with a different misconfiguration:
wrong: apiVersion: apps/v1beta2
correct: apiVersion: apps/v1
reason: apps/v1beta2
was deprecated for resource type "Deployment" in Kubernetes version 1.18.0
wrong: kind: pod
correct: kind: Pod
reason: resource type must start with a capita letter - Pod
wrong: owner: ---
correct: owner: frodo-baggins
reason: labels values must start and end with an alphanumeric letter
wrong: protocol: 22
correct: protocol: TCP
reason: protocol type must be a string
wrong: Spec:
correct: spec:
reason: spec
must start with a small 's'
wrong:
containers:
- name: web
correct:
containers:
- name: web
image: nginx
reason: each container must include an image name
wrong:
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: TCP
correct:
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: TCP
reason: Kubernetes\YAML indentation requires one tab space when listing containers