/kompose-DWO-poc

This repo demonstrated how we reuse the kompose pkgs for creating k8s object on the cluster from a compose file.

Primary LanguageGo

Contribute (nightly)

Compose File Support for Devworkspace Operator POC

Build Status

This repository is a proof of concept for integrating the compose file support in the devworkspace operator repository by reusing the pkgs of kubernetes kompose.

  • Currently, the POC only works with compose files which contain deployments and services.
  • kompose doesn't provide support for compose files with the build command.
  • kubeconfig file needs to be set specifically for Openshift, unlike minikube.

Work in progress

  • Addition of unit testing for testing different compose files.
  • Allowing testing on different clusters.
  • Addition of support for different kubernetes components like volumes and RBACs for advanced compose file

Installation

This repo is written in pure golang, so make sure you have golang setup (go 1.16+) on your system before setting up the development environment.

To run use the following command:

go run main.go