Skip to content

Commit 3d7df67

Browse files
committed
Update promotion-version-properties.md
1 parent 3fbf59f commit 3d7df67

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_docs/products/promotion-version-properties.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -274,21 +274,21 @@ On the left, you can see the YAML manifests, on the right, the previews show how
274274
## JSON path expressions for files and properties
275275
Application versions and properties to be promoted are defined through JSON path expressions. Each JSON expression points to the specified file and the location of the property within the file.
276276

277-
**NOTE**
277+
>**NOTE**
278278
Our promotions are optimized for YAML-based configuration files.
279279
For non-YAML file types, JSON path expressions may not evaluate as expected. In such cases, you can promote the entire file using **`*`** as a wildcard.
280280

281281
## Autocomplete and path selectors for JSON files
282282

283-
Instead of manually navigating to GitHub, copying the file name, and locating paths within the file, Codefresh GitOps simplifies the process with:
283+
Instead of manually navigating to GitHub, copying the file name, and locating paths within the file, Codefresh GitOps simplifies the process of working with JSON files through auto-selection options:
284284
* **File selector with autocomplete**
285-
Start typing the part of the filename and then select from the displayed list.
285+
Typing part of the filename displays a list of available files for selection.
286286

287-
* **Path-selectors**
288-
After selecting a file, clicking the attribute or property directly in the file automatically generates and adds the correct JSON path.
287+
* **Path-selector**
288+
Clicking the attribute or property directly within the selected file automatically generates and adds the correct JSON path.
289289

290290
* **Preview configuration**
291-
The Preview Configuration button allows you to select the application and view the version retrieved.
291+
Verify that the correct property is selected through the Preview Configuration button, which allows you to select the application and view the version retrieved.
292292

293293

294294

@@ -302,7 +302,7 @@ Instead of manually navigating to GitHub, copying the file name, and locating pa
302302
max-width="60%"
303303
%}
304304

305-
You can enter JSON path expressions manually if preferred.
305+
You can enter JSON path expressions manually if preferred. See [Dashes in JSON keys](#dashes-in-json-keys) and [JSON syntax for YAML files](#json-syntax-for-yaml-files).
306306

307307
### Dashes in JSON keys
308308
Dashes in JSON keys are currently _not supported_ in path expressions using dot notation.
@@ -318,7 +318,7 @@ $["rollout-Canary"]["image"]["tag"]
318318

319319

320320
### JSON syntax for YAML files
321-
Here's a brief summary of JSON syntax and rules.
321+
Here's a brief summary of JSON syntax and rules if you are manually defining path expressions.
322322
For detailed information, see [JSON syntax](https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html){:target="\_blank"}.
323323

324324

0 commit comments

Comments
 (0)