Skip to content

kumboleijo/cdk8s-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdk8s-config

Add configuration 🛠 features to your cdk8s project.

GitHub version npm version

Overview 👀

# my-config.yaml
# --------------

my-key:
  key1: value1
// index.ts
// --------

import Config from 'cdk8s-config';

const CONFIG = await Config.fromFile('<path to your config yaml>');
const data = CONFIG.get();

// data = { 'my-key': { 'key1': 'value1' } }

Installation 💻

$ npm i cdk8s-config

or

$ yarn add cdk8s-config

Documentation 📖

Check out the full documentation here: https://kumboleijo.github.io/cdk8s-config/

Run the Examples 🏃🏽‍♀️

$ npx ts-node ./examples/1-basic/

About

Add configuration features to your cdk8s project.

Resources

Stars

Watchers

Forks

Packages

No packages published