Commit Graph

547 Commits

Author SHA1 Message Date
justinsb 62bab3df38 build: add script for rapid development of kops-controller 2023-11-30 10:44:22 -05:00
Ciprian Hacman 730a520706 Update controller-gen to v0.13.0 2023-10-25 07:31:41 +03:00
Ciprian Hacman 53729a291b Update Go to v1.21.3 2023-10-11 08:05:08 +03:00
justinsb b494ad9a8b helper scripts: update to use python3
This addresses the underlying reason why boilerplate was not being
checked.
2023-07-18 14:08:57 -04:00
justinsb a94924a02f verify-boilerplate: stricter error checking
If python isn't found, without this fix the script exits with code 0,
despite not checking boilerplate.
2023-07-18 13:59:27 -04:00
John Gardiner Myers 0dfac69d83 Remove support for Weave networking 2023-06-22 23:03:24 -07:00
Ciprian Hacman 1d0fbfc4f1 Fix promotion of `kops-utils-cp` 2023-06-19 16:40:40 +03:00
Ciprian Hacman bec7226ad1 Rename `kops-copy` to `kops-utils-cp` 2023-06-16 22:24:51 +03:00
guoguangwu e348c7780d fix: CVE-2023-2253 CVE-2022-41723 2023-06-07 19:56:50 +08:00
Ciprian Hacman f51e347f99 Build and use cp replacement 2023-05-27 05:18:53 +03:00
Kubernetes Prow Robot 543915f00b
Merge pull request #15368 from justinsb/s3_with_no_acls
upload helper: support upload to S3 buckets that block ACLs
2023-05-07 23:55:17 -07:00
justinsb 3425d9dc52 upload helper: support upload to S3 buckets that block ACLs
Similar to GCS with UBLA, S3 is now encouraging buckets that block
ACLs.  When we upload to one of these buckets, we cannot set ACLs.

When we detect one of these buckets, we simply skip setting the ACL,
assuming the object ACLs are instead managed at the bucket level, when
the bucket was created.
2023-05-04 10:15:10 -04:00
justinsb 453e99a4eb hack/update-expected: exclude DIGITALOCEAN_ACCESS_TOKEN
We don't want this env var (which contains the user's digitalocean
access token) to get into the expected output.
2023-05-04 07:49:21 -04:00
justinsb b618866727 makefile: use go run to execute ko
This saves having to install it and worry about execution paths etc.
2023-04-25 21:27:07 -04:00
Ole Markus With a57f754c63 Bump golang to 1.20 2023-04-16 07:48:26 +02:00
Kubernetes Prow Robot b5dc9f6371
Merge pull request #15122 from Mia-Cross/scw_profiles
scaleway: get credentials from Scaleway profile
2023-02-24 07:43:34 -08:00
Leïla MARABESE 9f950f4a3a scaleway profiles feature 2023-02-10 17:02:45 +01:00
Ciprian Hacman f3d1d3a88f Update golangci-lint to v1.51.1 2023-02-09 16:01:15 +02:00
github-actions ffc1efea5d Update dependencies 2023-01-20 06:09:15 +00:00
chncaption 3bd2671fd6 update gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b to 3.0.0 2023-01-18 19:54:52 +08:00
John Gardiner Myers d0632da9ca Rename version.go to kops-version.go 2023-01-13 11:22:30 -08:00
Leïla MARABESE 543d59758a removed SCW_DEFAULT_REGION and SCW_DEFAULT_ZONE env vars 2023-01-10 16:11:23 +01:00
John Gardiner Myers 81c8671d01 Declare IPv6 on AWS beta 2022-11-24 19:27:10 -08:00
John Gardiner Myers e0ee3eda2a Remove CloudFormation tests 2022-11-19 10:25:20 -08:00
Ciprian Hacman c008540b36 Update ko to v0.12.0 2022-11-18 09:42:07 +02:00
Ciprian Hacman acef80cb6b azure: Ignore authentication env vars in hack/update-expected.sh 2022-11-12 10:41:13 +02:00
Rémy Léone eca9f02d97 hack: add support for dev-build script for scaleway 2022-10-26 10:51:51 +02:00
Kubernetes Prow Robot c5b8ee21f6
Merge pull request #14335 from hakman/terraform-1.3.0
Bump Terraform tag to v1.3.0
2022-09-27 06:13:51 -07:00
Leïla MARABESE b562cffd31 added scw env vars to update-expected.sh 2022-09-26 13:55:08 +02:00
Leïla MARABESE 9654cbd1d5 nodeup is operational 2022-09-26 13:55:08 +02:00
Ciprian Hacman f623541879 Bump Terraform tag to v1.3.0 2022-09-26 08:48:43 +03:00
Ole Markus With 7bc8281e54 Bump K8s libs to 0.25.0
This also bumps go mod version to 1.19
2022-08-24 07:17:14 +02:00
justinsb 29b168b9d7 gce: Move out of beta, drop feature flag
GCE support seems stable now, and we have good clarity at the API
level and how that translates to GCP resources, which was our blocker
previously.

Drop the need for the feature-flag.
2022-06-28 11:22:34 -04:00
Kubernetes Prow Robot e638cc853f
Merge pull request #13622 from hakman/packages_docs
Add docs for the packages option
2022-05-09 05:55:19 -07:00
Ciprian Hacman 5c6b1014bf Update kOps and k8s spelling 2022-05-09 06:54:52 +03:00
Ciprian Hacman b5f14b589b Add initial support for Hetzner Cloud 2022-05-09 06:12:15 +03:00
Ole Markus With e58f23d84a Bump k8s.io deps to 1.24.0 2022-05-04 08:30:10 +02:00
Ciprian Hacman b724074d0b Update golangci-lint to v1.45.2 2022-05-01 06:36:04 +03:00
Ole Markus With c9d6186a67 Bump to golang1.18 and k8s deps to 1.24.0-rc.0 2022-04-22 14:11:47 +02:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
Ole Markus With 39defc4d91 Remove all bazel targets from Makefile
Fix comment

Remove bazel artifacts

Remove bazel hacks

Fix kubetest compat copy
2022-04-12 13:28:58 +02:00
Ciprian Hacman 9f08eb9b39 Remove GOPATH dependency for apimachinery 2022-04-09 11:28:08 +03:00
Ciprian Hacman 983ba1eea3 Install gcloud instead of gsutil
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-29 10:56:22 +03:00
Ciprian Hacman 60d9a955c1 Install gsutil if needed
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-29 08:46:14 +03:00
Ole Markus With 3daa54337c Bump ko 2022-03-24 08:29:33 +01:00
Ciprian Hacman 3da84d4480 Update golangci-lint to v1.45.0
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-23 11:38:46 +02:00
Ole Markus With 214f616d73 Build kops-controller with ko
ko install target

Add kops-controller to all

Add ko targets for the rest of the images

Build ko images to IMAGES instead of BAZELIMAGES

Update registry repo
2022-03-21 09:42:59 +01:00
Kubernetes Prow Robot 25bcdb2070
Merge pull request #13161 from justinsb/local_testing
dev: create scripts to make it easier to run e2e tests
2022-03-18 02:45:16 -07:00
Ciprian Hacman a4ed2b0654 Migrate to registry.k8s.io
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
justinsb a287f11e0b dev: create scripts to make it easier to run e2e tests
Assumes an existing cluster, but then example usage:

```
./hack/run-e2e-from-source.sh aws.*Pre-provisioned.*ext4
```
2022-01-30 16:51:47 -05:00