Commit Graph

13036 Commits

Author SHA1 Message Date
AkiraFukushima 36acadca59 Fill Role names in kops-controller-config instead of instance profile names when it is specified
The role names are checked in node bootstrap.
If profile names are provided, bootstrap will fail.
Because profile name and role name do not always mactch in AWS IAM
2021-02-11 14:28:49 +09:00
Kubernetes Prow Robot f7b0f4444a
Merge pull request #10739 from zhijianli88/master
Fix ineffassign issues
2021-02-05 14:00:31 -08:00
Kubernetes Prow Robot 5c50fffd0f
Merge pull request #10742 from h3poteto/iss-10718
Use expected LaunchTemplateId in updating ASG when MixedInstancePolicy is changed
2021-02-05 08:48:52 -08:00
AkiraFukushima 37c68e27df Use expected LaunchTemplateId in updating ASG when MixedInstancePolicy is changed
When user changes only mixedInstancePolicy, LaunchTemplateId is not changed.
So it is not necessary to change LaunchTemplateId in AutoScalingGroup.
2021-02-06 01:08:40 +09:00
Li Zhijian 501df662d4 upup/pkg/fi/cloudup/gcetasks/subnet: Fix ineffectual assignment to patch
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-02-05 16:41:55 +08:00
Li Zhijian f1484df4b8 upup/pkg/fi/cloudup/alitasks/rampolicy: Fix ineffectual assignment to policyRequest
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-02-05 16:40:39 +08:00
Li Zhijian d39f196292 pkg/apis/kops/validation/validation: Fix ineffectual assignment to optionTaken
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-02-05 16:39:28 +08:00
Kubernetes Prow Robot ae3579076d
Merge pull request #10692 from bharath-123/feat/set-cluster-validation
Throw error if path being set by kops set is not present in struct
2021-02-04 22:08:52 -08:00
Kubernetes Prow Robot 0271f0e8cb
Merge pull request #10729 from olemarkus/imdsv2-not-default
Revert making imdsv2 default
2021-02-04 11:46:25 -08:00
Kubernetes Prow Robot c954793865
Merge pull request #10721 from rifelpet/kops-controller-r53
Cleanup kops-controller Route53 record during cluster deletion
2021-02-04 09:58:30 -08:00
Ole Markus With 364b0ce9bf Fix additional tests 2021-02-04 18:22:40 +01:00
Ole Markus With dd035fa2bc Revert "Set IMDSv2 to "required" only for new clusters"
This reverts commit 12cb288df1.
2021-02-04 17:57:35 +01:00
Ole Markus With a4c36af9de Revert "Increse imdv2 hop limit on control plane nodes"
This reverts commit 4e00e29fc3.
2021-02-04 17:57:23 +01:00
Kubernetes Prow Robot ebe8c53813
Merge pull request #10720 from rifelpet/kubecfg-panic
Fix panic when exporting kubecfg for AWS cluster without load balancer
2021-02-04 07:16:29 -08:00
Kubernetes Prow Robot beb8b62746
Merge pull request #10700 from avdhoot/expose-metrics-Calico
Fix rendering issue created by #10414
2021-02-04 01:46:29 -08:00
Kubernetes Prow Robot 6fa8707581
Merge pull request #10696 from bharath-123/task/fix-links
Update code reference links in docs
2021-02-04 01:04:37 -08:00
Kubernetes Prow Robot 75df2e5cf7
Merge pull request #10690 from bharath-123/task/remove-unused-param
Remove unused instanceGroup parameter from setClusterFields
2021-02-04 01:04:29 -08:00
Peter Rifel c28c4c728d
Cleanup kops-controller Route53 record during cluster deletion 2021-02-03 22:41:49 -06:00
Peter Rifel 9074e5200b
Fix panic when exporting kubecfg for AWS cluster without load balancer 2021-02-03 22:35:04 -06:00
Kubernetes Prow Robot 1885ccee17
Merge pull request #10713 from rifelpet/kubetest2
Update the skipped tests in the upgrade job to help the test stage pass
2021-02-02 21:26:28 -08:00
Peter Rifel 2787218fa6
Update the skipped tests in the upgrade job to help the test stage pass
We'll look into these failures separately but for now we just want to get to the upgrade process
2021-02-02 12:09:52 -06:00
Kubernetes Prow Robot b7f1f69a86
Merge pull request #10712 from dntosas/fix-docs-for-service-account-volume
Docs: Fix ServiceAccountVolume proposed configuration for Istio
2021-02-02 09:58:28 -08:00
dntosas 3a5d6ffe1f
Docs: Fix ServiceAccountVolume proposed configuration for Istio
Seems that after merging https://github.com/kubernetes/kops/pull/9534
there is no need to specify paths for key-files for service Account
Token Volume Projection. Instead, current configuration proposed is
making Istio unable to verify JWT token with errors.

