Silently dropped wrong/extra fields in YAML syntax check in RHACM

Solution Verified - Updated -

Issue

The syntax checker in Kubernetes do not stop and do not raise error when find key, which is not allowed in checked context. This key is silently dropped.

This can cause unexpected behavior of created policy caused by typing error.

Environment

  • Red Hat Advanced Cluster Management for Kubernetes (RHACM)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content