From ec2e9d4c0007ec1c4f9bea66debaa99f2cf73a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hafd=C3=ADs=20Erla?= Date: Mon, 16 Dec 2024 11:07:56 +0000 Subject: [PATCH] DOC-2183 - add option to configure a storage class override for ocean spark workspaces --- .../ocean/spark/schemas/oceanSparkClusterConfig.yaml | 4 +++- .../spark/schemas/oceanSparkClusterConfigWorkspaces.yaml | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 api/services/ocean/spark/schemas/oceanSparkClusterConfigWorkspaces.yaml diff --git a/api/services/ocean/spark/schemas/oceanSparkClusterConfig.yaml b/api/services/ocean/spark/schemas/oceanSparkClusterConfig.yaml index 1a651739a..7f70627e7 100644 --- a/api/services/ocean/spark/schemas/oceanSparkClusterConfig.yaml +++ b/api/services/ocean/spark/schemas/oceanSparkClusterConfig.yaml @@ -11,4 +11,6 @@ properties: logCollection: $ref: "oceanSparkClusterConfigLogCollection.yaml" spark: - $ref: "oceanSparkClusterConfigSpark.yaml" \ No newline at end of file + $ref: "oceanSparkClusterConfigSpark.yaml" + workspaces: + $ref: "oceanSparkClusterConfigWorkspaces.yaml" \ No newline at end of file diff --git a/api/services/ocean/spark/schemas/oceanSparkClusterConfigWorkspaces.yaml b/api/services/ocean/spark/schemas/oceanSparkClusterConfigWorkspaces.yaml new file mode 100644 index 000000000..a707b0349 --- /dev/null +++ b/api/services/ocean/spark/schemas/oceanSparkClusterConfigWorkspaces.yaml @@ -0,0 +1,9 @@ +type: object +description: > + The object specifying the Ocean Spark workspaces configuration. +properties: + storageClassOverride: + type: string + example: my-custom-storage-class + description: | + The storage class to use for Ocean Spark workspaces. If not set, the cluster's default storage class will be used. \ No newline at end of file