From 133b38ad5e0682a9a9d5de0b5da80a37abbec41c Mon Sep 17 00:00:00 2001 From: David Stancu Date: Wed, 17 Jul 2024 12:02:37 -0400 Subject: [PATCH] enum was missing from openapi spec, add manually and bump versions --- Cargo.lock | 4 ++-- charts/databricks-kube-operator/Chart.yaml | 4 ++-- databricks-kube/Cargo.toml | 2 +- databricks-rust-jobs/Cargo.toml | 2 +- databricks-rust-jobs/src/models/new_task_cluster.rs | 2 ++ 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 12003c2..1be7ff0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -414,7 +414,7 @@ dependencies = [ [[package]] name = "databricks_kube" -version = "0.8.1" +version = "0.8.2" dependencies = [ "assert-json-diff", "async-stream", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "databricks_rust_jobs" -version = "2.1.1" +version = "2.1.2" dependencies = [ "reqwest 0.12.5", "schemars", diff --git a/charts/databricks-kube-operator/Chart.yaml b/charts/databricks-kube-operator/Chart.yaml index 8b81137..67af2ac 100644 --- a/charts/databricks-kube-operator/Chart.yaml +++ b/charts/databricks-kube-operator/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 0.8.1 +appVersion: 0.8.2 name: databricks-kube-operator description: A kube-rs operator for managing Databricks API resources -version: 0.9.2 +version: 0.9.3 home: https://github.com/mach-kernel/databricks-kube-operator sources: diff --git a/databricks-kube/Cargo.toml b/databricks-kube/Cargo.toml index 1187890..e500b03 100644 --- a/databricks-kube/Cargo.toml +++ b/databricks-kube/Cargo.toml @@ -5,7 +5,7 @@ path = "src/crdgen.rs" [package] name = "databricks_kube" default-run = "databricks_kube" -version = "0.8.1" +version = "0.8.2" edition = "2021" [dependencies] diff --git a/databricks-rust-jobs/Cargo.toml b/databricks-rust-jobs/Cargo.toml index 62abac7..88b8889 100644 --- a/databricks-rust-jobs/Cargo.toml +++ b/databricks-rust-jobs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "databricks_rust_jobs" -version = "2.1.1" +version = "2.1.2" authors = ["OpenAPI Generator team and contributors"] description = "The Jobs API allows you to create, edit, and delete jobs. You should never hard code secrets or store them in plain text. Use the [Secrets API](https://docs.databricks.com/dev-tools/api/latest/secrets.html) to manage secrets in the [Databricks CLI](https://docs.databricks.com/dev-tools/cli/index.html). Use the [Secrets utility](https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-secrets) to reference secrets in notebooks and jobs." # Override this license by providing a License Object in the OpenAPI. diff --git a/databricks-rust-jobs/src/models/new_task_cluster.rs b/databricks-rust-jobs/src/models/new_task_cluster.rs index a2f2167..98ce908 100644 --- a/databricks-rust-jobs/src/models/new_task_cluster.rs +++ b/databricks-rust-jobs/src/models/new_task_cluster.rs @@ -120,6 +120,8 @@ pub enum DataSecurityMode { LegacyPassthrough, #[serde(rename = "LEGACY_SINGLE_USER")] LegacySingleUser, + #[serde(rename = "LEGACY_SINGLE_USER_STANDARD")] + LegacySingleUserStandard, } impl Default for DataSecurityMode {