Allow to specify the kubeconfig file 79/1479/1
authorYolanda Robla <yroblamo@redhat.com>
Wed, 28 Aug 2019 13:34:40 +0000 (15:34 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Wed, 28 Aug 2019 13:34:40 +0000 (15:34 +0200)
commit556d947364921522007000c9aabd1316fc4cdf8e
tree8aa1a5b949cfeab4968ed6165a13fd36031cb96d
parent00ad1ea5372a1157a9ba9ac816109e22058cc7df
Allow to specify the kubeconfig file

In order to apply from any place, we need to
parameterize the kubeconfig path. Accept a
kubeconfig parameter, that defaults to the one
from prepare_manifests is not set, or add the
ability to specify "local" to deploy to a
local cluster without kubeconfig file.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I9fffeeae28369f0fbe4dd2de127a61e99e35e62e
cmd/apply_workloads.go
pkg/site/site.go
pkg/utils/utils.go