Open aireilly opened 2 months ago
Thanks Aidan - could include resourceName
too. And I guess any field we think could potentially contain customer sensitive data/names.
Slightly related might be a rule for something like this "lab.eng.*redhat.com" which might indicate an internal only resource
Sometimes CR names include customer sensitive information. For example:
Write a vale rule that highlights any CR name field that does not match the following best practice naming (pseudo code below), and suggest the best practice when it is not found:
example-$(to_kebab_case(value_of(kind))
, or in the above example,example-sriov-network-node-policy
https://vale.sh/docs/topics/actions/
Would also need an update to https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#yaml-formatting-for-kubernetes-and-openshift-api-objects around naming conventions in CRs