Node Package Manager

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

    5.2.5 • 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.

    Keywords

    none

    Install

    npm i @shepherdorg/deployer

    DownloadsWeekly Downloads

    154

    Version

    5.2.5

    License

    none

    Unpacked Size

    415 kB

    Total Files

    237

    Last publish

    Collaborators

    • stefaneg
    • nordfjord