Skip to content

Commit

Permalink
Fix broken links for post selectors, fix ordering of args for dig exa…
Browse files Browse the repository at this point in the history
…mple (#15346)

Signed-off-by: David Muckle <[email protected]>
  • Loading branch information
dvdmuckle authored Sep 14, 2023
1 parent 571bf89 commit db2da6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/operator-manual/applicationset/Generators-Matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ For example, the below example would be invalid (cluster-generator must come aft
files:
- path: "examples/git-generator-files-discovery/cluster-config/engineering/{{name}}**/config.json" # {{name}} is produced by cluster generator

1. When using a Matrix generator nested inside another Matrix or Merge generator, [Post Selectors](../../user-guide/application-set.md#post-selector-all-generators) for this nested generator's generators will only be applied when enabled via `spec.applyNestedSelectors`.
1. When using a Matrix generator nested inside another Matrix or Merge generator, [Post Selectors](Generators-Post-Selector.md) for this nested generator's generators will only be applied when enabled via `spec.applyNestedSelectors`. You may also need to enable this even if your Post Selectors are not within the nested matrix or Merge generator, but are instead a sibling of a nested Matrix or Merge generator.

- matrix:
generators:
Expand Down
2 changes: 1 addition & 1 deletion docs/operator-manual/applicationset/Generators-Merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Assuming a cluster named `germany01` with the label `metadata.labels.location=Ge
mergeKeys:
- values.merge

1. When using a Merge generator nested inside another Matrix or Merge generator, [Post Selectors](../../user-guide/application-set.md#post-selector-all-generators) for this nested generator's generators will only be applied when enabled via `spec.applyNestedSelectors`.
1. When using a Merge generator nested inside another Matrix or Merge generator, [Post Selectors](Generators-Post-Selector.md) for this nested generator's generators will only be applied when enabled via `spec.applyNestedSelectors`.

- merge:
generators:
Expand Down
2 changes: 1 addition & 1 deletion docs/operator-manual/applicationset/GoTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ spec:
nameSuffix: -my-name-suffix
template:
metadata:
name: '{{.cluster}}{{dig "nameSuffix" . ""}}'
name: '{{.cluster}}{{dig "nameSuffix" "" .}}'
spec:
project: default
source:
Expand Down

0 comments on commit db2da6b

Please sign in to comment.