aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorRussell Smith <ukd1@users.noreply.github.com>2021-09-28 12:24:50 -0700
committerGitHub <noreply@github.com>2021-09-28 12:24:50 -0700
commit4a374b4387d934977b6fd64d622dd8afa742064b (patch)
treeee11ed4151819c935216a745436de095e459dc7e /deploy
parentf59b377bd39ee0b1ec7d81f430adb8b0635173c8 (diff)
downloadseaweedfs-csi-driver-4a374b4387d934977b6fd64d622dd8afa742064b.tar.xz
seaweedfs-csi-driver-4a374b4387d934977b6fd64d622dd8afa742064b.zip
Update for 1.22 - fixes seaweedfs/seaweedfs-csi-driver#36
Diffstat (limited to 'deploy')
-rw-r--r--deploy/kubernetes/seaweedfs-csi.yaml49
1 files changed, 28 insertions, 21 deletions
diff --git a/deploy/kubernetes/seaweedfs-csi.yaml b/deploy/kubernetes/seaweedfs-csi.yaml
index 94040e4..d53cae2 100644
--- a/deploy/kubernetes/seaweedfs-csi.yaml
+++ b/deploy/kubernetes/seaweedfs-csi.yaml
@@ -1,35 +1,42 @@
---
-apiVersion: apiextensions.k8s.io/v1beta1
+apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: csinodeinfos.csi.storage.k8s.io
+ annotations:
+ "api-approved.kubernetes.io": "https://github.com/kubernetes/enhancements/pull/1111 - though obvi it's not approved, but that's why"
spec:
group: csi.storage.k8s.io
names:
kind: CSINodeInfo
plural: csinodeinfos
scope: Cluster
- validation:
- openAPIV3Schema:
- properties:
- csiDrivers:
- description: List of CSI drivers running on the node and their properties.
- items:
- properties:
- driver:
- description: The CSI driver that this object refers to.
- type: string
- nodeID:
- description: The node from the driver point of view.
- type: string
- topologyKeys:
- description: List of keys supported by the driver.
- items:
- type: string
- type: array
- type: array
- version: v1alpha1
+ versions:
+ - name: v1alpha1
+ served: true
+ storage: true
+ schema:
+ openAPIV3Schema:
+ type: object
+ properties:
+ csiDrivers:
+ description: List of CSI drivers running on the node and their properties.
+ items:
+ type: object
+ properties:
+ driver:
+ description: The CSI driver that this object refers to.
+ type: string
+ nodeID:
+ description: The node from the driver point of view.
+ type: string
+ topologyKeys:
+ description: List of keys supported by the driver.
+ items:
+ type: string
+ type: array
+ type: array
status:
acceptedNames:
kind: ""