Commit Graph

998 Commits

Author SHA1 Message Date
Jeffrey Ying
1fc514cfe9 Bump sample-apiserver test image to 1.32 2025-01-16 12:25:20 -05:00
Jeffrey Ying
2504c6e73a Update VERSION to 1.32.1 for sample-apiserver 2025-01-16 12:23:50 -05:00
cpanato
2cb1cc9e3a Bump images, dependencies and versions to go 1.23.4 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-12-30 09:05:16 +01:00
cpanato
cb42224952 Bump images, dependencies and versions to go 1.23.3 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-11-19 09:57:41 +01:00
Haitao Chen
e9cbbc7886 bump golang to 1.23.2
from 1.23.0
2024-10-15 18:43:50 -07:00
Marko Mudrinić
5572625d87 Revert "Merge pull request #127611 from haitch/haitao/k132-on-go123p1"
This reverts commit 37004f89b0, reversing
changes made to af879aebb1.
2024-10-04 19:11:07 +02:00
Haitao Chen
2f906a0c02 bump golang to 1.23.1
revert rest of the changes other than default-go-version
2024-09-28 21:41:03 -07:00
Kubernetes Prow Robot
f2700895a4 Merge pull request #127422 from srivastav-abhishek/go-vet-fix
Go vet fixes for gotip
2024-09-20 14:37:58 +01:00
Abhishek Kr Srivastav
95860cff1c Fix Go vet errors for master golang
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-09-20 12:36:38 +05:30
Jeffrey Ying
894960177a Update VERSION to 1.31.1 for sample-apiserver 2024-09-12 13:08:21 -04:00
Jeffrey Ying
4d063b63cb Bump sample-apiserver test image to 1.31 2024-09-12 13:05:53 -04:00
Kubernetes Prow Robot
cd30cf1867 Merge pull request #127141 from aojea/e2e_images_cleanup
remove unused images cuda-vector-add
2024-09-09 09:18:28 +01:00
cpanato
e09c28ec69 update debian-base and setcap to bookworm-v1.0.4
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-09-05 14:09:04 -06:00
Antonio Ojea
9ca4f946f3 remove unused images cuda-vector-add 2024-09-05 10:22:06 +00:00
Kubernetes Prow Robot
1a0804c5e8 Merge pull request #127076 from cpanato/update-go123
Bump images, dependencies and versions to go 1.23.0
2024-09-03 16:55:23 +01:00
cpanato
b0c17b124f Bump images, dependencies and versions to go 1.23.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-09-02 10:42:04 -06:00
Lan Liang
184c84ba00 Bump alpine to 3.19 for agnhost.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-02 05:47:42 +00:00
ArkaSaha30
d1dfeed505 Revert "Bump images, dependencies and versions to go 1.23rc1"
This reverts commit 5c269fecf8.
2024-07-29 13:55:03 +05:30
ArkaSaha30
c203b120c0 Revert "Bump images, dependencies and versions to go 1.23rc2"
This reverts commit 9d5a7ff859.
2024-07-29 13:54:16 +05:30
Kubernetes Prow Robot
9c2302dd3e Merge pull request #126201 from aroradaman/revert-debug-steps
Revert debug steps and logs for #123760
2024-07-23 11:02:38 -07:00
Kubernetes Prow Robot
67c7e77044 Merge pull request #126047 from cpanato/upgrade-go-123
[go] Bump images, dependencies and versions to go 1.23rc2
2024-07-23 11:02:29 -07:00
cpanato
9d5a7ff859 Bump images, dependencies and versions to go 1.23rc2
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-07-19 11:33:28 +02:00
cpanato
5c269fecf8 Bump images, dependencies and versions to go 1.23rc1
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-07-19 11:33:24 +02:00
Monis Khan
6a6771b514 svm: set UID and RV on SSA patch to cause conflict on logical create
When a resource gets deleted during migration, the SVM SSA patch
calls are interpreted as a logical create request.  Since the object
from storage is nil, the merged result is just a type meta object,
which lacks a name in the body.  This fails when the API server
checks that the name from the request URL and the body are the same.
Note that a create request is something that SVM controller should
never do.

Once the UID is set on the patch, the API server will fail the
request at a slightly earlier point with an "uid mismatch" conflict
error, which the SVM controller can handle gracefully.

Setting UID by itself is not sufficient.  When a resource gets
deleted and recreated, if RV is not set but UID is set, we would get
an immutable field validation error for attempting to update the
UID.  To address this, we set the resource version on the SSA patch
as well.  This will cause that update request to also fail with a
conflict error.

Added the create verb on all resources for SVM controller RBAC as
otherwise the API server will reject the request before it fails
with a conflict error.

The change addresses a host of other issues with the SVM controller:

1. Include failure message in SVM resource
2. Do not block forever on unsynced GC monitor
3. Do not immediately fail on GC monitor being missing, allow for
   a grace period since discovery may be out of sync
