Commit Graph

452 Commits

Author SHA1 Message Date
Ole Markus With 076ae3dfe4 Remove coredns dnsprovider 2021-01-22 09:19:35 +01:00
Ciprian Hacman 3f25569bec Update cfn-python-lint to v0.44.4 2021-01-21 11:35:41 +02:00
Ciprian Hacman bb787d3075 Release 1.20.0-alpha.1 2021-01-15 15:29:55 +02:00
Peter Rifel 521f0d654c
Upgrade cfn-lint to 0.44.3 2021-01-12 20:14:56 -06:00
Barry Melbourne f2ecb5c153 Upgrade Go v1.15.6 / Bazel v3.4.1 2021-01-10 18:13:12 +00:00
Kubernetes Prow Robot ac082bd091
Merge pull request #10182 from h3poteto/fix/hack-verify-bazel
Fix to handle exit code of gazelle command in hack/verify-bazel.sh
2021-01-10 08:23:05 -08:00
Ciprian Hacman a7bb949936 Add possibility to set volume throughput for gp3 volumes 2021-01-05 13:18:32 +02:00
Barry Melbourne 1c96e826d9 Remove copyright YEAR from generated Go files 2021-01-03 12:48:50 +00:00
Peter Rifel 13675fa061
hack/goimports - Replace mapfile with read
`mapfile` was introduced in bash 4.
We can use `read` instead to achieve the same thing - listing all .go files in the repo into an array
2020-12-11 08:22:54 -06:00
Peter Rifel a8a0b6783f
Replace goimports python scripts with shell scripts, remove unnecessary .packages 2020-12-10 21:50:36 -06:00
Peter Rifel 8bde95df70
Move code-generator to hack go module 2020-12-10 21:47:54 -06:00
Peter Rifel 82e25599f7
Move tools.go into separate go module without vendoring 2020-12-08 23:06:44 -06:00
AdamKorcz 5a1f13d123 Added fuzzer to integrate with OSS-fuzz 2020-12-04 10:53:48 +00:00
Peter Rifel df1e30182f
Fix cloudformation lint job
The dockerfile we were using in the cfn-python-lint repo wasn't actually pinned to the version associated with the git tag, it always installs the latest version.
A recent release consolidated error rules regarding invalid values.
We use an invalid "us-test-1" region and zones in much of our testing.
We used to be able to ignore this "invalid AZ" error, but now we would need to ignore all invalid values for all resource properties.
This pins cfn-python-lint to an older version but we'll have to figure out how we want to handle this longer term.
2020-11-17 20:03:40 -06:00
AkiraFukushima 51aadf1cbc Fix to handle exit code of gazelle command in hack/verify-bazel.sh
When some diff are detected in gazelle, the command exit(1), so verify-bazel.sh exit without any messages
2020-11-07 00:05:38 +09:00
Kubernetes Prow Robot b7f66a6d98
Merge pull request #10109 from bmelbourne/set-minimum-terraform-0.12
Set minimum Terraform version to 0.12.26/0.13.0
2020-10-29 01:52:58 -07:00
Peter Rifel a240507fce
Make verify-cloudformation job fail when issues are found 2020-10-28 21:01:22 -05:00
Barry Melbourne 84417c330b Set minimum Terraform version to 0.12.26/0.13.0 2020-10-28 20:24:41 +00:00
Peter Rifel b3cdca7908
Add verify-cloudformation script
This is an official AWS linter for cloudformation.
It has already caught a few bugs in our cloudformation json generation logic
2020-10-28 10:09:01 -05:00
Peter Rifel 50348742e9
Fix various shellcheck failures 2020-10-26 15:55:13 -05:00
Peter Rifel 1f4e02be6c
Compile hack tools into _output/bin/ rather than temp directories 2020-10-26 15:01:43 -04:00
Peter Rifel b2e06093d8
Make hack/update and hack/verify scripts more consistent 2020-10-26 15:01:43 -04:00
Kubernetes Prow Robot c9aa53895a
Merge pull request #10048 from hakman/container-runtime-assets
Install container runtime packages as assets
2020-10-25 21:03:01 -07:00
Peter Rifel 676c6f5a7f
Add tests/e2e go module support to hack/verify-gomod.sh 2020-10-22 20:57:38 -05:00
Kubernetes Prow Robot 3ba214dbe1
Merge pull request #10031 from rifelpet/kubetest2
Initial kubetest2 structure for e2e testing
2020-10-20 06:56:08 -07:00
Ciprian Hacman b27431d86f Install container runtime packages as assets - Tests 2020-10-14 15:41:51 +03:00
Ciprian Hacman e6e3fc1309 Fix docs feature table not being rendered 2020-10-12 07:37:39 +03:00
Peter Rifel edd3258c0a
Update gitignore and some verify scripts for new e2e code 2020-10-08 19:39:28 -05:00
Ciprian Hacman 0c6f1c733c Use all kops mirrors to determine artifacts hashes 2020-09-18 09:44:37 +03:00
Ciprian Hacman 0eb626fcdd Release 1.19.0-alpha.4 2020-09-16 11:37:38 +03:00
Justin SB 8498ac9dbb Create PublicJWKS feature flag
This should be much easier to start and to get under testing; it only
works with a load balancer, it sets the apiserver into anonymous-auth
allowed, it grants the anonymous auth user permission to read our jwks
tokens.  But it shouldn't need a second bucket or anything of that
nature.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-09-09 09:57:06 -04:00
Justin SB 5f9d3b3431 verify-terraform: rearrange arguments to find
Otherwise we get a warning:

