Commit Graph

72 Commits

Author SHA1 Message Date
Peter Rifel b7960f04d4 Allow CoreDNS to be specified by create cluster overrides
This will more easily allow our end-to-end testing to use CoreDNS rather than KubeDNS
2020-01-14 08:14:33 -06:00
tanjunchen 8acb51e061 pkg/apis/ pkg/commands/ pkg/model/ staticcheck 2019-12-30 21:13:40 +08:00
Xiaoyu Zhong 2eeca3a9a6 Alicloud: fix status discovery 2019-10-16 22:16:03 +08:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Camilo Santana 78d16f2467
fixes typo - s/(Spec.)m(asterPublicName)/$1M$2/
pull-kops-e2e-kubernetes-aws — Job failed. [Details](https://prow.k8s.io/view/gcs/kubernetes-jenkins/pr-logs/pull/kops/7160/pull-kops-e2e-kubernetes-aws/1141685394924900352/)
```
I0620 12:37:27.976] /root/.cache/bazel/_bazel_prow/ae5d1f01453377487c630b230ced7d61/sandbox/linux-sandbox/836/execroot/__main__/pkg/commands/set_cluster.go:97:16: cluster.Spec.masterPublicName undefined (type "k8s.io/kops/pkg/apis/kops".ClusterSpec has no field or method masterPublicName, but does have MasterPublicName)
```

fixes typo
2019-06-20 13:43:46 -07:00
Camilo Santana 1bff3f1841
add masterPublicName support in kops set cluster 2019-06-18 13:07:49 -07:00
Adrian Fedoreanu e3f7fa5768
add support to set cluster spec.kubelet
* spec.kubelet.authorizationMode
* spec.kubelet.authenticationTokenWebhook
2019-03-15 11:04:45 +01:00
Justin SB 83ea1c491b
Normalize etcd cluster provider names
Instead of just casting a string, we validate and normalize.
2019-01-29 23:22:29 -05:00
Kubernetes Prow Robot 70484c009a
Merge pull request #6232 from justinsb/ask_kops_for_its_version
kops version: Add --short flag, use it to get version in scripts
2019-01-27 13:50:37 -08:00
Jesse Haka 335d3f7e73 implement etcd status for openstack 2019-01-24 08:25:56 +02:00
Justin SB b40c9034bd
kops version: Add --short flag, use it to get version in scripts
We upload to a location that includes the version, but we need to
specify the version in KOPS_BASE_URL.  We expose an option to make
`kops version` more amenable to this scripting.
2019-01-22 22:27:33 -05:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 5cae86c2ce dep ensure and gofmt updates 2019-01-16 15:09:20 -07:00
Sergiu Marsavela (smarsave) 922e5dfe3f Discover hosts to populate 2019-01-16 09:27:45 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 64b63ba6ae Removing references to drekle repo 2019-01-15 14:21:11 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) af91543345 Checking in model and task dependencies 2019-01-15 14:13:53 -07:00
Justin Santa Barbara b56457dc05 kops set: support for enableEtcdTLS and enableTLSAuth
These shortcut commands make it easy to set enableEtcdTLS and
enableTLSAuth.

`kops set cluster cluster.spec.etcdClusters[*].enableEtcdTLS=true`

`kops set cluster cluster.spec.etcdClusters[*].enableTLSAuth=true`
2018-11-24 22:27:15 -05:00
Justin Santa Barbara 54c499fe9b Introduce field to specify whether we are using etcd-manager or legacy mode
Splitting this out from the bigger bundle PR
2018-10-01 15:36:24 -07:00
LilyFaFa b3aabfdebc support edit cluster and rolling-update cluster for AliCloud 2018-07-07 15:42:44 +08:00
Justin Santa Barbara 73eb8270b7 Create override for etcd-manager image 2018-05-26 12:48:55 -07:00
Justin Santa Barbara 81d5f06a58 Unify create-create overrides and set-cluster fields
Supports e2e upgrade tests
2018-05-09 11:55:44 -04:00
chrislovecnm 658d1bb484 fixing bazel file 2018-02-26 13:03:44 -07:00
Justin Santa Barbara 6f52996c2a Experimental kops set cluster command
Introduce an experimental kops set cluster command, for setting
individual fields in the same style as the kops create cluster
--override flags.

For now, feature flag gated by the same SpecOverrideFlag feature flag.

Also split out pkg/commands package to facilitate testing.
2018-02-26 09:33:16 -05:00