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
- Host: GitHub
- URL: https://github.com/mudler/img-controller
- Owner: mudler
- License: gpl-3.0
- Created: 2020-12-15T19:57:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T09:52:44.000Z (about 5 years ago)
- Last Synced: 2025-08-30T15:32:03.084Z (4 months ago)
- Language: Go
- Size: 55.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 <