Baek
14e15bcaca
Removes dependency on other k8s packages in featuregate pkg.
...
The removed packages are:
* k8s.io/apimachinery/pkg/util/naming
* k8s.io/klog/v2
Do note that removing naming package necessitates adding feature gate
name argument to featuregate.New().
Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00:00
Baek
60e3f45469
Adds all feature_gate from component-base.
...
We'll likely use most of the feature_gate package from component-base.
Also this commit moves the pkg from server/internal/pkg to pkg/.
Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00:00
Baek
69ebaaebca
featuregate: adds EtcdServer.FeatureEnabled interface.
...
The interface can be used throughout the etcd server binary to check if
the feature is enabled or not.
Note that this commit also copies necessary FeatureGate interface from
k8s component-base.
Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00:00
James Blair
8a0054fecb
Merge pull request #18140 from lhy1024/cn-log
...
CHANGELOG: support multiple values for allowed client and peer TLS identities
2024-06-08 17:30:15 +12:00
Marek Siarkowicz
2c56e8edc1
Merge pull request #18107 from serathius/e2e-error-log
...
Improve e2e error reporting
2024-06-07 13:58:59 +02:00
Marek Siarkowicz
b38d863a89
Merge pull request #17833 from serathius/robustness-compact
...
Implement compaction support in robustness test
2024-06-07 13:35:11 +02:00
Marek Siarkowicz
5959110f4a
Implement Compaction support in robustness test
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-07 10:33:57 +02:00
Marek Siarkowicz
3c5684967f
Improve e2e error reporting
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Co-authored-by: James Blair <mail@jamesblair.net>
Co-authored-by: chao <chaochn@amazon.com>
2024-06-07 10:24:52 +02:00
Marek Siarkowicz
2ffaf5fba4
Merge pull request #18133 from serathius/robustness-connection-reset
...
Ignore connection reset error when triggering a failpoint
2024-06-07 10:23:14 +02:00
Marek Siarkowicz
d9dcf62558
Merge pull request #18135 from fuweid/fix-17968
...
tests/robustness: unlock Delete/LeaseRevoke ops
2024-06-07 10:22:53 +02:00
Marek Siarkowicz
75ad7a82f2
Merge pull request #18108 from chaochn47/fix-ts-with-no-trailing-zeros
...
fix ts with no trailing zeros
2024-06-07 10:12:31 +02:00
lhy1024
e389b4cc4b
CHANGELOG: support multiple values for allowed client and peer TLS identities
...
Signed-off-by: lhy1024 <admin@liudos.us>
2024-06-07 11:44:04 +08:00
James Blair
8a376e8e19
Merge pull request #18015 from lhy1024/cn
...
Support multiple values for allowed client and peer TLS identities
2024-06-07 15:23:19 +12:00
Chao Chen
7211d9fb94
fix ts with no trailing zeros
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2024-06-06 17:20:37 -07:00
lhy1024
acc9d7c9fe
Support multiple values for allowed client and peer TLS identities
...
Signed-off-by: lhy1024 <admin@liudos.us>
2024-06-06 21:25:17 +08:00
Wei Fu
fc1863086c
tests/robustness: unlock Delete/LeaseRevoke ops
...
We should return token to that bucket if `nonUniqueWriteLimiter.Take()`
return true. After unlock Delete/LeaseRevoke ops, the model should be
updated for replay function. There are two updates for `toWatchEvents`.
1. When leaveRevokes op has deleted few keys, we should generate
`delete-operation` events based on alphabetical order of deleted
keys.
2. When putWithLease op hits non-exist lease, we should ignore that
update event.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-06-06 20:40:08 +08:00
Marek Siarkowicz
b8eeaacbcb
Ignore connection reset error when triggering a failpoint
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-05 17:58:46 +02:00
Benjamin Wang
6216cbf3f9
Merge pull request #18128 from ArkaSaha30/main-cve-2024-24790
...
Bump Go version to 1.22.4: CVE 2024-24790 fix
2024-06-05 10:37:13 +01:00
ArkaSaha30
2089857ab8
Bump Go version to 1.22.4: CVE 2024-24790 fix
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 14:12:52 +05:30
James Blair
179a09e73f
Merge pull request #18126 from siyuanfoundation/robust2
...
test: update CouldSetSnapshotCatchupEntries to use 3.5.14.
2024-06-05 19:06:50 +12:00
Siyuan Zhang
06f2746fc1
test: update CouldSetSnapshotCatchupEntries to use 3.5.14.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-04 10:47:54 -07:00
James Blair
a0aee63128
Merge pull request #18116 from etcd-io/dependabot/github_actions/github/codeql-action-3.25.7
...
build(deps): bump github/codeql-action from 3.25.6 to 3.25.7
2024-06-04 13:37:29 +12:00
James Blair
2f083a5733
Merge pull request #18120 from henrybear327/dependency_update/6_3_24
...
[2024-06-03] Bump dependency updates identified by dependabot
2024-06-04 12:41:06 +12:00
Chun-Hung Tseng
f77f422812
dependency: bump github.com/prometheus/common from 0.53.0 to 0.54.0
...
References:
- https://github.com/etcd-io/etcd/pull/18111
- https://github.com/etcd-io/etcd/pull/18118
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-03 22:15:31 +02:00
Benjamin Wang
dc8510ce47
Merge pull request #15965 from cenkalti/hashkv
...
cli: Add etcdutl snapshot hashkv command
2024-06-03 20:58:27 +01:00
dependabot[bot]
d88a1b3482
build(deps): bump github/codeql-action from 3.25.6 to 3.25.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.6 to 3.25.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](9fdb3e4972...f079b84933
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 17:16:24 +00:00
Cenk Alti
b107d2437f
cli: Add etcdutl snapshot hashkv command
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
Apply suggestions from code review
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2024-06-02 00:07:50 -04:00
Marek Siarkowicz
0b2f15f616
Merge pull request #18098 from skitt/go-1.20-errors-join
...
Use Go 1.20 error joining instead of multierr
2024-06-01 07:21:50 +02:00
Stephen Kitt
c1f5a445fc
Use Go 1.20 error joining instead of multierr
...
This still allows the errors to be unwrapped, and drops the direct
dependency on multierr.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-05-31 09:22:52 +02:00
Benjamin Wang
58d7ebfe45
Merge pull request #18102 from henrybear327/dependency_update/5_27_24
...
[2024-05-27] Bump dependency updates identified by dependabot
2024-05-30 18:11:30 +01:00
Chun-Hung Tseng
4dfae5dc6b
dependency: bump google.golang.org/genproto/googleapis/api from v0.0.0-20240513163218-0867130af1f8 to v0.0.0-20240520151616-dc85e6b867a5
...
Bumping go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.26.0 to 1.27.0
caused some google.golang.org/genproto/googleapis/api to be updated, causing
CI job pull-etcd-verify to fail. Thus, bumping all google.golang.org/genproto/googleapis/api
to align at the same version
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 16:07:28 +02:00
Chun-Hung Tseng
287a3a1a39
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.26.0 to 1.27.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18072
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
a3f7d2a5db
dependency: bump go.opentelemetry.io/otel/sdk from 1.26.0 to 1.27.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18073
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
1ec63aa93a
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.51.0 to 0.52.0 and go.opentelemetry.io/otel from 1.26.0 to 1.27.0
...
When doing `go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.52.0`,
go.opentelemetry.io/otel is automatically bumped, too.
References:
- https://github.com/etcd-io/etcd/pull/18075
- https://github.com/etcd-io/etcd/pull/18074
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
23c7abd052
dependency: bump github.com/golangci/golangci-lint from 1.58.2 to 1.59.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18077
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Marek Siarkowicz
2f216dcc94
Merge pull request #18095 from ivanvc/shallow-clone-in-release-script
...
scripts/release: shallow clone repository
2024-05-30 10:34:07 +02:00
Ivan Valdes
4881e53677
scripts/release: shallow clone repository
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-29 15:14:53 -07:00
James Blair
ce2dbbb55e
Merge pull request #18093 from ivanvc/update-release-date-for-3.5.14
...
Update release date for v3.5.14
2024-05-30 10:13:37 +12:00
Ivan Valdes
92d8cbe7bd
Update release date for v3.5.14
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-29 12:09:00 -07:00
Marek Siarkowicz
f903a9bd0e
Merge pull request #18083 from ArkaSaha30/make-arch-builds
...
Add build subtargets based on ARCH
2024-05-29 14:50:48 +02:00
ArkaSaha30
5202b6aa8d
Add build subtargets based on arch
...
This commit will group similar targets as per
architecture into subtargets to build. It also adds
`build-all` target to build all OS-Arch cominations.
Allows subtargets without scripting
by parameterizing and optimizing OS-ARCH builds
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-05-29 15:30:23 +05:30
James Blair
9914047acb
Merge pull request #18081 from etcd-io/dependabot/github_actions/aquasecurity/trivy-action-0.21.0
...
build(deps): bump aquasecurity/trivy-action from 0.20.0 to 0.21.0
2024-05-28 10:16:24 +12:00
dependabot[bot]
33030f1c23
build(deps): bump aquasecurity/trivy-action from 0.20.0 to 0.21.0
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](b2933f565d...fd25fed697
)
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 17:50:47 +00:00
Benjamin Wang
bb701b9265
Merge pull request #18068 from ArkaSaha30/changelog-3.5.14
...
CHANGELOG: add support AllowedCN and AllowedHostname
2024-05-25 17:08:55 +01:00
ArkaSaha30
63502df4da
CHANGELOG: add support AllowedCN and AllowedHostname
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-05-25 14:44:39 +05:30
Benjamin Wang
a5292685f9
Merge pull request #17661 from flawedmatrix/fix/17068
...
Support setting LocalAddr in peer communication - with e2e tests
2024-05-24 20:03:11 +01:00
Edwin Xie
4c77726914
Implement flag --experimental-set-member-localaddr
...
Which sets the LocalAddr to an IP address from --initial-advertise-peer-urls.
Also adds e2e test that requires this flag to succeed.
Co-authored-by: HighPon <s.shiraki.business@gmail.com>
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com>
2024-05-24 18:17:37 +00:00
Benjamin Wang
7a3ca53345
Merge pull request #18058 from jmhbnz/prow-migration
...
Complete migration of verify workflow to prow
2024-05-23 06:49:33 +01:00
James Blair
32726e724a
Update documentation for migration to prow.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-23 06:36:50 +12:00
James Blair
33f3b63acb
Complete migration of verify workflow to prow.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-23 06:06:48 +12:00