Jason Stangroome
9b21d3c7e4
Allow certificates to be optionally embedded in .kube/config
...
Opt-in with `minikube config set embed-certs true`. Similar to the
behaviour of `kubectl config set-credentials --embed-certs`.
Enables Minikube on Windows to produce a .kube/config file that
can be shared directly with kubectl inside the Windows Subsystem
for Linux (WSL) without needing to perform additional translation
of the certificate paths within the configuration file.
2018-09-03 15:34:50 -05:00
Aaron Prindle
a4606583e4
remove all localkube references from code, change /var/lib/localkube to /var/lib/minikube
2018-07-24 12:36:42 -07:00
Ivan Hamilton
4bdba1f20b
Issue certificates with NotBefore set 1 day prior to avoid drift/timezone issues in VM
2018-05-23 13:18:26 -07:00
Arnaud MAZIN
b25f82759f
Create empty map if Nil
2018-04-29 18:24:25 -07:00
Arnaud MAZIN
3f9350da72
fmt
2018-04-29 18:24:25 -07:00
Arnaud MAZIN
cc41522545
added map[string]string argument parsing for eviction-like arguments
2018-04-29 18:24:25 -07:00
AdamDang
3c50dee461
Update config.go
2018-04-23 20:10:55 +08:00
dlorenc
3cce3ca727
Make ResourceQuota last.
2018-03-06 20:50:22 -08:00
dlorenc
b227d6d5e9
Add the ValidatingAdmissionWebhook controller.
2018-03-06 09:12:38 -08:00
dlorenc
ce6a727fc0
Make the admission controllers shared between localkube and kubeadm.
2018-02-15 11:51:57 -08:00
Matt Rickard
7cea97d92a
Merge pull request #2541 from budhrg/refactor-get-downloadurl
...
Refactor get download url for minikube
2018-02-12 10:25:11 -08:00
Budh Ram Gurung
68285d1779
Refactor get download url for minikube
2018-02-12 13:15:06 +05:30
Yongkun Anfernee Gui
49757dccfa
Chmod -x kubernetes.go
2018-02-09 12:12:13 -08:00
Chen Li
aa32282e3f
Use IPSliceVar for apiServerIPs
2018-01-17 08:22:25 -08:00
Chen Li
a3f3286f50
Allow add new server names and IPs to apiserver x509 certificate
2018-01-17 08:22:25 -08:00
kairen
08f4677511
Change kubernetes-dashboard from RC to Deployment
2018-01-10 02:15:07 +08:00
Matt Rickard
30667cb406
Calculate ServiceClusterIP and DNS IP from CIDR
2017-10-31 10:06:51 -07:00
Matt Rickard
901c844a00
localkube changes
2017-10-13 10:21:16 -07:00
Matt Rickard
e5002afa8c
add vendor
2017-10-13 10:21:09 -07:00
Matt Rickard
3180e2e897
Merge pull request #1938 from r2d4/integration-test-cleanup-
...
Integration test cleanup
2017-09-12 14:28:28 -07:00
Matt Rickard
53341aa30d
golint, go vet, etc. changes
2017-09-11 14:17:58 -07:00
Matt Rickard
9747484e9e
Move k8s utils to pkg/util
2017-09-08 20:14:28 -07:00
Kent Rancourt
ce2ac65d7f
manage proxy-client / aggregator certs
2017-09-06 18:11:59 -04:00
Matt Rickard
1052dda37a
Move CalculateDiskSizeInMB to utils to use in kvm
2017-08-28 11:27:34 -07:00
Matt Rickard
5531a63b8d
go lint/vet fixes
2017-08-04 13:42:10 -07:00
dlorenc
8837045970
Stop using insecure serving.
2017-07-26 14:38:57 -07:00
Matt Rickard
d56d41b956
Add duration as a configurable type for localkube
2017-07-19 14:16:33 -07:00
Matt Rickard
0b595b7a43
minikube: Url parse changes for go 1.8
2017-07-13 09:19:44 -07:00
dlorenc
11ce2369d2
Move kubecfg utils from minikube to util.
...
We'll need to also write a kubecfg inside the VM going forward as we
remove the InsecureServing path.
2017-07-05 17:25:36 -07:00
Matthew Fisher
135a920d80
fixup default --insecure-registry CIDR address
...
The default CIDR should be 10.0.0.0/24 rather than 10.0.0.1.
Accidental off-by-one error. :)
2017-06-19 11:39:18 -07:00
Matt Rickard
7f294b2a54
Review feedback
2017-05-16 15:31:15 -07:00
Matt Rickard
652c4c668d
Validate k8s version before starting VM
...
Also, cache in memory localkube versions in multiple calls to the GCS
bucket. These versions will not change during the life of the minikube
process once fetched and are used multiple times.
2017-05-12 15:07:15 -07:00
Matt Rickard
3b46c27b16
Minikube changes for v1.6.0-alpha.1
2017-03-31 13:23:59 -07:00
dlorenc
964ff65f39
Fix gofmt.
2017-03-14 10:07:34 -07:00
dlorenc
63ac7e8a76
Fix tests.
2017-03-13 10:21:14 -07:00
dlorenc
c220ada63b
Fix tests.
2017-03-07 15:00:19 -05:00
Dale Hamel
107e3324a6
Add support for parsing CIDRs to config
2017-03-07 14:59:36 -05:00
Eden Li
c632321122
support componentconfigs with native type aliases
...
Some componentconfig options are aliased to native convertible types
(e.g. ProxyMode) but FindAndSet() was unable to detect that and so it
wasn't possible to set these values via `--extra-config`.
This change addresses that by using the reflected value's Kind instead
of a type assertion on its interface.
It's also worth noting that any value with the type Duration (e.g.
proxy.IPTablesSyncPeriod) is also unable to be set for the same reason,
but this commit does not address that.
See https://github.com/kubernetes/minikube/issues/1217
2017-03-03 01:29:46 -08:00
Davanum Srinivas
8584cf8761
Fix test break
2017-02-27 21:47:30 -05:00
Aaron Prindle
56d4824456
Merge pull request #1149 from aaron-prindle/api-name-configurable
...
Added API Name as configuration option
2017-02-27 15:18:56 -08:00
Andreas Kohn
bba2ef86ee
Add the 'minikube' user to the 'system:masters' group
2017-02-23 14:20:15 +01:00
Aaron Prindle
68973786d6
Added test coverage for ParseSHAFromURL
2017-02-21 21:33:40 -08:00
Aaron Prindle
3d91f91ede
Merge pull request #1159 from aaron-prindle/downloader-tests
...
Added unit tests to downloader.go
2017-02-21 10:17:57 -08:00
Matt Rickard
e0a5dbc4f8
Add test coverage for GenerateSignedCert
2017-02-21 10:16:59 -08:00
Aaron Prindle
6959aa0ce2
Added unit tests to downloader.go
2017-02-19 21:01:01 -08:00
Aaron Prindle
3433a3028c
Added API Name as configuration option
2017-02-18 15:49:49 -08:00
Aaron Prindle
c418095c38
Added MINIKUBE_HOME env variable which sets .minikube directory
2017-02-09 11:07:44 -08:00
Matt Rickard
1fbd936b39
Move iso download funcs to interface for testing
...
Also reorg types found in cluster.go into types.go
2017-01-31 13:45:56 -08:00
Jimmi Dyson
23a1e4ada4
Allow setting string slices in extra config
2017-01-12 12:10:53 +00:00
Dan Lorenc
17b7e8ae72
Add some tests to our cert generation.
2016-12-17 09:27:08 -08:00