Unable to connect the local default k8s cluster to helm-wrapper
arunavamagi opened this issue · comments
@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