"find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments."
2020-09-07 17:35:57 -04:00
Kubernetes Prow Robot cf0466bded
Merge pull request #9851 from MaXinjian/shellcheck
fix "unbound variable" issue
2020-09-02 00:05:06 -07:00
Ma Xinjian 1bda78be78 fix "unbound variable" issue
IGNORE is an empty array, it throws error when make verify-staticcheck
$ make verify-staticcheck
hack/verify-staticcheck.sh
hack/verify-staticcheck.sh: line 50: IGNORE[*]: unbound variable
make: *** [verify-staticcheck] Error 1

Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
2020-09-01 16:33:50 +08:00
Kubernetes Prow Robot e0da9c0b36
Merge pull request #9849 from MaXinjian/shellcheck
Keep SHELLCHECK_IMAGE vesion sync with SHELLCHECK_VERSION defined before
2020-08-31 20:45:50 -07:00
Ma Xinjian dc852fbb73 Keep SHELLCHECK_IMAGE vesion sync with SHELLCHECK_VERSION defined before
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
2020-09-01 09:55:13 +08:00
Justin SB 0cda0f5068 Support authentication helper for kubectl
We create a simple exec plugin command which can create and renew
short-lived admin credentials on the fly, essentially leveraging the
security of the underlying cloud credentials.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-08-30 15:16:20 -04:00
Justin Santa Barbara f32fcc35fa Addons: Support arbitrary additional objects
We will be managing cluster addons using CRDs, and so we want to be
able to apply arbitrary objects as part of cluster bringup.

Start by allowing (behind a feature-flag) for arbitrary objects to be
specified.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-08-28 09:03:41 -04:00
Ciprian Hacman a4ff90205a Pull images from k8s.gcr.io/kops instead of docker.io/kope 2020-08-25 08:04:36 +03:00
Ciprian Hacman 92a3676e51 Ignore untracked files in "git status" 2020-08-24 05:30:30 +03:00
Ciprian Hacman c52a21f9ba Update shellcheck to v0.7.1 2020-08-23 12:07:44 +03:00
Kubernetes Prow Robot 10405bc4d3
Merge pull request #9792 from olemarkus/openstack-newer-nova-2
Don't use nova for glance mocks
2020-08-21 10:19:40 -07:00
Ole Markus With 29682700c7 Don't use nova for glance mocks
Fetching images through nova is deprecated and removed in newer versions
of the compute API. Mocks now reflect this behavior.
2020-08-21 10:18:52 +02:00
Peter Rifel 5052ae866a
Unset more env vars in update-expected.sh
this prevents spurious changes from being made based on the shell's env vars.

Also adding a parameter to override the package being updated, so that we dont need to test the full repo
2020-08-20 10:17:36 -05:00
Ciprian Hacman e68ee80a93 Move and rename the "distros" package 2020-08-17 07:25:43 +03:00
Kubernetes Prow Robot 713c3b20ae
Merge pull request #9653 from johngmyers/kops-controller-server
Bootstrap worker nodes using kops-controller
2020-08-16 18:00:17 -07:00
Justin SB 2b8fcd816c Clear KOPS_FEATURE_FLAGS in update-expected.sh
This ensures update-expected still works even when KOPS_FEATURE_FLAGS
is set.
2020-08-15 21:06:57 -04:00
John Gardiner Myers 00c60ddff6 Add server code to kops-controller 2020-08-15 09:46:30 -07:00
Kubernetes Prow Robot 69954dc124
Merge pull request #9737 from hakman/remove-tags
Remove unused Tags and FSRoot from NodeUp
2020-08-13 00:40:13 -07:00
Peter Rifel bd771c6b6c
Update verify-terraform to use 0.13.0 2020-08-12 22:19:17 -05:00