-
Bug
-
Resolution: Unresolved
-
Undefined
-
4.20
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
None
-
None
-
In Progress
-
Bug Fix
-
Previously, the YAML editor in the web console would default to indenting YAML files with 4 spaces. With this release, the default indentation has changed to 2 spaces to align with recommendations.
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-61393. The following is the description of the original issue:
—
Description of problem:
Import YAML editor use 4 spaces for indentation
Version-Release number of selected component (if applicable):
4.20.0-0.nightly-2025-09-08-182033
How reproducible:
Always
Steps to Reproduce:
1. Click on +(plus) icon in masthead -> Import YAML 2. in the YAML editor, type following YAML snippet, press Enter after typing "metadata:" kind: ConfigMap apiVersion: v1 metadata:
Actual results:
3. we can see 4 spaces for indentation
Expected results:
3. It looks like more suggested syntax for YAML files is to use 2 spaces for indentation
Additional info:
- clones
-
OCPBUGS-61393 Import YAML editor has tab default to 4 spaces
-
- Verified
-
- is blocked by
-
OCPBUGS-61393 Import YAML editor has tab default to 4 spaces
-
- Verified
-
- links to