deads2k
1b74a12053
don't migrate files you can't access
2016-07-05 09:33:32 -04:00
k8s-merge-robot
bc9820ce47
Merge pull request #28232 from cjcullen/webhook2
...
Automatic merge from submit-queue
Lock all possible kubecfg files at the beginning of ModifyConfig.
Prevent concurrent calls to ModifyConfig on the same (or overlapping) kubeconfig files.
2016-06-29 22:14:04 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
CJ Cullen
00576278b5
Lock all possible kubecfg files at the beginning of ModifyConfig.
2016-06-29 16:15:10 -07:00
Kris
88e2a31978
Adding lock files for kubeconfig updating
2016-06-24 13:11:52 -07:00
nikhiljindal
9b604242c6
Updating the federation cluster controller to use secretRef to contact the server
2016-05-23 21:50:00 -07:00
Ed Robinson
afdbad078a
Corrects some misspellings in comments
...
This should help to make
https://goreportcard.com/report/k8s.io/kubernetes#misspell
look a little nicer.
2016-05-11 08:16:13 +01:00
CJ Cullen
13a7d92d0f
Add a ConfigPersister for AuthProvider plugins in kubectl/clients.
2016-05-07 18:15:18 -07:00
k8s-merge-robot
5c2f758517
Merge pull request #17590 from fabianofranz/cli_homedir_on_windows
...
Automatic merge from submit-queue
Use correct home directory on Windows
As of now the `kubectl` config mechanism that saves/loads `~/.kube/config` is broken on Windows, saving the config file in the *current* directory instead of the user's *home* dir. This happens because most Windows don't respect the `HOME` environment variable.
This PR changes the config file loading mechanism to use the recommended way to detect the user home on Windows (`HOMEDRIVE`+`HOMEPATH` or `USERPROFILE`), and adds a migration for users that might be currently relying on existing config files.
2016-04-01 22:00:11 -07:00
Fabiano Franz
97d106e5ab
Use correct home directory on Windows
2016-02-19 01:41:42 -02:00
deads2k
8c326993d5
only load kubeconfig files one time
2016-02-17 12:55:28 -05:00
Daniel Smith
8f3eb93626
Merge pull request #20072 from smarterclayton/higher_debug
...
Move the loader file log level to v(6)
2016-02-05 16:03:07 -08:00
Clayton Coleman
a2f68e2591
Move the loader file log level to v(6)
...
It's extremely rare that a user *must* have this, and we typically test
and verify at V(5) to get debugging info, which clogs up e2e output.
2016-01-24 19:08:20 -05:00
Clayton Coleman
24a7919002
Update clientcmd.Config to use new Decode methods
2016-01-22 01:10:23 -05:00
k8s-merge-robot
23d9d54b5f
Merge pull request #17239 from fabianofranz/config_filename_debug
...
Auto commit by PR queue bot
2015-11-17 05:04:32 -08:00
Paul Morie
1cb58baf2f
Refactor map field handling for clientcmd.LoadFromFile
2015-11-14 09:44:31 -05:00
Fabiano Franz
cb3bfbc757
Debug filename in config loader
2015-11-13 16:17:59 -05:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07:00
Kris Rousey
9cea046f42
Get the unversioned client to build
2015-08-18 10:03:19 -07:00
Kris Rousey
7ba5b058cc
Moving client libs to unversioned dir
2015-08-18 10:03:19 -07:00