kubeconform --summary ./mying.yaml
Summary: 1 resource found in 1 file - Valid: 1, Invalid: 0, Errors: 0, Skipped: 0
But good to notice kubectl is also not valiating correctly
k apply -f mying.yaml --dry-run=client --validate
ingress.networking.k8s.io/myapp created (dry run)
But the admission controller does not let it pass
k apply -f mying.yaml --dry-run=server --validate
The Ingress "myapp" is invalid: metadata.annotations: Invalid value: "cert-manager.io/cluster-issuer\"": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')
kubeconform fails to detect invalid annotations :
ex:
But good to notice kubectl is also not valiating correctly
But the admission controller does not let it pass