4. Set higher QPS and burst to handle large migrations

Test changes:

1. Clean up CRD webhook convertor logs
2. Allow SVM tests to be run multiple times to make finding flakes easier
3. Create and delete CRs during CRD test to force out any flakes
4. Add a stress test with multiple parallel migrations
5. Enable RBAC on KAS
6. Run KCM directly to exercise wiring and RBAC
7. Better logs during CRD migration
8. Scan audit logs to confirm SVM controller never creates

Signed-off-by: Monis Khan <mok@microsoft.com>
2024-07-18 17:19:11 -04:00
Daman Arora
f6676a2c0e Revert "agnhost/netexec: log hostname"
This reverts commit 90561cb9d9.
2024-07-18 19:52:14 +05:30
cpanato
0e9308f3bc Bump images, dependencies and versions to go 1.22.5 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-07-04 16:34:18 +02:00
Benjamin Elder
df83363e87 remove unused prometheus exporter images from e2e image list 2024-07-03 15:08:14 -07:00
Benjamin Elder
0841358732 restrict permitted e2e images to known images list
allows tag bumps, but prevents adding new images to e2e without test/images approval

adds a pointer to agnhost as preferred before adding new images
2024-07-03 10:42:51 -07:00
cpanato
a3b193c6e9 [go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-06-06 18:13:15 +02:00
Stephen Kitt
5300466a5c Use canonical json-patch v4 import
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).

Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-05-28 10:48:22 +02:00
Benjamin Elder
043da7164d update gcb-docker-gcloud to latest, and pin digest
this is a staging repository, which has lower security than registry.k8s.io, so we should REALLY be pinning it.

TODO: This is one of the few places we still depend on GCR to build things. We should consider promoting this image to registry.k8s.io or using a different image.
2024-05-23 13:51:40 -07:00
cpanato
30efae7c8b [go] Bump images, dependencies and versions to go 1.22.3 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-05-12 15:05:26 +02:00
Daman Arora
5aaa37521f agnhost: version bump to v2.52
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 16:44:00 +05:30
Daman Arora
90561cb9d9 agnhost/netexec: log hostname
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 16:44:00 +05:30
Kubernetes Prow Robot
f6fde3ba7f Merge pull request #124382 from riendeau/agnhostbump
Bump base images for agnhost
2024-04-24 19:00:00 -07:00
Daman Arora
26733f9aa8 Revert "agnhost: update README" 2024-04-24 22:26:33 +05:30
Antonio Ojea
5ed555fb5d Revert "Remove _tmp from test/images/image-util.sh"
This reverts commit 2e465cd6fa.
2024-04-24 13:43:02 +00:00
Antonio Ojea
391e4b58e2 Revert "added init to image-utils.sh"
This reverts commit 7951d7975e.
2024-04-24 13:42:38 +00:00
John Riendeau
62191f637e Bump base images for agnhost 2024-04-24 04:54:06 -05:00
Daman Arora
f5c38b0467 agnhost: update README
dummy commit to trigger agnhost image promotion pipeline

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-24 13:46:22 +05:30
Kubernetes Prow Robot
2806ffea9a Merge pull request #124449 from SergeyKanzhelev/fiximageUtils
added init to image-utils.sh
2024-04-22 23:43:09 -07:00
Sergey Kanzhelev
7951d7975e added init to image-utils.sh 2024-04-22 23:09:35 +00:00
Daman Arora
ce41bc849f agnhost: version bump to v2.50
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-22 16:35:13 +05:30
Daman Arora
1c8799f814 agnhost/connect: send and recv data from SCTP server
If the client immediately closes connection after SCTP handshake,
the server will die with EOF, adding send and recv calls in the
client to make sure server client handling loop exits gracefully.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-22 16:31:48 +05:30
Daman Arora
8cf4567f3c agnhost/netexec: handle nil pointer dereference for SCTP server
If the client immediately closes connection after SCTP handshake, the
remote-addr fetched by SCTP server can be nil, causing the server to crash.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-22 16:31:48 +05:30
Kubernetes Prow Robot
a6bfb92407 Merge pull request #124104 from SergeyKanzhelev/grpcTls
allow agnhost to set TLS gRPC
2024-04-21 18:39:24 -07:00
Sergey Kanzhelev
e9424f34ed allow agnhost to set TLS gRPC 2024-04-19 21:25:10 +00:00
cpanato
1366f1f447 [go] Bump images, dependencies and versions to go 1.22.2 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-04-05 14:27:57 +02:00
cpanato
fc428df491 update setcap/debian-base to bookworm-v1.0.2
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-03-28 14:57:22 +01:00
Kubernetes Prow Robot
1f22594c9a Merge pull request #123742 from thockin/cleanup_underscore_tmp
Cleanup _tmp usage
2024-03-10 17:53:44 -07:00