An open API service indexing awesome lists of open source software.

https://github.com/mudler/img-controller

Kubernetes CRD controller to build docker images with img
https://github.com/mudler/img-controller

Last synced: 3 months ago
JSON representation

Kubernetes CRD controller to build docker images with img

Awesome Lists containing this project

README

          

# (experimental) unofficial [Img](https://github.com/genuinetools/img) CRD controller

Simple CRD that uses [img](https://github.com/genuinetools/img) to build docker images on Kubernetes. It doesn't require `privileged` permissions, and builds the image as user `1000` in the workload pod.

## Install

To install it in your k8s cluster:

```bash
$ kubectl apply -f https://raw.githubusercontent.com/mudler/img-controller/master/hack/kube.yaml
```

## Build images

The controller expose a new `ImageBuild` Kubernetes resource type, which can be used to build docker images with `img`.

To build an image, for example:

```bash

$ cat <