mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #680 from mfojtik/kube_env
Allow to set global KUBERNETES_PROVIDER env var
This commit is contained in:
commit
28668055c7
@ -14,8 +14,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Set provider independent environment variables
|
||||
# Set the default provider of Kubernetes cluster to know where to load provider-specific scripts
|
||||
# You can override the default provider by exporting the KUBERNETES_PROVIDER
|
||||
# variable in your bashrc
|
||||
#
|
||||
# The valid values: 'gce', 'azure' and 'vagrant'
|
||||
|
||||
# Set provider of Kubernetes cluster to know where to load provider-specific scripts, values: gce, vagrant, etc.
|
||||
KUBERNETES_PROVIDER="gce"
|
||||
#KUBERNETES_PROVIDER="vagrant"
|
||||
KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER:-gce}
|
||||
|
Loading…
Reference in New Issue
Block a user