Skip to content

Commit 0e576f9

Browse files
committed
UPSTREAM: 0000: improve config file modification time
Trades runtime complexity for spacial complexity when modifying large amounts of contexts on a kubeconfig. In cases where there are few destination filenames for a given amount of contexts, but a large amount of contexts, this patch prevents reading and writing to the same file (or small number of files) over and over again needlessly.
1 parent 5898a96 commit 0e576f9

File tree

1 file changed

+19
-6
lines changed
  • vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/clientcmd

1 file changed

+19
-6
lines changed

vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/clientcmd/config.go

Lines changed: 19 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)