@shepherdorg/deployer
TypeScript icon, indicating that this package has built-in type declarations

5.3.2 • Public • Published

Shepherd deployer

kubernetes deployment file templating

Kuberenetes yaml files extracted from docker deployment metadata are treated as handlebars templates, with strict option on, and HTML escaping off (meaning that {{}} and {{{}}} syntax is equivalent)

All environment variables present when the cli is invoked can be expanded in the templates. So in order to make configuration available at deployment time, all you have to do is make it available in the shell that runs shepherd-deploy

The templating supported is designed to get secrets and configuration into kubernetes deployment files. The helpers available are

Base64Encode and Base64EncodeFile

See Expand Template tests for exact usage.

Additionally, envsubst syntax is supported (deprecated). Please avoid use, support will be removed at the earliest convenient opportunity.

/@shepherdorg/deployer/

    Package Sidebar

    Install

    npm i @shepherdorg/deployer

    Weekly Downloads

    94

    Version

    5.3.2

    License

    none

    Unpacked Size

    415 kB

    Total Files

    237

    Last publish

    Collaborators

    • stefaneg
    • nordfjord