From 91cd4e7064110077a8363b810d31964abaead12e Mon Sep 17 00:00:00 2001 From: Anirudh Raghunath Date: Thu, 7 May 2020 15:44:45 +0530 Subject: [PATCH] Updated readme to emphasize that we need kubeconfig contents, not path --- README.md | 4 +++- action.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index baf652fb..f212f014 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ In both these approaches it is recommended to store these contents (kubeconfig f kubeconfig
Kubectl config - (Relevant for kubeconfig approach) Configuration file to be used with kubectl + (Relevant for kubeconfig approach) Contents of the configuration file to be used with kubectl (e.g. can be pulled from a secret) context
Context @@ -55,6 +55,8 @@ In both these approaches it is recommended to store these contents (kubeconfig f id: setcontext ``` +**Please note** that the input requires the _contents_ of the kubeconfig file, and not its path. + Following are the ways to fetch kubeconfig file onto your local development machine so that the same can be used in the action input shown above: #### For Azure Kubernetes Service cluster diff --git a/action.yml b/action.yml index 8c656ae2..e35166f7 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: required: true default: 'kubeconfig' kubeconfig: - description: 'Kubernetes Config' + description: 'Contents of kubeconfig file' required: false default: '' context: