From dc904d5c0d40c05e46b02672a8ff9557a476e493 Mon Sep 17 00:00:00 2001 From: solidDoWant Date: Fri, 21 Feb 2025 06:05:37 -0600 Subject: [PATCH] Update Rook object storage CRDs (#474) --- objectbucket.io/objectbucket_v1alpha1.json | 64 +++++++++---------- .../objectbucketclaim_v1alpha1.json | 20 +++--- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/objectbucket.io/objectbucket_v1alpha1.json b/objectbucket.io/objectbucket_v1alpha1.json index 50059ae7..4d94ff42 100644 --- a/objectbucket.io/objectbucket_v1alpha1.json +++ b/objectbucket.io/objectbucket_v1alpha1.json @@ -1,67 +1,67 @@ { - "type": "object", "properties": { "spec": { - "type": "object", "properties": { - "storageClassName": { - "type": "string" + "additionalState": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "endpoint": { + "authentication": { + "items": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "nullable": true, + "type": "object" + }, + "claimRef": { + "nullable": true, "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "endpoint": { "nullable": true, "properties": { + "additionalConfig": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, "bucketHost": { "type": "string" }, - "bucketPort": { - "type": "integer", - "format": "int32" - }, "bucketName": { "type": "string" }, + "bucketPort": { + "format": "int32", + "type": "integer" + }, "region": { "type": "string" }, "subRegion": { "type": "string" - }, - "additionalConfig": { - "type": "object", - "nullable": true, - "x-kubernetes-preserve-unknown-fields": true } }, - "additionalProperties": false - }, - "authentication": { "type": "object", - "nullable": true, - "items": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true - } - }, - "additionalState": { - "type": "object", - "nullable": true, - "x-kubernetes-preserve-unknown-fields": true + "additionalProperties": false }, "reclaimPolicy": { "type": "string" }, - "claimRef": { - "type": "object", - "nullable": true, - "x-kubernetes-preserve-unknown-fields": true + "storageClassName": { + "type": "string" } }, + "type": "object", "additionalProperties": false }, "status": { "type": "object", "x-kubernetes-preserve-unknown-fields": true } - } + }, + "type": "object" } diff --git a/objectbucket.io/objectbucketclaim_v1alpha1.json b/objectbucket.io/objectbucketclaim_v1alpha1.json index ef56c409..72596349 100644 --- a/objectbucket.io/objectbucketclaim_v1alpha1.json +++ b/objectbucket.io/objectbucketclaim_v1alpha1.json @@ -1,11 +1,11 @@ { - "type": "object", "properties": { "spec": { - "type": "object", "properties": { - "storageClassName": { - "type": "string" + "additionalConfig": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, "bucketName": { "type": "string" @@ -13,20 +13,20 @@ "generateBucketName": { "type": "string" }, - "additionalConfig": { - "type": "object", - "nullable": true, - "x-kubernetes-preserve-unknown-fields": true - }, "objectBucketName": { "type": "string" + }, + "storageClassName": { + "type": "string" } }, + "type": "object", "additionalProperties": false }, "status": { "type": "object", "x-kubernetes-preserve-unknown-fields": true } - } + }, + "type": "object" }