Skip to content
Snippets Groups Projects
Unverified Commit 16ec5939 authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Update deprecated api (#6245)

parent b064274e
No related branches found
No related tags found
No related merge requests found
Showing
with 7011 additions and 156 deletions
--- ---
apiVersion: storage.k8s.io/v1beta1 apiVersion: storage.k8s.io/v1
kind: CSIDriver kind: CSIDriver
metadata: metadata:
name: ebs.csi.aws.com name: ebs.csi.aws.com
......
--- ---
apiVersion: storage.k8s.io/v1beta1 apiVersion: storage.k8s.io/v1
kind: CSIDriver kind: CSIDriver
metadata: metadata:
name: disk.csi.azure.com name: disk.csi.azure.com
......
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
creationTimestamp: null creationTimestamp: null
name: csinodeinfos.csi.storage.k8s.io name: csinodeinfos.csi.storage.k8s.io
spec: spec:
group: csi.storage.k8s.io group: csi.storage.k8s.io
scope: Cluster
names: names:
kind: CSINodeInfo kind: CSINodeInfo
plural: csinodeinfos plural: csinodeinfos
scope: Cluster versions:
validation: - name: v1alpha1
openAPIV3Schema: served: true
properties: storage: true
csiDrivers: schema:
description: List of CSI drivers running on the node and their properties. openAPIV3Schema:
items: type: object
properties: properties:
driver: csiDrivers:
description: The CSI driver that this object refers to. description: List of CSI drivers running on the node and their properties.
type: string items:
nodeID: properties:
description: The node from the driver point of view. driver:
type: string description: The CSI driver that this object refers to.
topologyKeys: type: string
description: List of keys supported by the driver. nodeID:
items: description: The node from the driver point of view.
type: string type: string
type: array topologyKeys:
type: array description: List of keys supported by the driver.
version: v1alpha1 items:
type: string
type: array
type: array
status: status:
acceptedNames: acceptedNames:
kind: "" kind: ""
......
apiVersion: storage.k8s.io/v1beta1 apiVersion: storage.k8s.io/v1
kind: CSIDriver kind: CSIDriver
metadata: metadata:
name: cinder.csi.openstack.org name: cinder.csi.openstack.org
......
...@@ -119,7 +119,7 @@ spec: ...@@ -119,7 +119,7 @@ spec:
path: /var/lib/csi/sockets/pluginproxy/csi.vsphere.vmware.com path: /var/lib/csi/sockets/pluginproxy/csi.vsphere.vmware.com
type: DirectoryOrCreate type: DirectoryOrCreate
--- ---
apiVersion: storage.k8s.io/v1beta1 apiVersion: storage.k8s.io/v1
kind: CSIDriver kind: CSIDriver
metadata: metadata:
name: csi.vsphere.vmware.com name: csi.vsphere.vmware.com
......
apiVersion: apiregistration.k8s.io/v1beta1 apiVersion: apiregistration.k8s.io/v1
kind: APIService kind: APIService
metadata: metadata:
name: v1beta1.metrics.k8s.io name: v1beta1.metrics.k8s.io
......
This diff is collapsed.
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
name: ips.kubeovn.io name: ips.kubeovn.io
spec: spec:
group: kubeovn.io group: kubeovn.io
version: v1 versions:
- name: v1
served: true
storage: true
additionalPrinterColumns:
- name: Provider
type: string
jsonPath: .spec.provider
- name: IP
type: string
jsonPath: .spec.ipAddress
- name: Mac
type: string
jsonPath: .spec.macAddress
- name: Node
type: string
jsonPath: .spec.nodeName
- name: Subnet
type: string
jsonPath: .spec.subnet
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
podName:
type: string
namespace:
type: string
subnet:
type: string
attachSubnets:
type: array
items:
type: string
nodeName:
type: string
ipAddress:
type: string
attachIps:
type: array
items:
type: string
macAddress:
type: string
attachMacs:
type: array
items:
type: string
containerID:
type: string
scope: Cluster scope: Cluster
names: names:
plural: ips plural: ips
...@@ -12,27 +64,111 @@ spec: ...@@ -12,27 +64,111 @@ spec:
kind: IP kind: IP
shortNames: shortNames:
- ip - ip
additionalPrinterColumns:
- name: IP
type: string
JSONPath: .spec.ipAddress
- name: Mac
type: string
JSONPath: .spec.macAddress
- name: Node
type: string
JSONPath: .spec.nodeName
- name: Subnet
type: string
JSONPath: .spec.subnet
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
name: subnets.kubeovn.io name: subnets.kubeovn.io
spec: spec:
group: kubeovn.io group: kubeovn.io
version: v1 versions:
- name: v1
served: true
storage: true
subresources:
status: {}
additionalPrinterColumns:
- name: Protocol
type: string
jsonPath: .spec.protocol
- name: CIDR
type: string
jsonPath: .spec.cidrBlock
- name: Private
type: boolean
jsonPath: .spec.private
- name: NAT
type: boolean
jsonPath: .spec.natOutgoing
- name: Default
type: boolean
jsonPath: .spec.default
- name: GatewayType
type: string
jsonPath: .spec.gatewayType
- name: Used
type: number
jsonPath: .status.usingIPs
- name: Available
type: number
jsonPath: .status.availableIPs
schema:
openAPIV3Schema:
type: object
properties:
status:
type: object
properties:
availableIPs:
type: number
usingIPs:
type: number
activateGateway:
type: string
conditions:
type: array
items:
type: object
properties:
type:
type: string
status:
type: string
reason:
type: string
message:
type: string
lastUpdateTime:
type: string
lastTransitionTime:
type: string
spec:
type: object
properties:
default:
type: boolean
protocol:
type: string
cidrBlock:
type: string
namespaces:
type: array
items:
type: string
gateway:
type: string
provider:
type: string
excludeIps:
type: array
items:
type: string
gatewayType:
type: string
allowSubnets:
type: array
items:
type: string
gatewayNode:
type: string
natOutgoing:
type: boolean
private:
type: boolean
vlan:
type: string
underlayGateway:
type: boolean
scope: Cluster scope: Cluster
names: names:
plural: subnets plural: subnets
...@@ -40,54 +176,42 @@ spec: ...@@ -40,54 +176,42 @@ spec:
kind: Subnet kind: Subnet
shortNames: shortNames:
- subnet - subnet
subresources:
status: {}
additionalPrinterColumns:
- name: Provider
type: string
JSONPath: .spec.provider
- name: Protocol
type: string
JSONPath: .spec.protocol
- name: CIDR
type: string
JSONPath: .spec.cidrBlock
- name: Private
type: boolean
JSONPath: .spec.private
- name: NAT
type: boolean
JSONPath: .spec.natOutgoing
- name: Default
type: boolean
JSONPath: .spec.default
- name: GatewayType
type: string
JSONPath: .spec.gatewayType
- name: Used
type: number
JSONPath: .status.usingIPs
- name: Available
type: number
JSONPath: .status.availableIPs
validation:
openAPIV3Schema:
properties:
spec:
required: ["cidrBlock"]
properties:
cidrBlock:
type: "string"
gateway:
type: "string"
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
name: vlans.kubeovn.io name: vlans.kubeovn.io
spec: spec:
group: kubeovn.io group: kubeovn.io
version: v1 versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
vlanId:
type: integer
providerInterfaceName:
type: string
logicalInterfaceName:
type: string
subnet:
type: string
additionalPrinterColumns:
- name: VlanID
type: string
jsonPath: .spec.vlanId
- name: ProviderInterfaceName
type: string
jsonPath: .spec.providerInterfaceName
- name: Subnet
type: string
jsonPath: .spec.subnet
scope: Cluster scope: Cluster
names: names:
plural: vlans plural: vlans
...@@ -95,13 +219,3 @@ spec: ...@@ -95,13 +219,3 @@ spec:
kind: Vlan kind: Vlan
shortNames: shortNames:
- vlan - vlan
additionalPrinterColumns:
- name: VlanID
type: string
JSONPath: .spec.vlanId
- name: ProviderInterfaceName
type: string
JSONPath: .spec.providerInterfaceName
- name: Subnet
type: string
JSONPath: .spec.subnet
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment