mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
add section on constants being camel case
This commit is contained in:
parent
4cd59e629a
commit
e3544edeea
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user