Commit Graph

1621 Commits (97dd433702498e9cd8cfa7d8f467f5e86bf81150)

Author SHA1 Message Date
Medya Ghazizadeh 7bb085ad24
Merge pull request #5003 from medyagh/kubeconfig
Refactor Kubeconfig
2019-08-13 14:57:49 -07:00
Thomas Strömberg e8824b76b2
Merge pull request #5052 from tstromberg/doc-redirect
Update code references to new documentation URL's
2019-08-12 18:26:01 -07:00
Thomas Stromberg f2acb4a33e Update code references to new documentation URL's 2019-08-12 14:51:41 -07:00
Sharif Elgamal a817bffab1
Remove all minikube dependencies from drivers (#4933)
* Remove all minikube dependencies in driver code

* removing all default config

* okay we need some defaults

* code comments

* hyperkit builds now

* sleep for an appropriate amount of time

* remove constant in favor of string

* try goproxy for travis

* try goproxy for travis

* try goproxy for travis

* let's not try goproxy for now

* let's try goproxy once again

* maybe use the correct url for the proxy

* fix go mod
2019-08-12 14:42:11 -07:00
Sharif Elgamal 294f880106
Localization support for help text (#4814)
* Translating help text

* explicity set usage template so we can localize it

* cleaning up extract and translation files

* Add extraction for flags help text

* some comments for extract

* refactor to account for new behavior

* Make usage template translations more palatable.

* remove commented code

* fix go mod

* pin to proper version in go.mod

* translate command grouping headers
2019-08-12 11:16:20 -07:00
Thomas Strömberg 345ed1b85d
Merge pull request #5025 from blueelvis/4996-fix-download-progress-bars
Upgrade cheggaaa/pb from v1.0.27 to v3.0.1
2019-08-12 08:31:20 -07:00
Pranav Jituri 42f5b11fb3
Fixed as per review comments 2019-08-10 12:48:49 +05:30
Medya Gh e696d33206 renamed funky name to Settings 2019-08-09 17:51:51 -07:00
Medya Gh 362f5eaf7b fix bilerplate 2019-08-09 13:46:14 -07:00
Medya Gh d60664df78 refactor fix tests 2019-08-09 12:23:05 -07:00
Medya Gh d3e4e78caa remove redudnent arugment 2019-08-09 12:22:37 -07:00
Medya Gh c064d50881 more clearn func names and move var closer where used 2019-08-09 12:22:10 -07:00
Medya Gh 08e3e14263 add embeded-certs flag to config, decouple kubeconfig from viper 2019-08-09 12:21:48 -07:00
Medya Gh 1e8961f385 rename file 2019-08-09 12:21:48 -07:00
Medya Gh a15201b131 remove exit from kubeconfig update lib 2019-08-09 12:21:48 -07:00
Medya Gh 733ba21a36 decouple kubeconfig update from Host 2019-08-09 12:21:48 -07:00
Medya Gh 8899900889 fix the wrong import 2019-08-09 12:21:48 -07:00
Medya Gh 5a2a849bd2 use file path 2019-08-09 12:21:48 -07:00
Medya Gh 70a1d3b55d chanfges 2019-08-09 12:21:48 -07:00
Medya Gh 5621355004 ranem DeleteContext func 2019-08-09 12:19:58 -07:00
Medya Gh f41a937f5e rename funcs 2019-08-09 12:19:58 -07:00
Medya Gh ac79541826 rename test name 2019-08-09 12:19:58 -07:00
Medya Gh 9ab4892806 move test data 2019-08-09 12:19:58 -07:00
Medya Gh 5a9fb439ab rename funcs 2019-08-09 12:19:58 -07:00
Medya Gh a54b9629cd unexport and rename funcs 2019-08-09 12:19:58 -07:00
Medya Gh fd628eb8db statisfy lint interfacer 2019-08-09 12:19:57 -07:00
Medya Gh ffe573ec48 fixed stutter 2019-08-09 12:18:33 -07:00
Medya Gh df624349c3 created kubeconfig package 2019-08-09 12:18:33 -07:00
Zhongcheng Lao 253d658ad3
Fixes test case failure due to moving constants
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-08-10 00:22:36 +08:00
Zhongcheng Lao 63fdde280f
Move nested functions out
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-08-09 23:30:24 +08:00
Sharif Elgamal 1f48364487
Fix prepareNone and add integration test for it (#5023)
* Fix prepareNone and add integration test for it

* add test file

* only compile none test on linux

* build tags are confusing

* build tags are quite confusing

* build tags are very confusing
2019-08-08 15:47:44 -07:00
Pranav Jituri 7fa4e054f3
Fixed the progress bars ^_^ 2019-08-09 04:02:29 +05:30
Priya Wadhwa bd17652481 Merge branch 'master' of https://github.com/kubernetes/minikube into gvisor-image 2019-08-08 13:10:04 -07:00
Priya Wadhwa 94638de7fd Remove error in gvisor image since it works now 2019-08-08 12:52:40 -07:00
Priya Wadhwa ee4cbbbf00 Run "sudo ctr -n=k8s.io images import" instead of "ctr images import" which doesn't load the image into the runtime 2019-08-08 11:11:30 -07:00
Zhongcheng Lao 49a91fe7ac
Do not fail start command when openssl does not exist
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-08-08 21:51:43 +08:00
Zhongcheng Lao aec9406c62
Populates CA certificates
This PR allows users to add root CA certificates in minikube
VM. CA certificates in $HOME/.minikube/certs will be populated
to system certificate store.

Note: This requires a change to minikube ISO so you may need to
delete and start a brand new minikube VM.

Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-08-08 08:26:36 +08:00
tstromberg 08d97cf025 Use a temp dest to atomically download the iso 2019-08-06 16:01:06 -07:00
Medya Ghazizadeh 551b164017
Merge pull request #4941 from josedonizetti/add-kubeconfig-tests
wip: Improve coverage: add kubeconfig tests
2019-08-06 10:38:04 -07:00
Thomas Strömberg 7ea0fbc93a
Merge pull request #4986 from tstromberg/v1.15.2
Update latest kubernetes version to v1.15.2
2019-08-05 18:13:30 -07:00
Thomas Stromberg 38410704ed Document 78 2019-08-05 16:32:54 -07:00
Thomas Stromberg 2042cd9ac7 Update latest kubernetes version to v1.15.2 2019-08-05 16:30:09 -07:00
Thomas Stromberg 2540253bcb Indent progress bar & set width to 78 columns 2019-08-05 15:40:14 -07:00
Priya Wadhwa cdbb2dd572 Updated gvisor test 2019-08-05 15:21:09 -07:00
Priya Wadhwa 24a2748af8 rebased, fixed merge conflicts 2019-08-05 13:53:23 -07:00
Priya Wadhwa f216fe68ad Check local daemon for cached image before checking remote repo 2019-08-05 13:07:47 -07:00
tstromberg 23491b68b6 Add boilerplate 2019-08-05 12:47:11 -07:00
tstromberg 22e55c70b8 Switch ISO download impl from go-download to go-getter 2019-08-05 11:46:38 -07:00
Medya Ghazizadeh 45e5265c35
Merge pull request #4944 from josedonizetti/refactor-extract-writeconfig
Refactor extract writeconfig
2019-08-04 00:41:25 -07:00
Thomas Stromberg e9ecc59392 logs: fallback to docker ps if crictl ps fails (none driver) 2019-08-02 19:55:04 -07:00
josedonizetti 8b42e28d44 Refactor WriteConfig to accept a path 2019-08-02 21:45:01 -03:00
josedonizetti e14c7d9b1f Fix TestSetCurrentContext to use tmpfile 2019-08-02 21:28:16 -03:00
Thomas Strömberg be61eb7bb1
Merge branch 'master' into cherry-3a96b 2019-08-02 15:04:10 -07:00
Thomas Strömberg aabe45b184
Merge pull request #4959 from tstromberg/distro
UI: Add profile name & distro version to intro, clarify other messages
2019-08-02 15:03:08 -07:00
Thomas Strömberg 6a97242f29
Merge pull request #4958 from tstromberg/style-err
Log the underlying template error
2019-08-02 14:56:29 -07:00
tstromberg 6ac5fe2197 Fix merge conflict 2019-08-02 14:48:21 -07:00
tstromberg e717d46030 Decrease ReasonableStartTime from 10 minutes to 5 minutes 2019-08-02 14:42:57 -07:00
tstromberg 2dd3445176 Add container status and container runtime logs 2019-08-02 14:39:56 -07:00
tstromberg ee6b3da231 Remove 'pods' word 2019-08-02 13:47:34 -07:00
tstromberg 45e9cfba8f Opt for shorter output strings 2019-08-02 11:38:37 -07:00
tstromberg 4b9402fc82 Add host distro to minikube start & guest distro to logs 2019-08-02 11:17:52 -07:00
tstromberg 90b75bbab9 Log the underlying template error 2019-08-02 11:08:42 -07:00
Medya Ghazizadeh f872767afe
Merge pull request #4948 from medyagh/paralell_integration_tests4
refactor integration tests to run in parallel
2019-08-02 00:19:46 -07:00
Medya Ghazizadeh ce98918d8b
Merge pull request #4950 from medyagh/none_stop_improve
Improve driver none stop to work on older systems
2019-08-01 20:17:11 -07:00
Medya Gh fdc3b39e49 lower case errors 2019-08-01 13:52:46 -07:00
Medya Gh 1c8a655154 make none stop work on old systemd 2019-08-01 13:52:16 -07:00
Thomas Strömberg e1c485b1e6
Merge pull request #4898 from RA489/ps
hyperv: Powershell was not found in the path
2019-08-01 12:11:30 -07:00
josedonizetti 760707a5fb Fix lint 2019-08-01 15:08:27 -03:00
josedonizetti 021eaa723d Extract writeConfig 2019-08-01 14:54:47 -03:00
josedonizetti 487c104ab9 Rename test to Test_encode 2019-08-01 14:48:45 -03:00
josedonizetti 4a4ae87e9e refactor: Move WriteConfig to pkg/minikube/config 2019-08-01 14:37:30 -03:00
josedonizetti 358750e2e4 Add UnsetCurrentContext tests 2019-08-01 14:32:26 -03:00
Zoltán Reegn de27472759 Remove ingress-nginx default backend
It's not needed since nginx 0.20.0.

See the following pull-requests for context:
* https://github.com/kubernetes/ingress-nginx/pull/3126
* https://github.com/kubernetes/ingress-nginx/pull/3156
2019-08-01 09:51:30 -07:00
josedonizetti 2614069b43 rename TestGet to Test_get 2019-08-01 09:50:31 -07:00
josedonizetti 6d8e33097c rename TestReadConfig to Test_decode 2019-08-01 09:50:31 -07:00
josedonizetti 02c333084a Add closures_and_goroutines documentation 2019-08-01 09:50:31 -07:00
josedonizetti 58288cfbc2 Add test to config ReadConfig 2019-08-01 09:50:31 -07:00
josedonizetti 27664fe134 Improve UnsetTest 2019-08-01 09:50:31 -07:00
Sharif Elgamal 043ebfe397 Update latest kubernetes version to v1.15.1 2019-08-01 09:50:31 -07:00
josedonizetti 8cc1242601 Add TestSetCurrentContext 2019-08-01 13:20:01 -03:00
RA489 0c7d81c9d1 UI: Advice user when minikube profile is deleted 2019-08-01 07:08:28 +05:30
Medya Ghazizadeh 9916d7a438
Merge pull request #4786 from reegnz/remove-nginx-ingress-default-backend
Remove ingress-nginx default backend.
2019-07-30 14:06:14 -07:00
Medya Ghazizadeh 5add11bb59
Merge pull request #4924 from josedonizetti/rename-config-tests
Improve code readability: rename config unit tests
2019-07-30 14:02:33 -07:00
Medya Ghazizadeh db7d7c87da
Merge pull request #4926 from josedonizetti/add-closures-documentation
Add comment for better clarity of closures_and_goroutines documentation
2019-07-30 13:40:22 -07:00
Medya Ghazizadeh feb7231634
Merge pull request #4925 from josedonizetti/add-readconfig-test
Add test to config.ReadConfig
2019-07-30 13:38:28 -07:00
Medya Ghazizadeh 3a718d9e79
Merge pull request #4922 from josedonizetti/deletes-unset-profile
Unset profile when it is deleted
2019-07-30 13:36:21 -07:00
josedonizetti 190830b827 Add closures_and_goroutines documentation 2019-07-30 16:52:42 -03:00
josedonizetti b436a90db5 Add test to config ReadConfig 2019-07-30 15:53:33 -03:00
josedonizetti a531baa25a rename TestGet to Test_get 2019-07-30 15:23:35 -03:00
josedonizetti f9e00f4195 rename TestReadConfig to Test_decode 2019-07-30 15:22:57 -03:00
Medya Gh 9b3f72024a list vms after clean up 2019-07-30 10:42:55 -07:00
Medya Gh d1a41e0015 Added default profile 2019-07-30 10:40:11 -07:00
josedonizetti 483fe644eb Improve UnsetTest 2019-07-30 14:16:51 -03:00
Thomas Strömberg b309750496
Merge pull request #4915 from sharifelgamal/k8s-1.15.1
Update latest kubernetes version to v1.15.1
2019-07-30 10:03:47 -07:00
Zoltán Reegn d1436b40fe Remove ingress-nginx default backend
It's not needed since nginx 0.20.0.

See the following pull-requests for context:
* https://github.com/kubernetes/ingress-nginx/pull/3126
* https://github.com/kubernetes/ingress-nginx/pull/3156
2019-07-30 09:32:02 +02:00
Sharif Elgamal 98e8dd3921
Update latest kubernetes version to v1.15.1 2019-07-29 13:40:35 -07:00
Medya Ghazizadeh 743aeaa859
Merge pull request #4887 from josedonizetti/fix-glog-parse-error
Fix glog parse error
2019-07-29 13:24:19 -07:00
Thomas Strömberg 128bdfbe27
Merge pull request #4674 from kubernetes/docsy2
Switch documentation site to docsy theme, add sample content
2019-07-29 11:51:48 -07:00
Thomas Strömberg a05a26e039
Merge pull request #4758 from blueelvis/4661-force-poweroff-in-hyperv
hyperv: Run "sudo poweroff" before stopping VM
2019-07-29 10:16:23 -07:00
RA489 23391893e8 hyperv: Powershell was not found in the path 2019-07-29 07:36:19 +05:30