Commit Graph

5982 Commits

Author SHA1 Message Date
justinsb 817c1e63b3 FindKeyset can return nil
We had missed a case in nodeup; add a Context argument to force us to
revisit the codepaths.
2022-12-24 16:12:21 -05:00
Kubernetes Prow Robot 69c59af0f4
Merge pull request #14862 from justinsb/vfs_context_to_create_and_write
VFS: Add context to CreateFile & WriteFile
2022-12-23 10:25:26 -08:00
justinsb a69dc902c4 Add context to GetOrCreateSecret
Continuing the wiring as needed.
2022-12-23 10:48:50 -05:00
justinsb ae074bbc6b VFS: Add context to CreateFile & WriteFile
As "request" methods, these should have context parameters.
2022-12-23 10:39:52 -05:00
Ciprian Hacman f5b72742b4
Release 1.26.0-beta.1 (#14858) 2022-12-23 01:13:27 -08:00
Kubernetes Prow Robot b647e4413f
Merge pull request #14846 from hakman/gossip_to_dns-none
Allow migration from Gossip DNS to no DNS
2022-12-22 22:53:26 -08:00
Ciprian Hacman b08d53a131 Refactor Gossip usage in addon templates 2022-12-23 08:04:13 +02:00
Kubernetes Prow Robot d17325c9b0
Merge pull request #14855 from johngmyers/external-dns
Upgrade external-dns to 0.13.1
2022-12-22 21:59:25 -08:00
Kubernetes Prow Robot a870d020ee
Merge pull request #14854 from johngmyers/describeimages-paginate
AWS: Use pagination for DescribeImages call
2022-12-22 20:07:26 -08:00
John Gardiner Myers bce03549f0 Upgrade external-dns to 0.13.1 2022-12-22 19:43:24 -08:00
John Gardiner Myers ac06f4af48 AWS: Use pagination for DescribeImages call 2022-12-22 17:03:03 -08:00
justinsb 90cbf75584 Context threading: more wiring
We're aiming to use this for testing immediately and better
logging/tracing in future, but to make the changes manageable breaking
them into a smaller series that don't directly achieve much.
2022-12-22 17:52:22 -05:00
Ciprian Hacman 362601cd66 Allow migration from Gossip DNS to no DNS 2022-12-22 12:36:32 +02:00
Ciprian Hacman 0c88d881a2 openstack: Stop passing cluster tags 2022-12-22 08:08:19 +02:00
Ciprian Hacman d9d78df5e7 openstack: Refactor DNS client initialization 2022-12-22 07:41:25 +02:00
Ole Markus With 171b2d0a5d Bump cilium to 1.12.5 2022-12-21 11:40:39 +01:00
Kubernetes Prow Robot 70efe5dd08
Merge pull request #14829 from olemarkus/ebs-csi-114
Bump EBS CSI driver to 1.14.0
2022-12-21 00:49:25 -08:00
John Gardiner Myers b38c55a2b9 Simplify nodeup references to CloudProvider 2022-12-20 19:44:32 -08:00
Kubernetes Prow Robot adee89e75b
Merge pull request #14835 from olemarkus/dns-cache-ondemand
Use OnDelete update strategy for node local dns cache
2022-12-20 15:05:33 -08:00
Ole Markus With 36b75b031d Use onDelete update strategy for node-local DNS cache 2022-12-20 22:12:51 +01:00
Ole Markus With 43be10020c Use enums for needsRollingUpdate in the channels API 2022-12-20 22:11:56 +01:00
John Gardiner Myers 7d14a5ac17 Mark access to cluster as deprecated in nodeup 2022-12-20 12:00:37 -08:00
John Gardiner Myers d916596c32 Give nodeup a read-only Keystore 2022-12-20 12:00:37 -08:00
John Gardiner Myers 7abacb9b3b Get default CheckExisting from Target 2022-12-20 12:00:37 -08:00
John Gardiner Myers f5fb91c858 Move SecretStore to CloudupSubContext 2022-12-20 12:00:37 -08:00
Kubernetes Prow Robot c65224a15a
Merge pull request #14825 from johngmyers/nodeup-update-pkg
Move Cluster into CloudupSubContext
2022-12-20 11:43:18 -08:00
Ole Markus With 08a9657cfb Bump EBS CSI driver to 1.14.0 2022-12-20 20:37:53 +01:00
Kubernetes Prow Robot bfabf3752a
Merge pull request #14824 from hakman/cert-manager-v1.10.1
Update cert-manager to v1.10.1
2022-12-20 09:09:44 -08:00
John Gardiner Myers 6b0775a434 Remove unused LocalTarget fields 2022-12-20 08:14:35 -08:00
John Gardiner Myers 4d309b0b36 Move Cluster into CloudupSubContext 2022-12-20 08:11:01 -08:00
John Gardiner Myers 76fc186060 Remove nodeup's unused cloudinit target 2022-12-20 07:14:15 -08:00
Kubernetes Prow Robot 9aa2a5104a
Merge pull request #14814 from johngmyers/nodeup-install
Separate out a fi.InstallContext
2022-12-20 06:45:51 -08:00
Kubernetes Prow Robot 728fbabe6c
Merge pull request #14813 from johngmyers/gcp-csi
v1alpha3: Move some GCE-specific fields to CloudProvider.GCE
2022-12-20 06:45:44 -08:00
Ciprian Hacman fc539d2f0d Run hack/update-expected.sh 2022-12-20 13:29:56 +02:00
Ciprian Hacman c20892c26b Enable pruning of removed cert-manager objects 2022-12-20 13:29:50 +02:00
Ciprian Hacman 7b2de90212 Run hack/update-expected.sh 2022-12-20 13:17:15 +02:00
Ciprian Hacman 5a7086aa27 Update cert-manager to v1.10.1 2022-12-20 13:14:23 +02:00
John Gardiner Myers 472a7f38b6 Upgrade coredns to v1.10.0 2022-12-19 23:26:39 -08:00
John Gardiner Myers 9b22483ab2 Separate out a fi.InstallContext 2022-12-19 17:18:58 -08:00
Ciprian Hacman a38e3f403a Update containerd to v1.6.14 2022-12-20 00:59:07 +02:00
Kubernetes Prow Robot 3f05fa4f73
Merge pull request #14727 from justinsb/refactor_kops_controller_client
Move kops-controller client into its own package
2022-12-19 09:09:44 -08:00
John Gardiner Myers 34d7507f78 v1alpha3: Move some GCE-specific fields to CloudProvider.GCE 2022-12-19 08:28:28 -08:00
Kubernetes Prow Robot bf7b2c5d94
Merge pull request #14809 from johngmyers/trim-nodeup
Trim some fields from fi.Context
2022-12-19 08:17:44 -08:00
John Gardiner Myers bec27d0579 Make the kops-controller client generic 2022-12-19 10:30:13 -05:00
Justin SB d18e663397 Move kops-controller client into its own package
This should allow more reuse.
2022-12-19 10:30:13 -05:00
John Gardiner Myers dec7d33be6 v1alpha3: Move AWS EBS CSI spec under CloudProvider.AWS 2022-12-19 00:10:16 -08:00
John Gardiner Myers ca7d82b02a v1alpha3: move AWS-specific fields to AWSSpec 2022-12-18 15:16:49 -08:00
John Gardiner Myers a16dbf3747 Make some functions private 2022-12-18 13:44:23 -08:00
John Gardiner Myers f7383b29da Move Cloud into CloudupSubContext 2022-12-18 13:40:02 -08:00
John Gardiner Myers 0aba1a24b9 Move ClusterConfigBase into CloudupSubContext 2022-12-18 13:40:02 -08:00
John Gardiner Myers 7fcd55737a Remove unused fields from fi.Context 2022-12-18 13:40:02 -08:00
Kubernetes Prow Robot 741ca8faa2
Merge pull request #14444 from johngmyers/task-generic
Refactor Context into separate cloudup and nodeup types
2022-12-18 13:37:43 -08:00
John Gardiner Myers 70e44c2bf6 Bump metrics-server to 0.6.2 2022-12-17 23:03:40 -08:00
John Gardiner Myers 7c3e32369a Refactor Context into separate cloudup and nodeup types 2022-12-17 17:42:46 -08:00
John Gardiner Myers 246a27d689 NTH: Remove unnecessary configuration in Queue Processor mode 2022-12-17 09:44:57 -08:00
Kubernetes Prow Robot ae9fd8c344
Merge pull request #14795 from johngmyers/aws-ccm-old
Upgrade older AWS CCM minor versions
2022-12-17 07:15:49 -08:00
Kubernetes Prow Robot 0f5fc06cec
Merge pull request #14771 from johngmyers/sqs-rebalance
Don't drain on rebalance recommendations in SQS mode unless configured
2022-12-17 07:15:42 -08:00
John Gardiner Myers 9de1ee9459 Upgrade older AWS CCM minor versions 2022-12-16 15:33:09 -08:00
Kubernetes Prow Robot d9d47bd6d8
Merge pull request #14731 from Mia-Cross/scaleway_identify_resources
scaleway: list and delete resources
2022-12-15 22:31:36 -08:00
Ciprian Hacman 5927c506d0 Update containerd to v1.6.13 2022-12-16 06:00:04 +02:00
Kubernetes Prow Robot 0896ea246d
Merge pull request #14769 from hakman/gce_none_dns
gce: Add support for clusters without DNS
2022-12-15 19:29:36 -08:00
Leïla MARABESE ef8648e12c scaleway: list and delete resources 2022-12-15 14:29:29 +01:00
Kubernetes Prow Robot d6810e1683
Merge pull request #14743 from olemarkus/no-lb-no-vipacl
OpenStack: allow no lbclient when checking for vipacl
2022-12-15 02:25:36 -08:00
Ciprian Hacman b9f7c2619b gce: Add support for clusters without DNS 2022-12-14 11:09:54 +02:00
Kubernetes Prow Robot 0913a11b48
Merge pull request #14773 from johngmyers/calico-ipv6
Calico: Don't try to upgrade IPAM in IPv6 clusters
2022-12-14 00:31:34 -08:00
Kubernetes Prow Robot 41fa042b89
Merge pull request #14768 from hakman/guess_cloud
Guess cloud provider from state store path
2022-12-13 22:29:40 -08:00
Kubernetes Prow Robot 091754fd8b
Merge pull request #14778 from justinsb/gcs_oidc_just_context
Introduce context.Context into some of our "Context" objects
2022-12-13 12:15:34 -08:00
Ciprian Hacman e622a5b6ce Update containerd to v1.6.12 2022-12-13 08:22:22 +02:00
justinsb 5fde739814 Introduce context.Context into some of our "Context" objects
The rule of thumb is that we shouldn't be embedding a context.Context,
but it is reasonable when the lifetime is similar and when the
refactor would otherwise be unacceptably large.

This is a minimal way to introduce it, based on adding the support
needed in the GCS support for serviceAccountIssuerDiscovery.  We will
need to plumb through the context in many more places over time.
2022-12-12 09:56:09 -05:00
Ciprian Hacman 41ada58944 Rename field from `ManagedFile.Public` to `ManagedFile.PublicACL` 2022-12-12 13:21:55 +02:00
John Gardiner Myers 7f502be319 Calico: Don't try to upgrade IPAM in IPv6 clusters 2022-12-11 20:53:51 -08:00
John Gardiner Myers 55b46073b7 Don't drain on rebalance recommendations in SQS mode unless configured 2022-12-11 18:21:43 -08:00
Ole Markus With 00631f0c2e Bump EBS CSI driver to 1.13.0 2022-12-11 18:19:16 +01:00
Kubernetes Prow Robot 572b0655dc
Merge pull request #14732 from olemarkus/cilium-12
Bump cilium version to 1.12.4
2022-12-11 04:25:14 -08:00
Ciprian Hacman bc2aa3072d Guess cloud provider from state store path 2022-12-11 12:30:10 +02:00
John Gardiner Myers 264bf942da Miscellaneous Terraform refactors 2022-12-10 09:32:06 -08:00
John Gardiner Myers 9878f8a190 Miscellaneous Terraform refactors 2022-12-10 09:32:06 -08:00
John Gardiner Myers 0830a9680b Remove dead code 2022-12-10 09:32:02 -08:00
John Gardiner Myers dde963f3a4 Refactor writing Terraform outputs 2022-12-10 09:30:36 -08:00
Kubernetes Prow Robot d73a83de38
Merge pull request #14730 from johngmyers/refactor-tf-provider
Refactor writing Terraform providers
2022-12-09 22:29:41 -08:00
John Gardiner Myers 7c5b983490 Enable NTH Scheduled Event Draining by default 2022-12-08 19:02:44 -08:00
Ole Markus With 00e484663b OpenStack: allow no lbclient when checking for vipacl 2022-12-08 18:46:18 +01:00
Kubernetes Prow Robot 83221ad0b8
Merge pull request #14742 from olemarkus/cleanup-os-lb-builder
OpenStack: Refactor Load Balancer builder
2022-12-08 05:58:23 -08:00
Ole Markus With 7ec40d9c88 Refactor building openstack load balancer client 2022-12-08 10:08:38 +01:00
Kubernetes Prow Robot c692dd3292
Merge pull request #14738 from hakman/aws_tg_deregistration_delay
aws: Add support for managing target group attributes
2022-12-07 13:28:22 -08:00
Ole Markus With 5737b86ce6 Update expected 2022-12-07 18:33:03 +01:00
Ole Markus With a5684f969f Bump cilium to 1.12.4 2022-12-07 18:33:03 +01:00
Ciprian Hacman 3a046ded6b aws: Add support for managing target group attributes 2022-12-07 18:56:14 +02:00
Ciprian Hacman 0c020cb6e9 Use EnsureTask to reference shared target groups 2022-12-07 18:37:33 +02:00
Leïla MARABESE eb896a713a migration account API to IAM API 2022-12-06 17:27:46 +01:00
Kubernetes Prow Robot 7ce93c03ae
Merge pull request #14593 from johngmyers/cas-allow-spot
Allow cluster-autoscaler to run on spot if nothing else is available
2022-12-06 04:24:37 -08:00
Kubernetes Prow Robot f827ec7f54
Merge pull request #14721 from johngmyers/nth-default-queue
Change default for NTH Queue Processor mode to enabled
2022-12-06 03:18:36 -08:00
John Gardiner Myers b128c67708 Refactor writing Terraform providers 2022-12-05 21:55:10 -08:00
Kubernetes Prow Robot e5a835d287
Merge pull request #14706 from johngmyers/v1alpha3-networking
v1alpha3: move networking fields under networking
2022-12-05 21:34:38 -08:00
John Gardiner Myers 624145faca toElement() never returns an error 2022-12-05 21:31:37 -08:00
John Gardiner Myers 5194f3a974 Refactor Terraform map code 2022-12-05 21:27:25 -08:00
Kubernetes Prow Robot 255713e8ba
Merge pull request #14723 from johngmyers/refactor-tf-resource
Refactor writing Terraform resources
2022-12-05 20:42:45 -08:00
Kubernetes Prow Robot 66921ca27f
Merge pull request #14700 from hakman/gcp_cluster_autoscaler
gce: Update cluster-autoscaler config
2022-12-05 07:45:03 -08:00
Leïla MARABESE 7247fdc199 rewording 2022-12-05 14:40:31 +01:00
Leïla MARABESE af2018261a using instance group tag as volumeNameTag in etcd 2022-12-05 14:40:31 +01:00
Leïla MARABESE 1bacbd591a fixed etcd + added machine type 2022-12-05 14:40:28 +01:00
Leïla MARABESE d93644a62c added volumes model and tasks for etcd-manager 2022-12-05 14:38:08 +01:00
Leïla MARABESE af19c467e8 added scaleway to all switches for cluster creation 2022-12-05 14:38:08 +01:00
John Gardiner Myers 272171e04a Remove dead code 2022-12-04 22:41:28 -08:00
John Gardiner Myers 4573a690f2 Refactor writing Terraform resources 2022-12-04 21:46:50 -08:00
John Gardiner Myers be43dc2784 Extract NTH Queue mode enable check to struct receiver 2022-12-04 15:55:58 -08:00
Kubernetes Prow Robot 28147edf47
Merge pull request #14701 from hakman/gce_default_instance_types
gce: Update default instance types
2022-12-04 14:05:07 -08:00
Kubernetes Prow Robot 2fc25219be
Merge pull request #14715 from johngmyers/upgrade-nth
Upgrade Node Termination Handler to 1.18.1 and fix some issues
2022-12-04 13:13:54 -08:00
Min Ni 8f5892fcb6 upgrade authentication.aws to v0.5.12 2022-12-04 11:34:03 -08:00
Ciprian Hacman 73408655c0 gce: Update default instance types 2022-12-04 21:17:43 +02:00
John Gardiner Myers dfd71c0c41 Address review comments 2022-12-04 11:11:05 -08:00
Kubernetes Prow Robot 2f1fc3fb07
Merge pull request #14713 from johngmyers/tf-refactor
Refactor writing of Terraform data sources
2022-12-04 06:47:55 -08:00
John Gardiner Myers a7f59813fa NTH SQS Deployment needs hostNetwork if no IRSA 2022-12-03 21:42:56 -08:00
John Gardiner Myers 589800a378 Use narrower tolerations for NTH when no IRSA 2022-12-03 21:42:56 -08:00
John Gardiner Myers 6ee229eb0c Fix configuration of NTH SQS mode 2022-12-03 21:42:56 -08:00
John Gardiner Myers 30970609ec Upgrade Node Termination Handler to 1.18.1 2022-12-03 21:42:56 -08:00
John Gardiner Myers 6c1684d568 Address review comments 2022-12-03 15:14:24 -08:00
Ciprian Hacman 7a65b0f75e gce: Update cluster-autoscaler config 2022-12-03 22:41:14 +02:00
Ciprian Hacman 8920b15f75 metrics-server: Set preferred address type to `InternalIP` when non AWS 2022-12-03 22:35:52 +02:00
John Gardiner Myers 990ce77120 Refactor writing of Terraform data sources 2022-12-03 00:13:07 -08:00
John Gardiner Myers 235aa61594 v1alpha3: move networking fields under networking 2022-12-02 19:19:59 -08:00
Ciprian Hacman 4091fc00d6 Update OWNERS files 2022-12-02 07:19:59 +02:00
Kubernetes Prow Robot 361b9af84d
Merge pull request #14698 from johngmyers/refactor-tf
Refactor writing of terraform block
2022-12-01 17:50:00 -08:00
Kubernetes Prow Robot 670de031ee
Merge pull request #14694 from olemarkus/cilium-eni-fix
Fix Cilium ENI ipam
2022-12-01 17:49:54 -08:00
Kubernetes Prow Robot cfde66d810
Merge pull request #14691 from johngmyers/no-channel-cluster
Stop trying to populate arbitrary cluster fields from the channel
2022-12-01 12:15:54 -08:00
John Gardiner Myers ffe3edd4ff Refactor writing of terraform block 2022-11-30 23:28:24 -08:00
Kubernetes Prow Robot 82aa3ef6f4
Merge pull request #14697 from johngmyers/cp-validate
Use newer terminology in validation
2022-11-30 22:26:27 -08:00
John Gardiner Myers 08600975fa Use newer terminology in validation 2022-11-30 21:34:21 -08:00
Ciprian Hacman dbef6209c2 Remove support for using Vault as state store
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2022-11-30 18:38:21 +02:00
Ole Markus With ea1d919d0c Fix disabling masquerade for cilium 1.11+ 2022-11-30 14:27:04 +01:00
John Gardiner Myers 31dbd6c50a Stop trying to populate arbitrary cluster fields from the channel 2022-11-29 21:15:09 -08:00
John Gardiner Myers 76f71512cc v1alpha3: fix miscellaneous capitalization 2022-11-28 21:37:21 -08:00
Kubernetes Prow Robot 0b24fc108a
Merge pull request #14669 from johngmyers/cp-kubelet
v1alpha3: use new terminology for kubelet config
2022-11-28 21:35:22 -08:00
Kubernetes Prow Robot 8e3b7c3a67
Merge pull request #14685 from johngmyers/revert-flatcar-workaround
Revert "Calico: Work around host port/conntrack problem"
2022-11-28 11:51:43 -08:00
John Gardiner Myers 0ce9877eb4 Revert copy of "Calico: Work around host port/conntrack problem" 2022-11-28 07:31:32 -08:00
John Gardiner Myers b396fafb35 Introduce LiteralIndexExpression() 2022-11-27 18:39:49 -08:00
John Gardiner Myers 220f7a1614 Introduce LiteralBinaryExpression() 2022-11-27 18:39:49 -08:00
John Gardiner Myers 61e52d1a1d Refactor LiteralFunctionExpression to take Literal args 2022-11-27 18:39:49 -08:00
John Gardiner Myers fe065bfe6c Introduce LiteralNullConditionalExpression() 2022-11-27 18:39:49 -08:00
Kubernetes Prow Robot 545931f9b7
Merge pull request #14680 from johngmyers/literal-refactor
Refactor terraformWriter.Literal
2022-11-27 18:34:13 -08:00
John Gardiner Myers 5d1c3a8361 Revert "Calico: Work around host port/conntrack problem"
This reverts commit 9105368a41.
2022-11-27 15:19:14 -08:00
John Gardiner Myers 19b1591cc4 aws: remove obsolete workaround code 2022-11-27 13:18:44 -08:00
John Gardiner Myers 8b6f2973f8 Refactor GSPath use of Literal 2022-11-26 19:24:23 -08:00
John Gardiner Myers c2d9b871a5 Refactor Literal unit tests 2022-11-26 19:24:16 -08:00
John Gardiner Myers 7ad81f9965 Refactor Literal sorting 2022-11-26 19:23:37 -08:00
John Gardiner Myers 70fe547deb Refactor terraformWriter.Literal's Value field 2022-11-26 17:27:34 -08:00
John Gardiner Myers d8c6c07799 Refactor terraformWriter.Literal's Index field 2022-11-26 17:11:22 -08:00
John Gardiner Myers cde34d8b56 Refactor terraformWriter.Literal's Tokens field 2022-11-26 17:03:37 -08:00
John Gardiner Myers 0424c474a3 Don't disable AWS src/dst checks in Calico IPv6 2022-11-25 20:57:48 -08:00
John Gardiner Myers 6536c0b301 v1alpha3: use new terminology for kubelet config 2022-11-25 16:53:23 -08:00