62616b61 / k8s-deployment-verification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-deployment-verification

Kubernetes Deployment Verification CLI tool

Usage

Pipe deployment manifest file into check.js.

cat manifest.yaml | ./check.js

Explicitly specify GitHub Deployment environment with --env parameter.

cat manifest.yaml | ./check.js --env staging

Provide manifests directly from K8S cluster.

kubectl get deploy app -o yaml | ./check.js

Make sure GITHUB_TOKEN is available as environment variable if trying to access a private repository.

export GITHUB_TOKEN=...

or

GIHUB_TOKEN=... cat manifest.yaml | ./check.js

About


Languages

Language:JavaScript 100.0%