diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-09-28 13:39:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-28 13:39:35 -0700 |
| commit | 597e2c539cf5a87cae1d15be6951c0c8307ef675 (patch) | |
| tree | ee11ed4151819c935216a745436de095e459dc7e | |
| parent | f59b377bd39ee0b1ec7d81f430adb8b0635173c8 (diff) | |
| parent | 4a374b4387d934977b6fd64d622dd8afa742064b (diff) | |
| download | seaweedfs-csi-driver-597e2c539cf5a87cae1d15be6951c0c8307ef675.tar.xz seaweedfs-csi-driver-597e2c539cf5a87cae1d15be6951c0c8307ef675.zip | |
Merge pull request #37 from ukd1/ukd1-patch-1
| -rw-r--r-- | deploy/kubernetes/seaweedfs-csi.yaml | 49 |
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: "" |
