docs: add repo url, fix example command
This commit is contained in:
parent
f50f2f13f8
commit
2e6b55ce9c
|
@ -1,6 +1,6 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 Sean Sube
|
||||
Copyright (c) 2019 Sean Sube
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
11
README.md
11
README.md
|
@ -1,7 +1,7 @@
|
|||
# SALTY DOG
|
||||
|
||||
**S**chema **a**nalysis, **l**inting, and **t**ransformation for **Y**AML with **d**efaults, **o**ptional fields, and
|
||||
other **g**ood stuff.
|
||||
JSON **s**chema **a**nalysis, **l**inting, and **t**ransformation for **Y**AML, featuring **d**efaults, **o**ptional
|
||||
fields, and other **g**ood stuff.
|
||||
|
||||
- [SALTY DOG](#salty-dog)
|
||||
- [Build](#build)
|
||||
|
@ -20,15 +20,14 @@ other **g**ood stuff.
|
|||
## Build
|
||||
|
||||
```shell
|
||||
> git clone
|
||||
> make bundle
|
||||
> git clone git@github.com:ssube/salty-dog.git
|
||||
> make
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
> cat rules/examples/kubernetes-require-resources-pass.yml |\
|
||||
node out/bundle.js \
|
||||
> cat rules/examples/kubernetes-require-resources-pass.yml | salty-dog \
|
||||
--rules rules/kubernetes.yml \
|
||||
--source - \
|
||||
--tag important
|
||||
|
|
|
@ -23,17 +23,13 @@ rules:
|
|||
properties:
|
||||
cpu:
|
||||
type: string
|
||||
default: 100m
|
||||
memory:
|
||||
type: string
|
||||
default: 256Mi
|
||||
requests:
|
||||
type: object
|
||||
required: [cpu, memory]
|
||||
properties:
|
||||
cpu:
|
||||
type: string
|
||||
default: 100m
|
||||
memory:
|
||||
type: string
|
||||
default: 256Mi
|
Loading…
Reference in New Issue