From 11161af8a4dc0adb7cb5e33517740b69d4509518 Mon Sep 17 00:00:00 2001 From: Jakob Jensen Date: Fri, 9 Jan 2026 21:15:27 +0100 Subject: [PATCH] chore: narrow configuration for trident netapp and reset its files --- configuration.yaml | 1 - .../tridentactionmirrorupdate.yaml | 64 ---------- .../tridentactionsnapshotrestore.yaml | 54 -------- .../trident.netapp.io/tridentbackend.yaml | 56 --------- .../tridentbackendconfig.yaml | 60 --------- .../tridentgroupsnapshot.yaml | 40 ------ .../tridentmirrorrelationship.yaml | 98 --------------- .../trident.netapp.io/tridentnode.yaml | 67 ---------- .../tridentnoderemediation.yaml | 44 ------- .../tridentnoderemediationtemplate.yaml | 38 ------ .../trident.netapp.io/tridentsnapshot.yaml | 43 ------- .../tridentsnapshotinfo.yaml | 51 -------- .../tridentstorageclass.yaml | 33 ----- .../trident.netapp.io/tridenttransaction.yaml | 33 ----- .../trident.netapp.io/tridentversion.yaml | 36 ------ .../trident.netapp.io/tridentvolume.yaml | 45 ------- .../tridentvolumepublication.yaml | 41 ------ .../tridentvolumereference.yaml | 41 ------ .../tridentactionmirrorupdate_v1.json | 67 ---------- .../tridentactionsnapshotrestore_v1.json | 54 -------- .../trident.netapp.io/tridentbackend_v1.json | 52 -------- .../tridentbackendconfig_v1.json | 62 --------- .../tridentgroupsnapshot_v1.json | 31 ----- .../tridentmirrorrelationship_v1.json | 118 ------------------ schema/trident.netapp.io/tridentnode_v1.json | 69 ---------- .../tridentnoderemediation_v1.json | 39 ------ .../tridentnoderemediationtemplate_v1.json | 30 ----- .../trident.netapp.io/tridentsnapshot_v1.json | 34 ----- .../tridentsnapshotinfo_v1.json | 50 -------- .../tridentstorageclass_v1.json | 21 ---- .../tridenttransaction_v1.json | 21 ---- .../trident.netapp.io/tridentversion_v1.json | 26 ---- .../trident.netapp.io/tridentvolume_v1.json | 37 ------ .../tridentvolumepublication_v1.json | 32 ----- .../tridentvolumereference_v1.json | 33 ----- 35 files changed, 1621 deletions(-) delete mode 100644 definitions/trident.netapp.io/tridentactionmirrorupdate.yaml delete mode 100644 definitions/trident.netapp.io/tridentactionsnapshotrestore.yaml delete mode 100644 definitions/trident.netapp.io/tridentbackend.yaml delete mode 100644 definitions/trident.netapp.io/tridentbackendconfig.yaml delete mode 100644 definitions/trident.netapp.io/tridentgroupsnapshot.yaml delete mode 100644 definitions/trident.netapp.io/tridentmirrorrelationship.yaml delete mode 100644 definitions/trident.netapp.io/tridentnode.yaml delete mode 100644 definitions/trident.netapp.io/tridentnoderemediation.yaml delete mode 100644 definitions/trident.netapp.io/tridentnoderemediationtemplate.yaml delete mode 100644 definitions/trident.netapp.io/tridentsnapshot.yaml delete mode 100644 definitions/trident.netapp.io/tridentsnapshotinfo.yaml delete mode 100644 definitions/trident.netapp.io/tridentstorageclass.yaml delete mode 100644 definitions/trident.netapp.io/tridenttransaction.yaml delete mode 100644 definitions/trident.netapp.io/tridentversion.yaml delete mode 100644 definitions/trident.netapp.io/tridentvolume.yaml delete mode 100644 definitions/trident.netapp.io/tridentvolumepublication.yaml delete mode 100644 definitions/trident.netapp.io/tridentvolumereference.yaml delete mode 100644 schema/trident.netapp.io/tridentactionmirrorupdate_v1.json delete mode 100644 schema/trident.netapp.io/tridentactionsnapshotrestore_v1.json delete mode 100644 schema/trident.netapp.io/tridentbackend_v1.json delete mode 100644 schema/trident.netapp.io/tridentbackendconfig_v1.json delete mode 100644 schema/trident.netapp.io/tridentgroupsnapshot_v1.json delete mode 100644 schema/trident.netapp.io/tridentmirrorrelationship_v1.json delete mode 100644 schema/trident.netapp.io/tridentnode_v1.json delete mode 100644 schema/trident.netapp.io/tridentnoderemediation_v1.json delete mode 100644 schema/trident.netapp.io/tridentnoderemediationtemplate_v1.json delete mode 100644 schema/trident.netapp.io/tridentsnapshot_v1.json delete mode 100644 schema/trident.netapp.io/tridentsnapshotinfo_v1.json delete mode 100644 schema/trident.netapp.io/tridentstorageclass_v1.json delete mode 100644 schema/trident.netapp.io/tridenttransaction_v1.json delete mode 100644 schema/trident.netapp.io/tridentversion_v1.json delete mode 100644 schema/trident.netapp.io/tridentvolume_v1.json delete mode 100644 schema/trident.netapp.io/tridentvolumepublication_v1.json delete mode 100644 schema/trident.netapp.io/tridentvolumereference_v1.json diff --git a/configuration.yaml b/configuration.yaml index 109f5a569..364258117 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -1519,7 +1519,6 @@ genPaths: - persistent_store/crd/apis/netapp/v1 - operator/crd/apis - - operator/controllers versionPrefix: v - entries: - kubernetes-operator diff --git a/definitions/trident.netapp.io/tridentactionmirrorupdate.yaml b/definitions/trident.netapp.io/tridentactionmirrorupdate.yaml deleted file mode 100644 index b383c8ffa..000000000 --- a/definitions/trident.netapp.io/tridentactionmirrorupdate.yaml +++ /dev/null @@ -1,64 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentactionmirrorupdates.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentActionMirrorUpdate - listKind: TridentActionMirrorUpdateList - plural: tridentactionmirrorupdates - singular: tridentactionmirrorupdate - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - snapshotHandle: - type: string - tridentMirrorRelationshipName: - type: string - required: - - snapshotHandle - - tridentMirrorRelationshipName - type: object - status: - properties: - completionTime: - format: date-time - type: string - localVolumeHandle: - type: string - message: - type: string - previousTransferTime: - format: date-time - type: string - remoteVolumeHandle: - type: string - snapshotHandle: - type: string - state: - type: string - required: - - localVolumeHandle - - remoteVolumeHandle - type: object - required: - - spec - - status - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentactionsnapshotrestore.yaml b/definitions/trident.netapp.io/tridentactionsnapshotrestore.yaml deleted file mode 100644 index 759e27d6f..000000000 --- a/definitions/trident.netapp.io/tridentactionsnapshotrestore.yaml +++ /dev/null @@ -1,54 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentactionsnapshotrestores.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentActionSnapshotRestore - listKind: TridentActionSnapshotRestoreList - plural: tridentactionsnapshotrestores - singular: tridentactionsnapshotrestore - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - pvcName: - type: string - volumeSnapshotName: - type: string - required: - - pvcName - - volumeSnapshotName - type: object - status: - properties: - completionTime: - format: date-time - type: string - message: - type: string - startTime: - format: date-time - type: string - state: - type: string - type: object - required: - - spec - - status - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentbackend.yaml b/definitions/trident.netapp.io/tridentbackend.yaml deleted file mode 100644 index 343a36fa3..000000000 --- a/definitions/trident.netapp.io/tridentbackend.yaml +++ /dev/null @@ -1,56 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentbackends.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentBackend - listKind: TridentBackendList - plural: tridentbackends - singular: tridentbackend - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - backendName: - type: string - backendUUID: - type: string - config: - type: object - x-kubernetes-preserve-unknown-fields: true - configRef: - type: string - kind: - type: string - metadata: - type: object - online: - type: boolean - state: - type: string - stateReason: - type: string - userState: - type: string - version: - type: string - required: - - backendName - - backendUUID - - config - - configRef - - online - - state - - userState - - version - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentbackendconfig.yaml b/definitions/trident.netapp.io/tridentbackendconfig.yaml deleted file mode 100644 index 804584a82..000000000 --- a/definitions/trident.netapp.io/tridentbackendconfig.yaml +++ /dev/null @@ -1,60 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentbackendconfigs.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentBackendConfig - listKind: TridentBackendConfigList - plural: tridentbackendconfigs - singular: tridentbackendconfig - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - status: - properties: - backendInfo: - properties: - backendName: - type: string - backendUUID: - type: string - required: - - backendName - - backendUUID - type: object - deletionPolicy: - type: string - lastOperationStatus: - type: string - message: - type: string - phase: - type: string - required: - - backendInfo - - deletionPolicy - - lastOperationStatus - - message - - phase - type: object - required: - - spec - - status - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentgroupsnapshot.yaml b/definitions/trident.netapp.io/tridentgroupsnapshot.yaml deleted file mode 100644 index e5cbf3696..000000000 --- a/definitions/trident.netapp.io/tridentgroupsnapshot.yaml +++ /dev/null @@ -1,40 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentgroupsnapshots.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentGroupSnapshot - listKind: TridentGroupSnapshotList - plural: tridentgroupsnapshots - singular: tridentgroupsnapshot - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - dateCreated: - type: string - kind: - type: string - metadata: - type: object - snapshotIDs: - items: - type: string - type: array - spec: - type: object - x-kubernetes-preserve-unknown-fields: true - required: - - snapshotIDs - - spec - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentmirrorrelationship.yaml b/definitions/trident.netapp.io/tridentmirrorrelationship.yaml deleted file mode 100644 index 7b7ecfce8..000000000 --- a/definitions/trident.netapp.io/tridentmirrorrelationship.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentmirrorrelationships.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentMirrorRelationship - listKind: TridentMirrorRelationshipList - plural: tridentmirrorrelationships - singular: tridentmirrorrelationship - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - replicationPolicy: - type: string - replicationSchedule: - type: string - state: - type: string - volumeMappings: - items: - properties: - localPVCName: - type: string - promotedSnapshotHandle: - type: string - remoteVolumeHandle: - type: string - required: - - localPVCName - - promotedSnapshotHandle - - remoteVolumeHandle - type: object - type: array - required: - - replicationPolicy - - replicationSchedule - - state - - volumeMappings - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - type: string - localPVCName: - type: string - localVolumeHandle: - type: string - message: - type: string - observedGeneration: - type: integer - remoteVolumeHandle: - type: string - replicationPolicy: - type: string - replicationSchedule: - type: string - state: - type: string - required: - - lastTransitionTime - - localPVCName - - localVolumeHandle - - message - - observedGeneration - - remoteVolumeHandle - - replicationPolicy - - replicationSchedule - - state - type: object - type: array - required: - - conditions - type: object - required: - - spec - - status - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentnode.yaml b/definitions/trident.netapp.io/tridentnode.yaml deleted file mode 100644 index f26dd9e55..000000000 --- a/definitions/trident.netapp.io/tridentnode.yaml +++ /dev/null @@ -1,67 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentnodes.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentNode - listKind: TridentNodeList - plural: tridentnodes - singular: tridentnode - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - deleted: - type: boolean - hostInfo: - type: object - x-kubernetes-preserve-unknown-fields: true - hostWWPNMap: - additionalProperties: - items: - type: string - type: array - type: object - ips: - items: - type: string - type: array - iqn: - type: string - kind: - type: string - logLayers: - type: string - logLevel: - type: string - logWorkflows: - type: string - metadata: - type: object - name: - type: string - nodePrep: - type: object - x-kubernetes-preserve-unknown-fields: true - nqn: - type: string - publicationState: - type: string - required: - - deleted - - logLayers - - logLevel - - logWorkflows - - name - - publicationState - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentnoderemediation.yaml b/definitions/trident.netapp.io/tridentnoderemediation.yaml deleted file mode 100644 index 9d354f915..000000000 --- a/definitions/trident.netapp.io/tridentnoderemediation.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentnoderemediations.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentNodeRemediation - listKind: TridentNodeRemediationList - plural: tridentnoderemediations - singular: tridentnoderemediation - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - status: - properties: - completionTime: - format: date-time - type: string - message: - type: string - state: - type: string - volumeAttachments: - additionalProperties: - type: string - type: object - type: object - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentnoderemediationtemplate.yaml b/definitions/trident.netapp.io/tridentnoderemediationtemplate.yaml deleted file mode 100644 index cde4d4ee8..000000000 --- a/definitions/trident.netapp.io/tridentnoderemediationtemplate.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentnoderemediationtemplates.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentNodeRemediationTemplate - listKind: TridentNodeRemediationTemplateList - plural: tridentnoderemediationtemplates - singular: tridentnoderemediationtemplate - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - template: - type: object - x-kubernetes-preserve-unknown-fields: true - test: - type: string - type: object - status: - type: object - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentsnapshot.yaml b/definitions/trident.netapp.io/tridentsnapshot.yaml deleted file mode 100644 index d3ad9ed10..000000000 --- a/definitions/trident.netapp.io/tridentsnapshot.yaml +++ /dev/null @@ -1,43 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentsnapshots.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentSnapshot - listKind: TridentSnapshotList - plural: tridentsnapshots - singular: tridentsnapshot - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - dateCreated: - type: string - kind: - type: string - metadata: - type: object - size: - format: int64 - type: integer - spec: - type: object - x-kubernetes-preserve-unknown-fields: true - state: - type: string - required: - - dateCreated - - size - - spec - - state - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentsnapshotinfo.yaml b/definitions/trident.netapp.io/tridentsnapshotinfo.yaml deleted file mode 100644 index 93377a77d..000000000 --- a/definitions/trident.netapp.io/tridentsnapshotinfo.yaml +++ /dev/null @@ -1,51 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentsnapshotinfoes.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentSnapshotInfo - listKind: TridentSnapshotInfoList - plural: tridentsnapshotinfoes - singular: tridentsnapshotinfo - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - snapshotName: - type: string - required: - - snapshotName - type: object - status: - properties: - lastTransitionTime: - type: string - observedGeneration: - type: integer - snapshotHandle: - type: string - required: - - lastTransitionTime - - observedGeneration - - snapshotHandle - type: object - required: - - spec - - status - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentstorageclass.yaml b/definitions/trident.netapp.io/tridentstorageclass.yaml deleted file mode 100644 index 8acebc412..000000000 --- a/definitions/trident.netapp.io/tridentstorageclass.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentstorageclasses.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentStorageClass - listKind: TridentStorageClassList - plural: tridentstorageclasses - singular: tridentstorageclass - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-preserve-unknown-fields: true - required: - - spec - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridenttransaction.yaml b/definitions/trident.netapp.io/tridenttransaction.yaml deleted file mode 100644 index cc6fb1345..000000000 --- a/definitions/trident.netapp.io/tridenttransaction.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridenttransactions.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentTransaction - listKind: TridentTransactionList - plural: tridenttransactions - singular: tridenttransaction - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - transaction: - type: object - x-kubernetes-preserve-unknown-fields: true - required: - - transaction - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentversion.yaml b/definitions/trident.netapp.io/tridentversion.yaml deleted file mode 100644 index ad6a87636..000000000 --- a/definitions/trident.netapp.io/tridentversion.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentversions.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentVersion - listKind: TridentVersionList - plural: tridentversions - singular: tridentversion - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - publications_synced: - type: boolean - trident_api_version: - type: string - trident_store_version: - type: string - trident_version: - type: string - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentvolume.yaml b/definitions/trident.netapp.io/tridentvolume.yaml deleted file mode 100644 index 2640691c5..000000000 --- a/definitions/trident.netapp.io/tridentvolume.yaml +++ /dev/null @@ -1,45 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentvolumes.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentVolume - listKind: TridentVolumeList - plural: tridentvolumes - singular: tridentvolume - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - backendUUID: - type: string - config: - type: object - x-kubernetes-preserve-unknown-fields: true - kind: - type: string - metadata: - type: object - orphaned: - type: boolean - pool: - type: string - state: - type: string - required: - - backendUUID - - config - - orphaned - - pool - - state - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentvolumepublication.yaml b/definitions/trident.netapp.io/tridentvolumepublication.yaml deleted file mode 100644 index d345678b1..000000000 --- a/definitions/trident.netapp.io/tridentvolumepublication.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentvolumepublications.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentVolumePublication - listKind: TridentVolumePublicationList - plural: tridentvolumepublications - singular: tridentvolumepublication - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - accessMode: - format: int32 - type: integer - apiVersion: - type: string - kind: - type: string - metadata: - type: object - nodeID: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - nodeID - - readOnly - - volumeID - type: object - served: true - storage: true diff --git a/definitions/trident.netapp.io/tridentvolumereference.yaml b/definitions/trident.netapp.io/tridentvolumereference.yaml deleted file mode 100644 index 4aa2518d4..000000000 --- a/definitions/trident.netapp.io/tridentvolumereference.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: (devel) - name: tridentvolumereferences.trident.netapp.io -spec: - group: trident.netapp.io - names: - kind: TridentVolumeReference - listKind: TridentVolumeReferenceList - plural: tridentvolumereferences - singular: tridentvolumereference - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - pvcName: - type: string - pvcNamespace: - type: string - required: - - pvcName - - pvcNamespace - type: object - required: - - spec - type: object - served: true - storage: true - diff --git a/schema/trident.netapp.io/tridentactionmirrorupdate_v1.json b/schema/trident.netapp.io/tridentactionmirrorupdate_v1.json deleted file mode 100644 index 443355562..000000000 --- a/schema/trident.netapp.io/tridentactionmirrorupdate_v1.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "type": "object", - "required": [ - "spec", - "status" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "required": [ - "snapshotHandle", - "tridentMirrorRelationshipName" - ], - "properties": { - "snapshotHandle": { - "type": "string" - }, - "tridentMirrorRelationshipName": { - "type": "string" - } - }, - "additionalProperties": false - }, - "status": { - "type": "object", - "required": [ - "localVolumeHandle", - "remoteVolumeHandle" - ], - "properties": { - "completionTime": { - "type": "string", - "format": "date-time" - }, - "localVolumeHandle": { - "type": "string" - }, - "message": { - "type": "string" - }, - "previousTransferTime": { - "type": "string", - "format": "date-time" - }, - "remoteVolumeHandle": { - "type": "string" - }, - "snapshotHandle": { - "type": "string" - }, - "state": { - "type": "string" - } - }, - "additionalProperties": false - } - } -} diff --git a/schema/trident.netapp.io/tridentactionsnapshotrestore_v1.json b/schema/trident.netapp.io/tridentactionsnapshotrestore_v1.json deleted file mode 100644 index 1efb4f9d6..000000000 --- a/schema/trident.netapp.io/tridentactionsnapshotrestore_v1.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "type": "object", - "required": [ - "spec", - "status" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "required": [ - "pvcName", - "volumeSnapshotName" - ], - "properties": { - "pvcName": { - "type": "string" - }, - "volumeSnapshotName": { - "type": "string" - } - }, - "additionalProperties": false - }, - "status": { - "type": "object", - "properties": { - "completionTime": { - "type": "string", - "format": "date-time" - }, - "message": { - "type": "string" - }, - "startTime": { - "type": "string", - "format": "date-time" - }, - "state": { - "type": "string" - } - }, - "additionalProperties": false - } - } -} diff --git a/schema/trident.netapp.io/tridentbackend_v1.json b/schema/trident.netapp.io/tridentbackend_v1.json deleted file mode 100644 index c4c1b58cf..000000000 --- a/schema/trident.netapp.io/tridentbackend_v1.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "type": "object", - "required": [ - "backendName", - "backendUUID", - "config", - "configRef", - "online", - "state", - "userState", - "version" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "backendName": { - "type": "string" - }, - "backendUUID": { - "type": "string" - }, - "config": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - }, - "configRef": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "online": { - "type": "boolean" - }, - "state": { - "type": "string" - }, - "stateReason": { - "type": "string" - }, - "userState": { - "type": "string" - }, - "version": { - "type": "string" - } - } -} diff --git a/schema/trident.netapp.io/tridentbackendconfig_v1.json b/schema/trident.netapp.io/tridentbackendconfig_v1.json deleted file mode 100644 index 3ca8eab43..000000000 --- a/schema/trident.netapp.io/tridentbackendconfig_v1.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "type": "object", - "required": [ - "spec", - "status" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object" - }, - "status": { - "type": "object", - "required": [ - "backendInfo", - "deletionPolicy", - "lastOperationStatus", - "message", - "phase" - ], - "properties": { - "backendInfo": { - "type": "object", - "required": [ - "backendName", - "backendUUID" - ], - "properties": { - "backendName": { - "type": "string" - }, - "backendUUID": { - "type": "string" - } - }, - "additionalProperties": false - }, - "deletionPolicy": { - "type": "string" - }, - "lastOperationStatus": { - "type": "string" - }, - "message": { - "type": "string" - }, - "phase": { - "type": "string" - } - }, - "additionalProperties": false - } - } -} diff --git a/schema/trident.netapp.io/tridentgroupsnapshot_v1.json b/schema/trident.netapp.io/tridentgroupsnapshot_v1.json deleted file mode 100644 index 299832198..000000000 --- a/schema/trident.netapp.io/tridentgroupsnapshot_v1.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "type": "object", - "required": [ - "snapshotIDs", - "spec" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "dateCreated": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "snapshotIDs": { - "type": "array", - "items": { - "type": "string" - } - }, - "spec": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - } - } -} diff --git a/schema/trident.netapp.io/tridentmirrorrelationship_v1.json b/schema/trident.netapp.io/tridentmirrorrelationship_v1.json deleted file mode 100644 index 69c1d93ae..000000000 --- a/schema/trident.netapp.io/tridentmirrorrelationship_v1.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "type": "object", - "required": [ - "spec", - "status" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "required": [ - "replicationPolicy", - "replicationSchedule", - "state", - "volumeMappings" - ], - "properties": { - "replicationPolicy": { - "type": "string" - }, - "replicationSchedule": { - "type": "string" - }, - "state": { - "type": "string" - }, - "volumeMappings": { - "type": "array", - "items": { - "type": "object", - "required": [ - "localPVCName", - "promotedSnapshotHandle", - "remoteVolumeHandle" - ], - "properties": { - "localPVCName": { - "type": "string" - }, - "promotedSnapshotHandle": { - "type": "string" - }, - "remoteVolumeHandle": { - "type": "string" - } - }, - "additionalProperties": false - } - } - }, - "additionalProperties": false - }, - "status": { - "type": "object", - "required": [ - "conditions" - ], - "properties": { - "conditions": { - "type": "array", - "items": { - "type": "object", - "required": [ - "lastTransitionTime", - "localPVCName", - "localVolumeHandle", - "message", - "observedGeneration", - "remoteVolumeHandle", - "replicationPolicy", - "replicationSchedule", - "state" - ], - "properties": { - "lastTransitionTime": { - "type": "string" - }, - "localPVCName": { - "type": "string" - }, - "localVolumeHandle": { - "type": "string" - }, - "message": { - "type": "string" - }, - "observedGeneration": { - "type": "integer" - }, - "remoteVolumeHandle": { - "type": "string" - }, - "replicationPolicy": { - "type": "string" - }, - "replicationSchedule": { - "type": "string" - }, - "state": { - "type": "string" - } - }, - "additionalProperties": false - } - } - }, - "additionalProperties": false - } - } -} diff --git a/schema/trident.netapp.io/tridentnode_v1.json b/schema/trident.netapp.io/tridentnode_v1.json deleted file mode 100644 index d2fed8e31..000000000 --- a/schema/trident.netapp.io/tridentnode_v1.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "type": "object", - "required": [ - "deleted", - "logLayers", - "logLevel", - "logWorkflows", - "name", - "publicationState" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "deleted": { - "type": "boolean" - }, - "hostInfo": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - }, - "hostWWPNMap": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "ips": { - "type": "array", - "items": { - "type": "string" - } - }, - "iqn": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "logLayers": { - "type": "string" - }, - "logLevel": { - "type": "string" - }, - "logWorkflows": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "name": { - "type": "string" - }, - "nodePrep": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - }, - "nqn": { - "type": "string" - }, - "publicationState": { - "type": "string" - } - } -} diff --git a/schema/trident.netapp.io/tridentnoderemediation_v1.json b/schema/trident.netapp.io/tridentnoderemediation_v1.json deleted file mode 100644 index f5780567a..000000000 --- a/schema/trident.netapp.io/tridentnoderemediation_v1.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object" - }, - "status": { - "type": "object", - "properties": { - "completionTime": { - "type": "string", - "format": "date-time" - }, - "message": { - "type": "string" - }, - "state": { - "type": "string" - }, - "volumeAttachments": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - } - } -} diff --git a/schema/trident.netapp.io/tridentnoderemediationtemplate_v1.json b/schema/trident.netapp.io/tridentnoderemediationtemplate_v1.json deleted file mode 100644 index 70dad45e7..000000000 --- a/schema/trident.netapp.io/tridentnoderemediationtemplate_v1.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "properties": { - "template": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - }, - "test": { - "type": "string" - } - }, - "additionalProperties": false - }, - "status": { - "type": "object" - } - } -} diff --git a/schema/trident.netapp.io/tridentsnapshot_v1.json b/schema/trident.netapp.io/tridentsnapshot_v1.json deleted file mode 100644 index b3fb8094b..000000000 --- a/schema/trident.netapp.io/tridentsnapshot_v1.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "type": "object", - "required": [ - "dateCreated", - "size", - "spec", - "state" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "dateCreated": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "size": { - "type": "integer", - "format": "int64" - }, - "spec": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - }, - "state": { - "type": "string" - } - } -} diff --git a/schema/trident.netapp.io/tridentsnapshotinfo_v1.json b/schema/trident.netapp.io/tridentsnapshotinfo_v1.json deleted file mode 100644 index 28c1bd147..000000000 --- a/schema/trident.netapp.io/tridentsnapshotinfo_v1.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "type": "object", - "required": [ - "spec", - "status" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "required": [ - "snapshotName" - ], - "properties": { - "snapshotName": { - "type": "string" - } - }, - "additionalProperties": false - }, - "status": { - "type": "object", - "required": [ - "lastTransitionTime", - "observedGeneration", - "snapshotHandle" - ], - "properties": { - "lastTransitionTime": { - "type": "string" - }, - "observedGeneration": { - "type": "integer" - }, - "snapshotHandle": { - "type": "string" - } - }, - "additionalProperties": false - } - } -} diff --git a/schema/trident.netapp.io/tridentstorageclass_v1.json b/schema/trident.netapp.io/tridentstorageclass_v1.json deleted file mode 100644 index 043bf2aa6..000000000 --- a/schema/trident.netapp.io/tridentstorageclass_v1.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "object", - "required": [ - "spec" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - } - } -} diff --git a/schema/trident.netapp.io/tridenttransaction_v1.json b/schema/trident.netapp.io/tridenttransaction_v1.json deleted file mode 100644 index 434a59150..000000000 --- a/schema/trident.netapp.io/tridenttransaction_v1.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "object", - "required": [ - "transaction" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "transaction": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - } - } -} diff --git a/schema/trident.netapp.io/tridentversion_v1.json b/schema/trident.netapp.io/tridentversion_v1.json deleted file mode 100644 index 850e227fb..000000000 --- a/schema/trident.netapp.io/tridentversion_v1.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "publications_synced": { - "type": "boolean" - }, - "trident_api_version": { - "type": "string" - }, - "trident_store_version": { - "type": "string" - }, - "trident_version": { - "type": "string" - } - } -} diff --git a/schema/trident.netapp.io/tridentvolume_v1.json b/schema/trident.netapp.io/tridentvolume_v1.json deleted file mode 100644 index e8fed55fd..000000000 --- a/schema/trident.netapp.io/tridentvolume_v1.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "type": "object", - "required": [ - "backendUUID", - "config", - "orphaned", - "pool", - "state" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "backendUUID": { - "type": "string" - }, - "config": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "orphaned": { - "type": "boolean" - }, - "pool": { - "type": "string" - }, - "state": { - "type": "string" - } - } -} diff --git a/schema/trident.netapp.io/tridentvolumepublication_v1.json b/schema/trident.netapp.io/tridentvolumepublication_v1.json deleted file mode 100644 index 4d5f8f904..000000000 --- a/schema/trident.netapp.io/tridentvolumepublication_v1.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "type": "object", - "required": [ - "nodeID", - "readOnly", - "volumeID" - ], - "properties": { - "accessMode": { - "type": "integer", - "format": "int32" - }, - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "nodeID": { - "type": "string" - }, - "readOnly": { - "type": "boolean" - }, - "volumeID": { - "type": "string" - } - } -} diff --git a/schema/trident.netapp.io/tridentvolumereference_v1.json b/schema/trident.netapp.io/tridentvolumereference_v1.json deleted file mode 100644 index 582d21215..000000000 --- a/schema/trident.netapp.io/tridentvolumereference_v1.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "object", - "required": [ - "spec" - ], - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "spec": { - "type": "object", - "required": [ - "pvcName", - "pvcNamespace" - ], - "properties": { - "pvcName": { - "type": "string" - }, - "pvcNamespace": { - "type": "string" - } - }, - "additionalProperties": false - } - } -}