In this commit, we remove the paths, letting Kops handles the default
ones that are working as expected.

Signed-off-by: dntosas <ntosas@gmail.com>
2021-02-02 18:39:59 +02:00
Kubernetes Prow Robot 030d293554
Merge pull request #10711 from rifelpet/kubetest2
Fix create args for upgrade test
2021-02-02 07:56:28 -08:00
Peter Rifel 1ce2352646
Fix create args for upgrade test 2021-02-02 09:16:13 -06:00
Kubernetes Prow Robot 3a3bb5fdf5
Merge pull request #10710 from rifelpet/kubetest2
Update upgrade test to use 1.18->1.19
2021-02-02 06:22:28 -08:00
Peter Rifel dd41a2f8fe
Update upgrade test to use 1.18->1.19 2021-02-02 07:41:45 -06:00
Bharath Vedartham e37cb87214 Update code reference links 2021-02-02 01:40:33 +05:30
Kubernetes Prow Robot 9d0dd3c4c1
Merge pull request #10701 from rifelpet/kubetest2
Kubetest2 - refactor how `kops create cluster` arguments are set
2021-02-01 11:43:49 -08:00
Peter Rifel 72ae782c04
Dont overwrite default feature flags when appending more flags 2021-02-01 12:27:33 -06:00
Peter Rifel 044cba7a7a
Kubetest2 - refactor how `kops create cluster` arguments are set
This allows kubetest's --create-args to take precedence over arguments we were otherwise hardcoding.
Specifically this will be used to hardcode the list of zones for some prow jobs with `--create-args="--zones us-east-1a"`.
2021-02-01 12:27:19 -06:00
Peter Rifel 942c48c04b
Remove unnecessary --networking flag from kubetest2.
this can be specified in --create-args
2021-02-01 12:27:18 -06:00
Kubernetes Prow Robot 31c8771587
Merge pull request #10702 from olemarkus/fix-cp-hop-limit
Increase IMDSv2 hop limit on control plane nodes
2021-02-01 04:17:49 -08:00
avdhoot 0717e4a50a Fix rendering issue created by #10414 2021-02-01 14:09:20 +05:30
Kubernetes Prow Robot dae40386cd
Merge pull request #10698 from hakman/weave-2.8.1
Update Weave to v2.8.1
2021-01-31 21:49:49 -08:00
Ole Markus With 4e00e29fc3 Increse imdv2 hop limit on control plane nodes
Non-hostNetworking fails to talk to the instance metadata otherwise. Breaking e.g CSI controller
2021-01-31 19:35:07 +01:00
Kubernetes Prow Robot fd21e0e836
Merge pull request #10689 from olemarkus/tf-channel-latest-ami
Add template function returning the latest image
2021-01-31 07:51:48 -08:00
Kubernetes Prow Robot 40ae752e46
Merge pull request #10545 from olemarkus/channels-certs
Have channels create PKI for addons
2021-01-31 01:21:49 -08:00
Ciprian Hacman dc407e8a9b Update Weave to v2.8.1 2021-01-31 09:52:57 +02:00
Ole Markus With 05092f8389 Add template function returning the latest image
Apply suggestions from code review

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2021-01-31 08:21:15 +01:00
Bharath Vedartham 49f3ab0703 Throw error if path being set by kops set is not present in struct 2021-01-31 12:00:42 +05:30
Kubernetes Prow Robot bd956fdc4a
Merge pull request #10694 from olemarkus/allow-gp2-standard
Fix bug preventing tasks using gp2
2021-01-30 11:29:48 -08:00
Ole Markus With 7ac74ab61c Fix bug preventing tasks using gp2 2021-01-30 19:46:30 +01:00
Kubernetes Prow Robot 55a5915515
Merge pull request #10688 from olemarkus/docs-fix-release-notes
Remove 'not released' notice from 1.19 notes
2021-01-30 02:13:48 -08:00
Bharath Vedartham 515fbf1c1c set_cluster: Remove unused instanceGroup parameter from setClusterFields 2021-01-30 14:31:49 +05:30
Kubernetes Prow Robot b50ec1df46
Merge pull request #10680 from timothyclarke/patch-1
Documentation update: Corrected externalPolicy AWS ARN formatting
2021-01-30 00:13:48 -08:00
Ole Markus With 1db7b72843 Use serving cert for metrics-server 2021-01-30 09:01:36 +01:00
Ole Markus With d41f68c6ef Make channels create PKI for addons that needs it 2021-01-30 09:01:33 +01:00
Ole Markus With 4085dbd593 Remove 'not released' notice from 1.19 notes 2021-01-30 08:35:38 +01:00
Kubernetes Prow Robot 1bf87aca9f
Merge pull request #10685 from olemarkus/docs-fix-indentations
Fix header indentation in addons.md
2021-01-29 23:33:48 -08:00