Repository navigation
fix(manager): update routes and error handling - #388
Merged
Merged
Conversation
Errors are now returned in the best matching format for the HTTP Accept header.
technosophos
force-pushed
the
fix/manager-routes
branch
from
March 16, 2016 22:46
bd6b4c1 to
9a9398c
Compare
technosophos
added a commit
that referenced
this pull request
Mar 16, 2016
fix(manager): update routes and error handling
| func registerDeploymentRoutes(c *router.Context, h *router.Handler) { | ||
| re := regexp.MustCompile("{[a-z]+}") | ||
|
|
||
| h.Add("GET /healthz", healthz) |
Member
There was a problem hiding this comment.
All routes are considered deployment routes?
MichaelMorrisEst
pushed a commit
to Nordix/helm
that referenced
this pull request
Nov 17, 2023
feat: helmfile.yaml layering enhancements The current [Layering](https://github.com/roboll/helmfile/blob/master/docs/writing-helmfile.md#layering) system didn't work as documented, as it relies on helmfile to template each "part" of your helmfile.yaml THEN merge them one by one. The reality was that helmfile template all the parts of your helmfile.yaml at once, and then merge those YAML documents. In roboll/helmfile#388 (comment), @sruon was making a GREAT point that we may need to change helmfile to render templates earlier - that is to evaluate a template per each helmfile.yaml part separated by `---`. Sorry I missed my expertise to follow your great idea last year @sruon 😭 Anyways, this, in combination with the wrong documentation, has made so many people confused. To finally overcome this situation, here's a fairly large PR that introduces the 2 enhancements: - `bases:` for easier layering without go template expressions, especially `{{ readFunc "path/to/file" }}`s. This is the first commit of this PR. - `helmfile.yaml` is splited by the separator `---` at first. Each part is then rendered as a go template(double-render applies as before). Finally, All the results are merged in the order of occurence. I assume this as an enhanced version of @sruon's work. This is the second commit of this PR. Resolves helm#388 Resolve helm#584 Resolves helm#585 (`HELMFILE_EXPERIMENTA=true -f helmfile.yaml helmfile` disables the whole-file templating, treating the helmfile.yaml as a regular YAML file as the file ext. denotes. Use `helmfile.yaml.gotmpl` or `helmfile.gotmpl` to enable) Fixes helm#568 (Use `bases` or `readFile` rather than not importing implicitly with `helmfile.d`
MichaelMorrisEst
pushed a commit
to Nordix/helm
that referenced
this pull request
Nov 17, 2023
fix SetRetainValuesFiles issue
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.