@pubgcorp/pk-template

0.4.0 • Public • Published

pk-template

pk-template is structured yaml template engine for kubernetes manifests.

It consist of two command line tools.

  • pkt - structured yaml template engine
  • pk - kubernetes deployments tool

Features

pkt - template engine

  • template engine understands yaml structure
  • utilize custom yaml tags
  • can program using javascript
  • can use any npm modules

Install

$ npm install pk-template -g

Example

# pod.pkt
apiVersion: v1
kind: Pod
spec:
  containers:
  - image: !js image
$ pkt pod.yaml --image nginx
apiVersion: v1
kind: Pod
spec:
  containers:
    - image: nginx

more info

Package Sidebar

Install

npm i @pubgcorp/pk-template

Weekly Downloads

10

Version

0.4.0

License

ISC

Unpacked Size

577 kB

Total Files

102

Last publish

Collaborators

  • dirty49374
  • mnthe
  • bitofsky
  • pril
  • talkwithraon
  • byeonggukgong
  • dalpark
  • pubg-suchanpark
  • feelyoung-jay