Open arunavamagi opened 2 years ago
@arunavamagi helm-wrapper need --kubeconfig
options, default value ~/.kube/config
@opskumu I understand that part, but since we are running this as a standalone docker, is there any particular method via which we can pass this kubeconfig file to the docker. We were running it via
docker run -p 8080:8080 helm-wrapper:51fa091
currently, but we guess we have to pass runtime options at the time of running. Please correct me if I am wrong.
@opskumu We are able to build the makefile on linux and then run it as server by passing this command :
./helm-wrapper --config /home/ec2-user/helm-wrapper/bin/config.yaml --kubeconfig ~/.kube/config
but would like to know the method of doing the same via docker.
@arunavamagi maybe you can use docker -v
like:
docker run -v <local_kubeconfig_path>:<container_kubeconfig_path> -p 8080:8080 helm-wrapper:51fa091
Hi,
Thank you for the tool. We have build the helm-wrapper docker and running it locally. How do we configure helm-wrapper API Server to connect to a k8s cluster?
Is there any file where we can set the kubecontext before running the server?