ademariag / kube-libsonnet

Bitnami's jsonnet library for building Kubernetes manifests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

kube-libsonnet

This repo has been originally populated by the lib/ folder contents from https://github.com/bitnami-labs/kube-manifests as of Mar/2018, aiming to provide a library of jsonnet manifests for common Kubernetes objects (such as Deployment, Service, Ingress, etc).

Accordingly, above kube-manifests has been changed to use this repo as a git submodule, i.e.:

$ git submodule add https://github.com/bitnami-labs/kube-libsonnet
$ cat .gitmodules
[submodule "lib"]
path = lib
url = https://github.com/bitnami-labs/kube-libsonnet

Testing

Unit and e2e-ish testing at tests/, needs usable docker-compose setup at node, will run a k3s "dummy" container to serve Kube API, "enough" to run kubecfg validate against it:

make tests

If you don't want that full kube-api stack (will then use your "local" kubernetes configured environment), you can run:

make -C tests local-tests kube-validate

About

Bitnami's jsonnet library for building Kubernetes manifests

License:Apache License 2.0


Languages

Language:Jsonnet 87.0%Language:Makefile 9.6%Language:Dockerfile 2.0%Language:Shell 1.4%