Christian Huffman
701b42ca2b
Corrected CSIDriver validation rebase issues
2020-11-12 16:45:26 -05:00
Christian Huffman
8444823bed
Remove duplicate CSIDriver name validation
2020-11-12 16:32:36 -05:00
Christian Huffman
3287dbf914
Adjust CSIDriver validation to check objectmeta
2020-11-12 16:30:40 -05:00
Christian Huffman
01f70d69b7
Move CSIVolumeFSGroupPolicy to beta
2020-11-12 16:28:54 -05:00
Christian Huffman
6b9348e878
Relax validation for CSIVolumeFSGroupPolicy
2020-11-12 16:26:20 -05:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Christian Huffman
e65f0f565a
Updated dependencies
2020-07-11 23:29:24 -04:00
Christian Huffman
58bd3e5230
Include CSIDriver SupportsFsGroup
2020-07-11 23:29:24 -04:00
Patrick Ohly
9a66e8e1b5
CSIStorageCapacity: 'make update'
2020-07-03 21:54:14 +02:00
Patrick Ohly
1089954fa6
CSIStorageCapacity: CSIDriver.Spec.StorageCapacity field
...
This is needed to inform the Kubernetes pod scheduler whether it has
to check CSIStorageCapacity objects for available capacity.
2020-07-03 21:54:14 +02:00
Patrick Ohly
22aeb81e84
CSIStorageCapacity: CSIStorageCapacity API
...
This adds the CSIStorageCapacity API change for
https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1472-storage-capacity-tracking
2020-07-03 21:54:14 +02:00
Kubernetes Prow Robot
b1b1fc8034
Merge pull request #81961 from pohly/ephemeral-unit-tests
...
storage: enhance test for ValidateCSIDriverUpdate
2020-07-01 07:10:34 -07:00
hwdef
6c6fd9c575
pkg/apis: fix staticcheck warning
2019-11-08 14:49:39 +08:00
Patrick Ohly
c20721aa9f
storage: enhance test for ValidateCSIDriverUpdate
...
This revised test changes one field at a time in various ways. This
ensures that one failure reason doesn't mask the other.
An incorrect comment also gets fixed.
Suggested in https://github.com/kubernetes/kubernetes/pull/80568#pullrequestreview-272836101 .
2019-08-26 21:45:39 +02:00
Patrick Ohly
1db1263476
storage: add test for ValidateCSIDriverUpdate
...
Adding this test was forgotten when adding CSIDriver.
2019-08-13 23:12:52 +02:00
Patrick Ohly
b60f08e24b
storage: validate CSIDriver.Spec.VolumeLifecycleModes
...
This ensures that users get a good error message early on when trying
to do something that isn't okay:
$ kubectl create -f csi-hostpath-driverinfo.yaml
The CSIDriver "hostpath.csi.k8s.io" is invalid: spec.volumeLifecycleModes: Unsupported value: "foobar": supported values: "persistent", "ephemeral"
2019-08-13 23:12:48 +02:00
Ted Yu
bb77aa7a63
Validate CSI Inline Migration unconditionally
2019-08-06 08:33:31 -07:00
Fabio Bertinatto
b90ca5b2a7
Auto-generated code for volume limits API
2019-06-25 16:30:54 +02:00
Fabio Bertinatto
13e30b6342
Add volume limits API changes
2019-06-25 16:30:54 +02:00
Deep Debroy
df196226c4
Generated code for API changes to support CSI migration of inline volumes
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:53 +00:00
Deep Debroy
c34309acdf
API changes to support CSI migration of inline volumes
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:47 +00:00
Àbéjídé Àyodélé
25df4e69a5
Clean up pkg/apis.
...
These are based on recommendation from
[staticcheck](http://staticcheck.io/ ).
2019-05-09 15:25:41 +00:00
Xing Yang
ba4ccfa8b1
Add review comments in the APIs
2019-03-02 18:40:22 -08:00
Xing Yang
bb45b8ee34
Make CSINodeInfo and CSIDriver Core APIs
...
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
Serguei Bezverkhi
082f23ab1b
AllowVolumeExpansion validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 17:04:47 -05:00
Jordan Liggitt
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00
Jordan Liggitt
248d661327
Add tests to ensure storage feature gate changes don't escape packages
2018-11-16 10:52:53 -05:00
Jordan Liggitt
358c092abe
fix storage unit tests leaking feature flag changes
2018-11-16 10:52:52 -05:00
Michelle Au
fd64c08240
Fix storage feature gate test setting
2018-11-16 10:49:40 -05:00
Jan Safranek
8cfce0af99
Tighten up validation of VolumeAttachment fields
2018-11-14 16:46:59 +01:00
Michelle Au
498cd61f41
Add volumeattachment status subresource
2018-11-14 14:01:16 +01:00
lichuqiang
4c43d626f2
related test update
2018-08-29 10:30:16 +08:00
lichuqiang
b4a57f6855
combine feature gate VolumeScheduling and DynamicProvisioningScheduling into one
2018-08-29 10:30:08 +08:00
Cheng Xing
e5cf6f5c71
Added set and map structural validation for AllowedTopologies
2018-08-16 16:27:24 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
lichuqiang
9a77899ee5
API changes for Topology aware dynamic provisioning
2018-06-05 09:27:02 +08:00
Kubernetes Submit Queue
6ba46963f8
Merge pull request #59391 from msau42/topology-beta
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Move volume scheduling and local storage to beta
**What this PR does / why we need it**:
* Move the feature gates and APIs for volume scheduling and local storage to beta
* Update tests to use the beta fields
@kubernetes/sig-storage-pr-reviews
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #59390
**Special notes for your reviewer**:
**Release note**:
```release-note
ACTION REQUIRED: VolumeScheduling and LocalPersistentVolume features are beta and enabled by default. The PersistentVolume NodeAffinity alpha annotation is deprecated and will be removed in a future release.
```
2018-02-20 13:26:07 -08:00
Michelle Au
c7884550b2
Add VolumeNodeAffinity to PersistentVolumeSpec
2018-02-16 17:54:10 -08:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Michelle Au
207d13ff23
Add defaulting to VolumeBindingMode
2017-11-15 10:54:06 -08:00
Michelle Au
b60bd37114
StorageClass API changes for VolumeBindingMode
2017-11-15 09:19:47 -08:00
Saad Ali
9f294c1ad0
Generated files for new VolumeAttachemnt object
2017-11-14 17:08:49 -08:00
Saad Ali
d96c105d71
Introduce storage v1alpha1 and VolumeAttachment
...
Introduce the v1alpha1 version to the Kubernetes storage API. And add a
new VolumeAttachment object to that version. This object will initially
be used only by the new CSI Volume Plugin. Eventually existing volume
plugins can be refactored to use it too.
2017-11-14 17:08:48 -08:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Hemant Kumar
e78d433150
Implement necessary API changes
...
Introduce feature gate for expanding PVs
Add a field to SC
Add new Conditions and feature tag pvc update
Add tests for size update via feature gate
register the resize admission plugin
Update golint failures
2017-09-04 09:02:34 +02:00
Matthew Wong
396e6f6eb1
Generated StorageClass.ReclaimPolicy code
2017-08-14 13:36:58 -04:00