Sign inSign up

sinawic/tfk8s

By sinawic

•Updated about 2 years ago

https://github.com/sinawic/docker-images

Image
Languages & frameworks
Developer tools
0

266

sinawic/tfk8s repository overview

⁠translate kubernetes manifest file to terraform with tfk8s

⁠from https://github.com/jrhouston/tfk8s⁠

for those of us that doesn't have golang installed, or have no idea of what golang is at all.

run command example:

docker run -it --rm -v $PWD/ns.yml:/ns.yml sinawic/tfk8s -f /ns.yml

or you can simply copy tfk8s executable file from inside the container to your linux system.

in a terminal hit:

docker run --rm -it --entrypoint /bin/bash --name tfk8s sinawic/tfk8s

then in another terminal:

docker cp tfk8s:/go/bin/tfk8s $PWD/tfk8s
sudo cp tfk8s /usr/bin/tfk8s
tfk8s --help

also to build the image yourself which will grab the latest tfk8s version, hit:

docker build -t sinawic/tfk8s .

WITH ❤ BY SINAWIC

Tag summary

Content type

Image

Digest

sha256:7c54619fd…

Size

316.6 MB

Last updated

about 2 years ago

docker pull sinawic/tfk8s