Skip to content

Commit

Permalink
docs: update composite and composed resource option docs
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed Dec 22, 2023
1 parent b330137 commit 54a46bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ A KRM YAML list which means that each document must have an `apiVersion`, `kind`
Here's what you can do in the KCL script:

+ Return an error using `assert {condition}, {error_message}`.
+ Read the `ObservedCompositeResource` from `option("oxr").oxr`.
+ Read the `ObservedComposedResources` from `option("ocds").ocds`.
+ Read the `DesiredCompositeResource` from `option("dxr").dxr`.
+ Read the `ObservedCompositeResource` from `option("params").oxr`.
+ Read the `ObservedComposedResources` from `option("params").ocds`.
+ Read the `DesiredCompositeResource` from `option("params").dxr`.
+ Read the `DesiredComposedResources` from `option("params").dcds`.
+ Read the environment variables. e.g. `option("PATH")` (**Not yet implemented**).

Expand Down

0 comments on commit 54a46bf

Please sign in to comment.