Commit Graph

228 Commits (main)

Author SHA1 Message Date
Stepan Paksashvili 8982b57e5e feat(pkg/engine): and custom funcs overriding test
5 months ago
Stepan Paksashvili 9073bcf53e feat(pkg/engine): add support for custom template funcs
5 months ago
Matt Farina 7a1eb77e77
Merge pull request #30708 from benoittgt/migrate-kube-pkg-to-slog
5 months ago
Matt Farina ed005f5c32
Removing deprecation notice for this function.
5 months ago
Benoit Tigeot 0c85456788
Leverage slog.Any for errors
6 months ago
Robert Sirchia c5991028e0
fixing matts changes
6 months ago
Robert Sirchia 3a19576377
making changes as requested by matt
6 months ago
Robert Sirchia 4422000330
fixing case issues with the logging of my errors
7 months ago
Robert Sirchia 848c134e0c
fixing error messages
7 months ago
Robert Sirchia c2e6ed8ae5
fixing build error
7 months ago
Robert Sirchia 8887d01791
fixing issues with my PR
7 months ago
Robert Sirchia c36bc25fb1
fixing missing attributes
7 months ago
Robert Sirchia 1ad79a2bb7
converting inline log to slog
7 months ago
Matt Farina 61d3eca55c
Move pkg/chart to pkg/chart/v2 to prepare for v3 charts
7 months ago
Matt Farina 5c0deec327
Moving chartutil to chart/util
7 months ago
Zhanwei Li 34b679e0cc feat: Add mustToYaml and mustToJson template functions
7 months ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
9 months ago
Matt Farina 5727f56a96
Update to Go 1.23
9 months ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
10 months ago
Nathan Baulch ff9dd262e3
Fix typos
1 year ago
Fred Heinecke 30ce031d77 Merge branch 'main' into feat/add-toyamlpretty-1
1 year ago
Joe Julian 1c73ea44ad
Merge remote-tracking branch 'upstream/main' into feat/toml-parsing
1 year ago
fheinecke e502486109
Merge branch 'main' into feat/add-toyamlpretty-1
1 year ago
Robert Sirchia d58d7b3762 Fixing all the linting errors
2 years ago
Matt Farina 7fd08041b1
Merge pull request #12617 from porridge/dynamic-client
2 years ago
Andrew Block 77d54d7dbe
Merge pull request #11351 from greed42/fast-tpl
2 years ago
Marcin Owsiany a997de1f11 tests(pkg/engine): test RenderWithClientProvider
2 years ago
Marcin Owsiany bfec4ec926 feature(pkg/engine): introduce RenderWithClientProvider
2 years ago
Fred Heinecke 73f1dcc1d9 Added `toYamlPretty` template function
2 years ago
Joe Julian c42fdd1e0b
Merge remote-tracking branch 'upstream/main' into fix3
2 years ago
Graham Reed b261a1b1be Test update for "Allow a nested `tpl` invocation access to `defines` in a containing one"
2 years ago
Graham Reed 36d417de3b Test update for "Speed up `tpl`"
2 years ago
Graham Reed 97dbb96f5a Merge remote-tracking branch 'origin/main' into fast-tpl
2 years ago
Joe Julian ca61c326c2
Merge pull request #11758 from joejulian/remove_blank_list_item_from_files_lines
2 years ago
Joe Julian ec1d0d8671
Merge pull request #11456 from greed42/tpl-tests
2 years ago
Graham Reed 95905f19dd Work around template.Clone omitting options
2 years ago
Graham Reed f235f0f285 Check that missing keys are still handled in tpl
2 years ago
Dominik Müller 266ab5af05 test(pkg/engine): add tests for TOML parsing
2 years ago
Dominik Müller f550eda6e9 feat(pkg/engine): add TOML parsing functionality
2 years ago
Joe Julian b3707e666b
strip trailing newline from Files.Lines
2 years ago
Matt Farina 50c22ed7f9
Bump the Go version
3 years ago
AdamKorcz 2a9594c0fe pkg/engine: fix nil-dereference
3 years ago
Matt Farina 863bc74e5a
Update to func handling
3 years ago
Graham Reed 9fe912f3c5 Check redefinition of define and include in tpl
3 years ago
Graham Reed ebf5e1e2af Check that `.Template` is passed through `tpl`
3 years ago
Graham Reed 0a6e7d95ab Make sure empty `tpl` values render empty.
3 years ago
Graham Reed d1e9a242a7 Pick the test improvement out of PR#8371
3 years ago
Graham Reed a7d3fd6c09 Allow a nested `tpl` invocation access to `defines` in a containing one
3 years ago
Graham Reed e2a7c7998a Remove the 'reference templates' concept
3 years ago
cui fliter 09d3f31358 fix a few function names on comments
3 years ago
Graham Reed db4f330122 Speed up `tpl`
3 years ago
Matthew Fisher aa6e82bac8
fix: use `go install` instead of `go get`
3 years ago
Matt Farina f895948ae2
Fixing issue with non-existant .Template when using tpl function
4 years ago
Matt Farina ac80a5eec9
Merge branch 'main' into feat/subcharts-scope
4 years ago
Matt Farina 2de6f9d424
Merge pull request #9993 from Ka0o0/make-isroot-available-to-template
4 years ago
Kai Takac 8fcaf7b85c Add Chart IsRoot test
4 years ago
Kai Takac 06ae6f933a Make Chart's IsRoot available to templates
4 years ago
Cory Snider 79df3926f6 fix(engine): parse fail messages with newlines
4 years ago
Valentin Flaux 3daaea0a1c feat(pkg/engine): expose subcharts scope in parent
4 years ago
Martin Hickey dffc2a30c7
Merge pull request #9035 from wizbit/fail-message
4 years ago
Martin Hickey 699ea6dcef
Merge pull request #9066 from scaat/fix-specification
4 years ago
Josh Soref 2bf8fdf45d
chore: Spelling (#9410)
5 years ago
Marcus Speight 7a663a56c2 Fixed Test
5 years ago
Marcus Speight 8aa42824f9 Added test for lint mode
5 years ago
Scaat Feng 1852694a65 [FIX]comment should start with whitespace
5 years ago
Marcus Speight 7a0739a863 Fail message is now the same as the required message.
5 years ago
Paul Brousseau 3192408415 Fixing typo in engine comments
5 years ago
Matt Farina dbd001e532
Removing tiller language
5 years ago
Matt Butcher bb47286f09
fix linting error with lookup function (#7969)
5 years ago
Andre Sencioles d0726e07ab
Parse reference templates in predictable order (#7702)
5 years ago
Matt Farina 3b8521c1f0
Updating sprig and semver to newer versions
6 years ago
Adam Reese c2da4fd53d
ref(*): kubernetes v1.18 (#7831)
6 years ago
Tuan 97c68adc4d
Add fromYamlArray and fromJsonArray template helpers (#7712)
6 years ago
Daniel Cheng 206d4a9053 add test for template recursion
6 years ago
Daniel Cheng 8528548441 fix recursion count in templates
6 years ago
Jon Huhn 43e6285995
Fix engine.newFiles doc comment
6 years ago
Matthew Fisher 1b1d6bba9c
fix(lookup_func): do not return error when object is not found
6 years ago
Matthew Fisher 9c680e604b
Merge pull request #7443 from zwwhdls/fix7439
6 years ago
zwwhdls 16a85f7570 fix test-style
6 years ago
zwwhdls 4eda4fa06d allow limited recursion in templates
6 years ago
Matthew Fisher e84b61b2db
Merge pull request #6752 from raffaelespazzoli/lookup
6 years ago
Josh Soref 02ad2b1187 Spelling (#7258)
6 years ago
raffaelespazzoli fa643cfa31 fixed golint
6 years ago
raffaelespazzoli a62ba04962 additional fixes based on @thomastaylor312 comment
6 years ago
raffaelespazzoli 0bb4eaace7 addressing some feedback from @thomastaylor312
6 years ago
raffaelespazzoli e98cd621f0 added rest client passed with action configuration
6 years ago
raffaelespazzoli b3495c7353 added license header
6 years ago
raffaelespazzoli 02ce01b241 fixed circle ci issues
6 years ago
raffaelespazzoli 30d245a0e3 added check on namespaced resource
6 years ago
raffaelespazzoli d564d4bf2d first lookup template function implementation
6 years ago
海的澜色 750b870aed fix stack overflow error (#7114)
6 years ago
KUOKA Yusuke 4c351c7248 fix(v3): fix type error while merging map loaded with `fromYaml` template func (#6630)
6 years ago
Matt Farina 9bc7934f35
Updating the module for v3 as the major version
6 years ago
Matt Farina 967f4fed42
Update dependencies
6 years ago
Adam Reese 4fcc876786
ref(pkg/engine): cleanup of development `hack`
6 years ago
Martin Hickey 5906b9dfee Fix style conformance issue
6 years ago
Ian Howell c92e3351f7 Switch to a more unique delimiter for template execution errors
6 years ago
Ian Howell 31b940a61d fix(engine): Fix eating too many colons during template execution
6 years ago
Thomas O'Donnell 213f714604 Stop Lint from breaking when using required
6 years ago
Adam Reese b49db9e6e6
ref(pkg/chartutil): break up chartutil into logical files
6 years ago