Skip to content

fix(scripts): require docker 1.10.3 - #587

Merged
adamreese merged 1 commit into
helm:masterfrom
adamreese:fix/kube-dns
Apr 8, 2016
Merged

adamreese merged 1 commit into
helm:masterfrom
adamreese:fix/kube-dns

Conversation

@adamreese

Copy link
Copy Markdown
Member

@adamreese adamreese self-assigned this Apr 8, 2016
@adamreese adamreese added this to the Minimum Viable Product milestone Apr 8, 2016
@adamreese
adamreese merged commit 61db977 into helm:master Apr 8, 2016
@adamreese
adamreese deleted the fix/kube-dns branch April 8, 2016 22:44
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
Signed-off-by: yxxhero <[email protected]>

Signed-off-by: yxxhero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants