bitnami / kube-libsonnet

Bitnami's jsonnet library for building Kubernetes manifests
https://bitnami.com
Apache License 2.0
172 stars 49 forks source link
jsonnet ksonnet kubecfg kubernetes

WARNING: This repository is no longer actively maintained by Bitnami/VMware.

We have made the difficult decision to stop driving this project and therefore we will no longer actively respond to issues or pull requests.

There is a new initiative to continue maintaining this project outside of Bitnami/VMware at https://github.com/kube-libsonnet/kube-libsonnet

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