Skip to content

Conversation

dominikmueller
Copy link
Contributor

@dominikmueller dominikmueller commented Apr 25, 2023

What this PR does / why we need it:
Adds fromToml function that allows parsing TOML configuration. Like fromJson or fromYaml.
Closes #12024.

Special notes for your reviewer:
I added docs for toToml (have been missing) and fromToml (new implementation) to the helm-www repo in this PR: helm/helm-www#1455

If applicable:

  • this PR contains documentation
    -> Documentation can be found here: Add docs for TOML functions helm-www#1455
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility
    -> It's a new feature and should therefore not cause any compatibility issues.

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 25, 2023
Allows to use `fromToml` in templates similar to `fromJson` or `fromYaml`.
Closes helm#12024

Signed-off-by: Dominik Müller <mail@dominikm.de>
Signed-off-by: Dominik Müller <mail@dominikm.de>
@sveneisenmanndmde
Copy link

nice! exactly what I am waiting for! Please merge 🙏

dominikmueller added a commit to dominikmueller/helm-www that referenced this pull request Apr 25, 2023
Explains how `toToml` and `fromToml` can be used in
chart templates.

Implementation detail can be seen here:
helm/helm#12026.

Signed-off-by: Dominik Müller <mail@dominikm.de>
dominikmueller added a commit to dominikmueller/helm-www that referenced this pull request Apr 25, 2023
Explains how `toToml` and `fromToml` can be used in
chart templates.

Implementation detail can be seen here:
helm/helm#12026.

Signed-off-by: Dominik Müller <mail@dominikm.de>
dominikmueller added a commit to dominikmueller/helm-www that referenced this pull request Apr 25, 2023
Explains how `toToml` and `fromToml` can be used in
chart templates.

Implementation detail can be seen here:
helm/helm#12026.

Signed-off-by: Dominik Müller <mail@dominikm.de>
dominikmueller added a commit to dominikmueller/helm-www that referenced this pull request Apr 25, 2023
Explains how `toToml` and `fromToml` can be used in
chart templates.

Implementation detail can be seen here:
helm/helm#12026.

Signed-off-by: Dominik Müller <mail@dominikm.de>
@dominikmueller dominikmueller changed the title Feat/toml parsing Feature / toml parsing Jun 13, 2023
@gjenkins8 gjenkins8 added this to the 3.16.0 milestone Aug 18, 2024
Copy link
Member

@gjenkins8 gjenkins8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMe (unofficial)

will include in Helm weekly dev call for maintainer review

@robertsirc
Copy link
Member

Please correct the DCO issue.

@mattfarina
Copy link
Collaborator

The DCO issue is because the bot that does the check didn't respond. It appears the correct sign-off is on the commit.

@dominikmueller could you rebase this from main? That should fix the DCO issue and cause the test suite to run properly in CI. Otherwise, this looks ready to merge.

Copy link
Member

@robertsirc robertsirc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gjenkins8 gjenkins8 added the Has One Approval This PR has one approval. It still needs a second approval to be merged. label Aug 30, 2024
@scottrigby scottrigby modified the milestones: 3.16.0, 3.17.0 Sep 11, 2024
Signed-off-by: Joe Julian <me@joejulian.name>
@joejulian
Copy link
Contributor

I merged in main to fix the DCO issue and start CI running.

@joejulian joejulian merged commit 4cc7471 into helm:main Sep 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Has One Approval This PR has one approval. It still needs a second approval to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TOML parsing capability
7 participants