-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Accept ElementsYaml for list generator to get dynamic content f…
…rom a git file (#12428) (#12490) * fix: use field-wise templating for child matrix generators (#11661) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * test shouldn't use go template Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * feat: extend List generator with ElementsJsonBase64 Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: proper field name and crd update Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: indentation Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: remove b64 encoding. Based on #12287 Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: generated with codegen Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: reset some of the generated files Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: elementsyaml to cover both yaml and json Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> * fix: regenerate code Signed-off-by: laurentiusoica <laurentiu@soica.ro> * Regenerate code Signed-off-by: laurentiusoica <laurentiu@soica.ro> * fix: update ApplicationSet docs Signed-off-by: laurentiusoica <laurentiu@soica.ro> * fix: elementsyaml to elementsYaml to be more consistent with other fields Signed-off-by: laurentiusoica <laurentiu@soica.ro> --------- Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Laurentiu Soica <laurentiu@soica.ro> Signed-off-by: laurentiusoica <laurentiu@soica.ro> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
- Loading branch information
1 parent
304a742
commit 019da5a
Showing
13 changed files
with
943 additions
and
612 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
applicationset/examples/list-generator/list-elementsYaml-example.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
key: | ||
components: | ||
- name: component1 | ||
chart: podinfo | ||
version: "6.3.2" | ||
releaseName: component1 | ||
repoUrl: "https://stefanprodan.github.io/podinfo" | ||
namespace: component1 | ||
- name: component2 | ||
chart: podinfo | ||
version: "6.3.3" | ||
releaseName: component2 | ||
repoUrl: "ghcr.io/stefanprodan/charts" | ||
namespace: component2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.