Merge pull request #5067 from lavalamp/fix4

add section on constants being camel case
This commit is contained in:
Eric Tune 2015-03-04 16:49:01 -08:00
commit 4f12f4fe03

View File

@ -111,6 +111,9 @@ ports:
This rule maintains the invariant that all JSON/YAML keys are fields in API objects. The only exceptions are pure maps in the API (currently, labels, selectors, and annotations), as opposed to sets of subobjects.
#### Constants
Some fields will have a list of allowed values (enumerations). These values will be strings, and they will be in CamelCase, with an initial uppercase letter. Examples: "ClusterFirst", "Pending", "ClientIP".
### Lists and Simple kinds