You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.Example deeply nested key with full context for `.ports` array
@@ -1322,7 +1322,7 @@ spec:
1322
1322
----
1323
1323
1324
1324
==== Formatting
1325
-
Use the following conventions govern the layout of YAML for API objects.
1325
+
The following conventions govern the layout of YAML for API objects:
1326
1326
1327
1327
- Begin YAML at the beginning of the left margin.
1328
1328
- Use two-space indentation.
@@ -1335,7 +1335,8 @@ fieldName: |-
1335
1335
This is a string.
1336
1336
And it can be on multiple lines.
1337
1337
----
1338
-
- When truncating YAML, always precede an ellipsis with a pound so that the YAML is valid.
1338
+
- When truncating YAML, comment out the ellipsis (`# ...`) because three dots (`...`) in YAML is actually a link:https://yaml.org/spec/1.2.2/#22-structures[document end marker].
1339
+
- Use three hyphens (`---`) to separate YAML definitions in a single YAML file.
1339
1340
1340
1341
.Example with array indentation flush with parent field
0 commit comments