8000 update epp dependency by JeanMertz · Pull Request #10 · blendle/kubecrt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

update epp dependency #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from < 8000 svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success">
Sep 22, 2017
Merged

update epp dependency #10

merged 1 commit into from
Sep 22, 2017

Conversation

JeanMertz
Copy link
Contributor

Closes #7. See https://github.com/blendle/epp/releases/tag/v2.0.0-rc2


  • add required template helper

    This equals the templating function used in Helm.

    It provides a way to "require" a specific value to exist, or otherwise
    exit the execution of the template parsing.

    This can be useful when expecting an environment variable, and not
    accepting an empty string as value.

    Example:

    password: {{ required "we really need this!" (env "SECRET_PASSWORD") }}
  • add include template helper

    This equals the templating function used in Helm.

    It provides the same functionality as the Golang built-in "template"
    function, but returns the produced template string as the return value,
    allowing you to pipe the value to another template function.

    example:

    {{ define "foobar" }}
    foo:
      bar: baz
    {{ end }}
    
    qux:
    {{ include "foobar" . | indent 2 }}
    
    # qux:
    #   foo:
    #     bar: baz

@JeanMertz JeanMertz changed the base branch from nopanic to master September 22, 2017 16:56
@JeanMertz JeanMertz merged commit 7e2d38e into master Sep 22, 2017
@JeanMertz JeanMertz deleted the epp branch September 22, 2017 16:57
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.

1 participant
0