Commit Graph

184 Commits (add-lfx-insights)

Author SHA1 Message Date
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)
6 years ago
Andre Sencioles d0726e07ab
Parse reference templates in predictable order (#7702)
6 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
Matthew Fisher 757eb88d6c
Merge pull request #5441 from hickeyma/update-lib-charts
6 years ago
Josh Dolitsky a12a396aab
Helm 3: registry login/logout (#5597)
6 years ago
Martin Hickey 0b809dd078 Validate library chart files after chart loaded
6 years ago
Ian Howell 278594fb0f fix(pkg/engine): Style changes on template errors
7 years ago
Ian Howell 92b86f6e74 fix(pkg/engine): Catch non-templating errors when rendering templates
7 years ago
Ian Howell 33b1ede570 fix(pkg/engine): Clean up template error messages
7 years ago
Adam Reese 295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
7 years ago
Adam Reese 895e9192d4
feat(*): use vanity import helm.sh/helm
7 years ago
Adam Reese 849f27d11f
ref(pkg/engine): make template specific functions private
7 years ago
Adam Reese d841a1b1d9
fix(engine): make template rendering thread safe
7 years ago
Adam Reese 2b81eea1e2
ref(*): replace byte array with map for Release config
7 years ago
Adam Reese 516c53dae6
ref(chart): use map for chart.Values
7 years ago
Adam Reese 4f26b658d8
change copyright to "Copyright The Helm Authors"
7 years ago
Adam Reese f012940d9c
ref(*): refactor chart/chartutil
7 years ago
Adam Reese 726e3c41be
feat(*): print stacktrace on error with debug enabled
7 years ago
Adam Reese 4c95185164
ref(*): replace chart.config with []byte
8 years ago
Adam Reese 36536d77ba
ref(*): remove protobuf any type
8 years ago
Adam Reese 6345f04190
ref(hapi): convert protobuf to go types
8 years ago
scriptonist 5311bf40a8 Now returning error and stopping installation
8 years ago
scriptonist 6cfaa4ebf2 Added code to recover from a tiller pod crash in an event of template render failure
8 years ago
Lukas Eichler 8bc7dede18
fix(helm): Apply PR comments for tpl template name fix
8 years ago
Lukas Eichler 1cebc760a0
Fixed warning for missing formating parameter inside error message.
8 years ago
Lukas Eichler 2c338db1bd
fix(helm): Set template context inside tpl function to outer function.
8 years ago
Lukas Eichler 39db9ec6e8 Merge branch 'master' into master
8 years ago
Lukas Eichler 9cd9fc47df removed debug file
8 years ago
Lukas Eichler 439f1b31d1 Added unit test for include in tpl function
8 years ago
Lukas Eichler ce8e8d6778 Added storage of parsed templates in engine
8 years ago
Matt Butcher 8937c775a9
fix(2452): sort templates before parse
8 years ago
Matt Butcher 5c227bffbb Merge pull request #2361 from databus23/dont_render_partials
9 years ago
Lukas Eichler 2521c526d9 - Changed error behaviour to returning an error instead of writing the error in the template
9 years ago
Lukas Eichler d01f7978d2 Added implementation for a tpl function that evaluates a string as a template.
9 years ago
Fabian Ruff b94eb82d12 Skip rendering partials
9 years ago
Fabian Ruff 124235ffed Fail template execution if included template fails
9 years ago
Steve Wilkerson 79a3db0a63 feat(helm): add support for required properties
9 years ago
Fabian Ruff 43a6bcff40 Add .Template.BasePath to template system
9 years ago
Jack Zampolin fc60d51be9 Add toToml function
9 years ago
YuviPanda 5c52fe6ad6 Add ToJson and FromJson template functions
9 years ago
Matt Butcher cb0a6c7e07
feat(tiller): add {{.Capabilities}} object
9 years ago
Matt Butcher d8540d78f1
feat(tiller): add fromYaml to template functions
9 years ago
Andrew Stuart 6760aa1588
Add Lines method, remove path utils (Sprig pr)
9 years ago
Andrew Stuart 5d58b7792c
Fix erroneous import
9 years ago
Andrew Stuart 9771973888
Add AsSecrets, AsConfig methods for Files object. Move ToYaml to chartutil
9 years ago
Adnan Abdulhussein f97dbe33da fix(tests): prefix template names with "templates/"
9 years ago
Matt Butcher 36f7eb0b2a fix(linter): add engine.FuncMap so linter can use real function list
9 years ago