Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-07-26 13:14:05 -04:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-07-14 11:25:19 +08:00
Fabio Bertinatto
eefa0fd2ed
e2e: bump Azure Disk in-tree timeouts
...
Some operations with Azure Disk volumes can be arbitrarily slow
sometimes. This causes CI flakes that are hard to debug.
Bumping the timeouts has sown to improve or eliminate this issue.
2022-07-08 11:46:26 -03:00
Dave Chen
fd4b5b629b
Stop using the deprecated method CurrentGinkgoTestDescription
...
Besides, the using of method might lead to a `concurrent map writes`
issue per the discussion here: https://github.com/onsi/ginkgo/issues/970
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-07-08 10:46:11 +08:00
Dave Chen
ece0bb3522
Adapt to new type of GinkgoWriter
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-07-08 10:44:53 +08:00
Dave Chen
857458cfa5
update ginkgo from v1 to v2 and gomega to 1.19.0
...
- update all the import statements
- run hack/pin-dependency.sh to change pinned dependency versions
- run hack/update-vendor.sh to update go.mod files and the vendor directory
- update the method signatures for custom reporters
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-07-08 10:44:46 +08:00
Abirdcfly
1dbd9de96d
cleanup:delete same utils.go in pkg/apis/storage
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-06-29 20:54:34 +08:00
apeltop
e530336b18
fix typos
2022-06-15 13:38:48 +09:00
Fabio Bertinatto
9ef5c4e03a
e2e: ensure single image for populator containers
...
This is useful in environments where the Deployment image is replaced
by another image from an internal registry (via fixture). In that case,
the populator running in populate mode should use the same image as the
populator running in controller mode.
2022-06-08 15:08:42 -03:00
Jonathan Dobson
c8d3cc5c07
e2e: restore volume lifecycle checks for csi-hostpath driver
...
These tests were previously disabled to work around #79980
https://github.com/kubernetes/kubernetes/commit/f1e1f3a416b70bafadf961518c330ce3b1b5459
2022-06-01 14:23:10 -06:00
Kubernetes Prow Robot
ba502ee555
Merge pull request #110180 from gnufied/add-ephemeral-expansion-tests
...
Enable volume expansion tests for generic ephemeral volumes
2022-06-01 06:11:02 -07:00
Kubernetes Prow Robot
f161dde085
Merge pull request #109977 from JohnTitor/remove-poddelete-use
...
Remove the use of derecated `PodDeleteTimeout` const
2022-05-27 06:21:08 -07:00
Hemant Kumar
50f1e16e4d
Log new size and old sizes
2022-05-24 14:57:29 -04:00
Hemant Kumar
fb9db79d3f
Enable volume expansion tests for generic ephemeral volumes
2022-05-23 21:58:34 -04:00
Brian Pursley
db9d5c1e77
Increase csiNodeInfoTimeout from 1 minute to 2 minutes
2022-05-14 16:29:28 -04:00
Yuki Okushi
6bc6a671ae
Remove the use of derecated PodDeleteTimeout const
2022-05-12 01:58:23 +09:00
Kubernetes Prow Robot
313d9fb0b1
Merge pull request #109311 from my-git9/creatego
...
Modify function parameters
2022-05-05 13:50:41 -07:00
Kubernetes Prow Robot
99de67958d
Merge pull request #109798 from liggitt/psp
...
Remove PodSecurityPolicy admission plugin
2022-05-05 06:40:32 -07:00
Kubernetes Prow Robot
b81a2a7373
Merge pull request #109792 from my-git9/csi-test2
...
modify link
2022-05-05 05:02:31 -07:00
Kubernetes Prow Robot
6445efb341
Merge pull request #109344 from stbenjam/host-port-fixes
...
Replace use of Sprintf with net.JoinHostPort
2022-05-04 15:28:19 -07:00
Jordan Liggitt
410ac59c0d
Remove PodSecurityPolicy admission plugin
2022-05-04 16:00:56 -04:00
xin.li
ba654e0dad
modify link
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-05-05 00:19:02 +08:00
Kubernetes Prow Robot
094a33ad80
Merge pull request #109342 from bertinatto/custom-timeout-storage-e2e-cleanup
...
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
2022-05-04 03:45:52 -07:00
Stephen Benjamin
b351745c1c
Replace use of Sprintf with net.JoinHostPort
...
On IPv6 clusters, one of the most frequent problems I encounter is
assumptions that one can build a URL with a host and port simply by
using Sprintf, like this:
```go
fmt.Sprintf("http://%s:%d/foo ", host, port)
```
When `host` is an IPv6 address, this produces an invalid URL as it must
be bracketed, like this:
```
http://[2001:4860:4860::8888]:9443
```
This change fixes the occurences of joining a host and port with the
purpose built `net.JoinHostPort` function.
I encounter this problem often enough that I started to [write a linter
for it](https://github.com/stbenjam/go-sprintf-host-port ). I don't
think the linter is quite ready for wide use yet, but I did run it
against the Kube codebase and found these. While the host portion in
some of these changes may always be an FQDN or IPv4 IP today, it's an
easy thing that can break later on.
2022-05-04 06:37:50 -04:00
Kubernetes Prow Robot
c1ad54dfe3
Merge pull request #109649 from pohly/e2e-feature-gates
...
e2e: move feature gate support from test/e2e to test/e2e_node
2022-05-04 02:35:18 -07:00
Kubernetes Prow Robot
3739175e1f
Merge pull request #109580 from dobsonj/offline-expansion-test-flag
...
e2e: add storage capability for offline volume expansion
2022-05-04 02:34:29 -07:00
Kubernetes Prow Robot
a3c0729c4d
Merge pull request #109509 from leiyiz/imagevsc
...
fixed incorrect tag on volume cloning test case
2022-05-04 01:28:40 -07:00
Kubernetes Prow Robot
108222ef72
Merge pull request #109279 from pohly/fstype-csi-ephemeral
...
storage e2e: set fstype for CSI ephemeral inline volumes
2022-05-03 19:30:39 -07:00
Patrick Ohly
12990dec40
e2e: remove useless SkipUnlessFeatureGateEnabled
...
These SkipUnlessFeatureGateEnabled are useless because:
- the tests run in test/e2e where feature gates always
have their default state
- CSIMigration, SizeMemoryBackedVolumes and ExecProbeTimeout are
all enabled by default (beta resp. GA)
2022-04-25 15:41:25 +02:00
Jonathan Dobson
f369b1234a
e2e: add storage capability for offline volume expansion
2022-04-21 14:49:18 -06:00
Davanum Srinivas
a48aac46f8
Disable Intree GCE PD tests by default
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-04-19 09:22:51 -04:00
Léiyì Zhang
4a314b9d56
fixed incorrect tag on volume cloning test case
2022-04-15 21:20:12 +00:00
Fabio Bertinatto
5ccef5c25e
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
2022-04-06 14:25:40 -03:00
Kubernetes Prow Robot
8cd689e40d
Merge pull request #109283 from s-urbaniak/ratchet-e2e
...
test/e2e/framework: use restricted policy by default, default existing tests to privileged
2022-04-05 14:37:25 -07:00
Kubernetes Prow Robot
5163909f64
Merge pull request #108867 from pohly/storage-capacity-conformance
...
storage capacity conformance
2022-04-05 13:33:24 -07:00
xin.li
e0496cee62
Modify function parameters
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-04-05 22:05:39 +08:00
Sergiusz Urbaniak
1495c9f2cd
test/e2e/*: default existing tests to privileged pod security policy
...
This is to ensure that all existing tests don't break when defaulting
the pod security policy to restricted in the e2e test framework.
2022-04-05 08:41:12 +02:00
Masaki Kimura
cd634b59ac
Implement initial E2E test for AnyVolumeDataSource
2022-04-04 16:10:39 +00:00
Patrick Ohly
c681ff2320
storage e2e: set fstype for CSI ephemeral inline volumes
...
This doesn't affect in-tree testing, but some out-of-tree usage of the
pre-defined test patterns with non-default fstype.
2022-04-04 10:09:43 +02:00
Patrick Ohly
556794d469
storage capacity: promote CRUD test to conformance
2022-04-04 07:53:05 +02:00
Kubernetes Prow Robot
b053c91fb6
Merge pull request #106454 from s-urbaniak/psa-e2e
...
test/e2e: let e2e tests configure namespace labels
2022-03-28 14:19:43 -07:00
Kubernetes Prow Robot
36142cc0b7
Merge pull request #106678 from bertinatto/azure-file-e2e
...
Add storage tests for Azure File in-tree storage plugin
2022-03-28 06:43:34 -07:00
Sergiusz Urbaniak
373c08e0c7
test/e2e/framework: configure pod security admission level for e2e tests
2022-03-28 15:42:10 +02:00
Kubernetes Prow Robot
c239b406f0
Merge pull request #108929 from gnufied/move-expansion-feature-gate-ga
...
Move all volume expansion feature gates to GA
2022-03-25 18:08:16 -07:00
Hemant Kumar
5e49fb067f
Fix flexvolume online resizing tests
2022-03-25 12:52:49 -04:00
Fabio Bertinatto
9e4fa29982
Fix max file size in Azure File tests
2022-03-25 08:56:56 -03:00
Fabio Bertinatto
dafa0e178d
Fix volume creation and deletion of Azure File tests
2022-03-25 08:56:56 -03:00
Fabio Bertinatto
b5cff9219d
Add storage tests for Azure File in-tree storage plugin
2022-03-25 08:56:56 -03:00
Hemant Kumar
ac6ef262df
remove ExpandCSIVolume feature gate
2022-03-24 14:53:00 -04:00
Hemant Kumar
cdfb841a52
remove ExpandInUsePersistentVolume feature gate
2022-03-24 11:19:42 -04:00