Closed AndiDog closed 3 years ago
Hey, thanks for the report and the good example.
In addition to the panic (which should not happen), the input also seems to be invalid.
To get your ingress to work, you should also change the definition to the following:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: whatever
spec:
rules:
- host: abc.example.test
http:
paths:
- path: /
backend:
service:
name: abc
port: def
API reference: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#ingressbackend-v1-networking-k8s-io
Which version of kube-score are you using?
kube-score version: 1.10.0, commit: 95faa2ad082e05d8b7637d0bd5e1ae00d1550260, built: 2020-11-07T14:17:50Z
What did you do?
Minimal example:
What did you expect to see?
Scoring.
What did you see instead?
Also fails with
apiVersion: extensions/v1beta1
. Works withapiVersion: networking.k8s.io/v1beta1
.