You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ -z"${KUBECONTEXT}" ]];then
KUBECONTEXT=$(kubectl config current-context)
If KUBECONFIG is set we obligate to set KUBECONTEXT to valid context name
if [[ -n"${KUBECONFIG}" ]];thenecho -e "--- ERROR - KUBECONTEXT Environment variable is not set, please set it to one of integrated contexts: "
kubectl config get-contexts
I currently get an error
./cf-deploy-kubernetes: line 51: If: command not found
When removing the flag from the script I am getting
error: unable to match a printer suitable for the output format "custom-columns=KIND:{.kind},NAME:{.metadata.name}", allowed formats are: go-template,go-template-file,json,jsonpath,jsonpath-file,name,template,templatefile,yaml
There seem to be a few bugs in the script
I think you guys are missing a comment sign (
#
) on line 51 (https://github.com/codefresh-io/cf-deploy-kubernetes/blob/master/cf-deploy-kubernetes.sh#L51)I currently get an error
./cf-deploy-kubernetes: line 51: If: command not found
I also see some errors with
kubectl convert
(https://github.com/codefresh-io/cf-deploy-kubernetes/blob/master/cf-deploy-kubernetes.sh#L118)When removing the flag from the script I am getting
my k8s client version is
The text was updated successfully, but these errors were encountered: