From 64526859cec6a38ec00d4ba3dc6e573e60073622 Mon Sep 17 00:00:00 2001 From: LucasSaintarbor Date: Tue, 12 Aug 2025 15:09:13 -0700 Subject: [PATCH 1/5] Remove RKE references in windows-support --- .../monitoring-and-alerting/windows-support.md | 11 ++--------- .../monitoring-and-alerting/windows-support.md | 11 ++--------- .../monitoring-and-alerting/windows-support.md | 11 ++--------- .../monitoring-and-alerting/windows-support.md | 11 ++--------- 4 files changed, 8 insertions(+), 36 deletions(-) diff --git a/docs/integrations-in-rancher/monitoring-and-alerting/windows-support.md b/docs/integrations-in-rancher/monitoring-and-alerting/windows-support.md index 7f93c644ab2..db1dfb8bfa3 100644 --- a/docs/integrations-in-rancher/monitoring-and-alerting/windows-support.md +++ b/docs/integrations-in-rancher/monitoring-and-alerting/windows-support.md @@ -12,8 +12,6 @@ Monitoring V2 can be deployed on a Windows cluster to scrape metrics from Window Monitoring V2 for Windows can only scrape metrics from Windows hosts that have a minimum `wins` version of v0.1.0. To be able to fully deploy Monitoring V2 for Windows, all of your hosts must meet this requirement. -If you provision a fresh RKE1 cluster in Rancher 2.5.8, your cluster should already meet this requirement. - ### Upgrading Existing Clusters to wins v0.1.0 If the cluster was provisioned before Rancher 2.5.8 (even if the current Rancher version is 2.5.8), you will not be able to successfully deploy Monitoring V2 for Windows until you upgrade the wins version on each host to at least v0.1.0. @@ -21,6 +19,7 @@ If the cluster was provisioned before Rancher 2.5.8 (even if the current Rancher To facilitate this upgrade, Rancher 2.5.8 has released a brand new Helm chart called `rancher-wins-upgrader`. 1. Deploy `rancher-wins-upgrader` with the following override: + ```yaml # Masquerading bootstraps the wins-upgrader installation via # a previously whitelisted process path since the normal install path, @@ -31,15 +30,9 @@ To facilitate this upgrade, Rancher 2.5.8 has released a brand new Helm chart ca enabled: true as: c:\\etc\wmi-exporter\wmi-exporter.exe ``` - :::note Note for Non-Default Windows Prefix Path: - - - If you set up the RKE cluster with a `cluster.yml` that has a non-default `win_prefix_path`, you will need to update the `masquerade.as` field with your prefix path in place of `c:\\`. - - - For example, if you have `win_prefix_path: 'c:\host\opt\'`, then you will need to set `as: c:\host\opt\etc\wmi-exporter\wmi-exporter.exe`. - - ::: 2. Once all your hosts have been successfully upgraded, please ensure that you deploy the Helm chart once again with default values to avoid conflicts with the following settings: + ```yaml masquerade: enabled: false diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/windows-support.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/windows-support.md index c8de9476221..c46c0cc8f76 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/windows-support.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/windows-support.md @@ -10,8 +10,6 @@ _从 v2.5.8 起可用_ Monitoring V2 for Windows 只能从最低是 `wins` v0.1.0 的 Windows 主机中抓取指标。要完全部署 Monitoring V2 for Windows,你的所有主机都必须满足此要求。 -如果你在 Rancher 2.5.8 中配置新的 RKE1 集群,你的集群应该已经满足此要求。 - ### 将现有集群升级到 wins v0.1.0 如果集群是在 Rancher 2.5.8 之前配置的(即使当前 Rancher 版本是 2.5.8),你将无法成功部署 Monitoring V2 for Windows,除非你将每台主机的 wins 版本升级到 v0.1.0 或以上版本。 @@ -19,6 +17,7 @@ Monitoring V2 for Windows 只能从最低是 `wins` v0.1.0 的 Windows 主机中 为了方便此次升级,Rancher 2.5.8 发布了一个全新的 Helm Chart,名为 `rancher-wins-upgrader`。 1. 使用以下覆盖部署 `rancher-wins-upgrader`: + ```yaml # 通过先前已列入白名单的进程路径 # 来引导 win-upgrader 安装,这是因为正常安装路径 @@ -29,15 +28,9 @@ Monitoring V2 for Windows 只能从最低是 `wins` v0.1.0 的 Windows 主机中 enabled: true as: c:\\etc\wmi-exporter\wmi-exporter.exe ``` - :::note 非默认 Windows 前缀路径的注意事项: - - - 如果你使用具有非默认 `win_prefix_path` 的 `cluster.yml` 来设置 RKE 集群,你需要将 `c:\\` 替换为你的前缀路径字段的值来修改 `masquerade.as`。 - - - 例如,如果你使用 `win_prefix_path: 'c:\host\opt\'`,则需要设置为 `as: c:\host\opt\etc\wmi-exporter\wmi-exporter.exe`。 - - ::: 2. 成功升级所有主机后,请再次使用默认值部署 Helm Chart,以避免与以下设置发生冲突: + ```yaml masquerade: enabled: false diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md index c8de9476221..c46c0cc8f76 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md @@ -10,8 +10,6 @@ _从 v2.5.8 起可用_ Monitoring V2 for Windows 只能从最低是 `wins` v0.1.0 的 Windows 主机中抓取指标。要完全部署 Monitoring V2 for Windows,你的所有主机都必须满足此要求。 -如果你在 Rancher 2.5.8 中配置新的 RKE1 集群,你的集群应该已经满足此要求。 - ### 将现有集群升级到 wins v0.1.0 如果集群是在 Rancher 2.5.8 之前配置的(即使当前 Rancher 版本是 2.5.8),你将无法成功部署 Monitoring V2 for Windows,除非你将每台主机的 wins 版本升级到 v0.1.0 或以上版本。 @@ -19,6 +17,7 @@ Monitoring V2 for Windows 只能从最低是 `wins` v0.1.0 的 Windows 主机中 为了方便此次升级,Rancher 2.5.8 发布了一个全新的 Helm Chart,名为 `rancher-wins-upgrader`。 1. 使用以下覆盖部署 `rancher-wins-upgrader`: + ```yaml # 通过先前已列入白名单的进程路径 # 来引导 win-upgrader 安装,这是因为正常安装路径 @@ -29,15 +28,9 @@ Monitoring V2 for Windows 只能从最低是 `wins` v0.1.0 的 Windows 主机中 enabled: true as: c:\\etc\wmi-exporter\wmi-exporter.exe ``` - :::note 非默认 Windows 前缀路径的注意事项: - - - 如果你使用具有非默认 `win_prefix_path` 的 `cluster.yml` 来设置 RKE 集群,你需要将 `c:\\` 替换为你的前缀路径字段的值来修改 `masquerade.as`。 - - - 例如,如果你使用 `win_prefix_path: 'c:\host\opt\'`,则需要设置为 `as: c:\host\opt\etc\wmi-exporter\wmi-exporter.exe`。 - - ::: 2. 成功升级所有主机后,请再次使用默认值部署 Helm Chart,以避免与以下设置发生冲突: + ```yaml masquerade: enabled: false diff --git a/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md b/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md index 7f93c644ab2..db1dfb8bfa3 100644 --- a/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md +++ b/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/windows-support.md @@ -12,8 +12,6 @@ Monitoring V2 can be deployed on a Windows cluster to scrape metrics from Window Monitoring V2 for Windows can only scrape metrics from Windows hosts that have a minimum `wins` version of v0.1.0. To be able to fully deploy Monitoring V2 for Windows, all of your hosts must meet this requirement. -If you provision a fresh RKE1 cluster in Rancher 2.5.8, your cluster should already meet this requirement. - ### Upgrading Existing Clusters to wins v0.1.0 If the cluster was provisioned before Rancher 2.5.8 (even if the current Rancher version is 2.5.8), you will not be able to successfully deploy Monitoring V2 for Windows until you upgrade the wins version on each host to at least v0.1.0. @@ -21,6 +19,7 @@ If the cluster was provisioned before Rancher 2.5.8 (even if the current Rancher To facilitate this upgrade, Rancher 2.5.8 has released a brand new Helm chart called `rancher-wins-upgrader`. 1. Deploy `rancher-wins-upgrader` with the following override: + ```yaml # Masquerading bootstraps the wins-upgrader installation via # a previously whitelisted process path since the normal install path, @@ -31,15 +30,9 @@ To facilitate this upgrade, Rancher 2.5.8 has released a brand new Helm chart ca enabled: true as: c:\\etc\wmi-exporter\wmi-exporter.exe ``` - :::note Note for Non-Default Windows Prefix Path: - - - If you set up the RKE cluster with a `cluster.yml` that has a non-default `win_prefix_path`, you will need to update the `masquerade.as` field with your prefix path in place of `c:\\`. - - - For example, if you have `win_prefix_path: 'c:\host\opt\'`, then you will need to set `as: c:\host\opt\etc\wmi-exporter\wmi-exporter.exe`. - - ::: 2. Once all your hosts have been successfully upgraded, please ensure that you deploy the Helm chart once again with default values to avoid conflicts with the following settings: + ```yaml masquerade: enabled: false From d23aff28d8ee4fc36edd8026c953a2e280e2a06f Mon Sep 17 00:00:00 2001 From: LucasSaintarbor Date: Tue, 12 Aug 2025 15:09:41 -0700 Subject: [PATCH 2/5] Remove RKE references in monitoring-and-alerting --- .../monitoring-and-alerting/monitoring-and-alerting.md | 2 -- .../monitoring-and-alerting/monitoring-and-alerting.md | 2 -- .../monitoring-and-alerting/monitoring-and-alerting.md | 2 -- .../monitoring-and-alerting/monitoring-and-alerting.md | 2 -- 4 files changed, 8 deletions(-) diff --git a/docs/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md b/docs/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md index 27575406971..75358ecccf6 100644 --- a/docs/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md +++ b/docs/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md @@ -91,8 +91,6 @@ For more information on `rancher-monitoring` chart options, including options to ## Windows Cluster Support -When deployed onto an RKE1 Windows cluster, Monitoring V2 will now automatically deploy a [windows-exporter](https://github.com/prometheus-community/windows_exporter) DaemonSet and set up a ServiceMonitor to collect metrics from each of the deployed Pods. This will populate Prometheus with `windows_` metrics that are akin to the `node_` metrics exported by [node_exporter](https://github.com/prometheus/node_exporter) for Linux hosts. - To be able to fully deploy Monitoring V2 for Windows, all of your Windows hosts must have a minimum [wins](https://github.com/rancher/wins) version of v0.1.0. For more details on how to upgrade wins on existing Windows hosts, see [Windows cluster support for Monitoring V2.](windows-support.md). diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md index 2b0b84b6918..2881aa36090 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md @@ -92,8 +92,6 @@ Rancher 和 Project 的读取权限并不一定适用于监控相关资源. 查 ## Windows 集群支持 -如果 Monitoring 部署到 RKE1 Windows 集群,Monitoring V2 将自动部署 [windows-exporter](https://github.com/prometheus-community/windows_exporter) DaemonSet 并设置 ServiceMonitor,以从每个部署的 Pod 中收集指标。这将使用 `windows_` 指标填充 Prometheus,这些指标与 [node_exporter](https://github.com/prometheus/node_exporter) 为 Linux 主机导出的 `node_` 指标类似。 - 为了能够为 Windows 完全部署 Monitoring V2,你的所有 Windows 主机都必须至少具有 v0.1.0 的 [wins](https://github.com/rancher/wins) 版本。 有关如何在现有 Windows 主机上升级 wins 版本的更多信息,请参阅 [Windows 集群对 Monitoring V2 的支持](windows-support.md)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md index 2b0b84b6918..2881aa36090 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md @@ -92,8 +92,6 @@ Rancher 和 Project 的读取权限并不一定适用于监控相关资源. 查 ## Windows 集群支持 -如果 Monitoring 部署到 RKE1 Windows 集群,Monitoring V2 将自动部署 [windows-exporter](https://github.com/prometheus-community/windows_exporter) DaemonSet 并设置 ServiceMonitor,以从每个部署的 Pod 中收集指标。这将使用 `windows_` 指标填充 Prometheus,这些指标与 [node_exporter](https://github.com/prometheus/node_exporter) 为 Linux 主机导出的 `node_` 指标类似。 - 为了能够为 Windows 完全部署 Monitoring V2,你的所有 Windows 主机都必须至少具有 v0.1.0 的 [wins](https://github.com/rancher/wins) 版本。 有关如何在现有 Windows 主机上升级 wins 版本的更多信息,请参阅 [Windows 集群对 Monitoring V2 的支持](windows-support.md)。 diff --git a/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md b/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md index 27575406971..75358ecccf6 100644 --- a/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md +++ b/versioned_docs/version-2.12/integrations-in-rancher/monitoring-and-alerting/monitoring-and-alerting.md @@ -91,8 +91,6 @@ For more information on `rancher-monitoring` chart options, including options to ## Windows Cluster Support -When deployed onto an RKE1 Windows cluster, Monitoring V2 will now automatically deploy a [windows-exporter](https://github.com/prometheus-community/windows_exporter) DaemonSet and set up a ServiceMonitor to collect metrics from each of the deployed Pods. This will populate Prometheus with `windows_` metrics that are akin to the `node_` metrics exported by [node_exporter](https://github.com/prometheus/node_exporter) for Linux hosts. - To be able to fully deploy Monitoring V2 for Windows, all of your Windows hosts must have a minimum [wins](https://github.com/rancher/wins) version of v0.1.0. For more details on how to upgrade wins on existing Windows hosts, see [Windows cluster support for Monitoring V2.](windows-support.md). From 85f5bbc922628ca46333f8476d7ddf0bb9c6258a Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Tue, 12 Aug 2025 16:41:39 -0700 Subject: [PATCH 3/5] Sync PR #1603 (Detail resourceset usage in Backup docs) to 2.10 --- .../backup-configuration.md | 18 ++++++++++++++++++ .../backup-restore-configuration/examples.md | 14 +++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/backup-configuration.md b/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/backup-configuration.md index 2bb79d074b7..054a6de3daa 100644 --- a/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/backup-configuration.md +++ b/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/backup-configuration.md @@ -25,6 +25,24 @@ Select the first option to perform a one-time backup, or select the second optio | `schedule` | Provide the cron string for scheduling recurring backups. | | `retentionCount` | Provide the number of backup files to be retained. | +## ResourceSet + +While you can create your own ResourceSets to back up custom applications, two ResourceSets specifically for backing up Rancher are officially maintained and created by default by the `rancher-backup` operator. We refer to these as `rancher-resource-set-basic` and `rancher-resource-set-full`. The difference between them is whether they include secrets or not in the backups. + +`rancher-resource-set-basic` does not include any secrets in the backup files to safeguard confidential information. You are responsible for recording any secrets and redeploying them safely. + +`rancher-resource-set-full` includes all essential secrets in the backup files to ensure Rancher continues running smoothly after a restore or migration. To avoid storing sensitive information in plain text, we strongly advise you to enable encryption with a strong key. + +:::note Important: + +`rancher-resource-set` is also included by default with the `rancher-backup` operator. However, this ResourceSet is deprecated and is only being kept for backwards compatibility reasons. `rancher-resource-set` will be removed in Rancher v2.12. Please update your Backup custom resources to use either `rancher-resource-set-full` or `rancher-resource-set-basic`. + +::: + +| YAML Directive Name | Description | +| ---------------- | ---------------- | +| `resourceSetName` | Provide the name of the ResourceSet to define which resources will be included in this backup. | + ## Encryption The rancher-backup gathers resources by making calls to the kube-apiserver. Objects returned by apiserver are decrypted, so even if [encryption at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/) is enabled, even the encrypted objects gathered by the backup will be in plaintext. diff --git a/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/examples.md b/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/examples.md index d3e55582477..542c49cc872 100644 --- a/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/examples.md +++ b/versioned_docs/version-2.10/reference-guides/backup-restore-configuration/examples.md @@ -26,7 +26,7 @@ kind: Backup metadata: name: default-location-encrypted-backup spec: - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-full encryptionConfigSecretName: encryptionconfig ``` @@ -38,7 +38,7 @@ kind: Backup metadata: name: default-location-recurring-backup spec: - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-basic schedule: "@every 1h" retentionCount: 10 ``` @@ -51,7 +51,7 @@ kind: Backup metadata: name: default-enc-recurring-backup spec: - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-full encryptionConfigSecretName: encryptionconfig schedule: "@every 1h" retentionCount: 3 @@ -72,7 +72,7 @@ spec: bucketName: rancherbackups endpoint: minio.xip.io endpointCA: - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-full encryptionConfigSecretName: encryptionconfig ``` @@ -92,7 +92,7 @@ spec: folder: ecm1 region: us-west-2 endpoint: s3.us-west-2.amazonaws.com - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-full encryptionConfigSecretName: encryptionconfig ``` @@ -112,7 +112,7 @@ spec: folder: ecm1 region: us-west-2 endpoint: s3.us-west-2.amazonaws.com - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-full encryptionConfigSecretName: encryptionconfig schedule: "@every 1h" retentionCount: 10 @@ -134,7 +134,7 @@ spec: folder: ecm1 region: us-west-2 endpoint: s3.us-west-2.amazonaws.com - resourceSetName: rancher-resource-set + resourceSetName: rancher-resource-set-full encryptionConfigSecretName: encryptionconfig ``` From 942717bd89eb0d82656830890f8e35095ecd2b01 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 20 Aug 2025 08:03:16 -0700 Subject: [PATCH 4/5] Remove APIs weren't intended to be listed --- openapi/swagger-v2.12.json | 1757 ------------------------------------ 1 file changed, 1757 deletions(-) diff --git a/openapi/swagger-v2.12.json b/openapi/swagger-v2.12.json index 98cbe8c52e1..a11826a68c3 100644 --- a/openapi/swagger-v2.12.json +++ b/openapi/swagger-v2.12.json @@ -5837,1464 +5837,6 @@ "$ref": "#/parameters/pretty-tJGM1-ng" } ] - }, - "/apis/rke.cattle.io/v1/custommachines": { - "get": { - "description": "list objects of kind CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "listRkeCattleIoV1CustomMachineForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachineList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rke.cattle.io/v1/etcdsnapshots": { - "get": { - "description": "list objects of kind ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "listRkeCattleIoV1ETCDSnapshotForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshotList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rke.cattle.io/v1/namespaces/{namespace}/custommachines": { - "get": { - "description": "list objects of kind CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "listRkeCattleIoV1NamespacedCustomMachine", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachineList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "post": { - "description": "create a CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "createRkeCattleIoV1NamespacedCustomMachine", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "delete": { - "description": "delete collection of CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "deleteRkeCattleIoV1CollectionNamespacedCustomMachine", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/rke.cattle.io/v1/namespaces/{namespace}/custommachines/{name}": { - "get": { - "description": "read the specified CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "readRkeCattleIoV1NamespacedCustomMachine", - "parameters": [ - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "put": { - "description": "replace the specified CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "replaceRkeCattleIoV1NamespacedCustomMachine", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "delete": { - "description": "delete a CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "deleteRkeCattleIoV1NamespacedCustomMachine", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "patch": { - "description": "partially update the specified CustomMachine", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "patchRkeCattleIoV1NamespacedCustomMachine", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CustomMachine", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/rke.cattle.io/v1/namespaces/{namespace}/custommachines/{name}/status": { - "get": { - "description": "read status of the specified CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "readRkeCattleIoV1NamespacedCustomMachineStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "put": { - "description": "replace status of the specified CustomMachine", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "replaceRkeCattleIoV1NamespacedCustomMachineStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "patch": { - "description": "partially update status of the specified CustomMachine", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "patchRkeCattleIoV1NamespacedCustomMachineStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CustomMachine", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/rke.cattle.io/v1/namespaces/{namespace}/etcdsnapshots": { - "get": { - "description": "list objects of kind ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "listRkeCattleIoV1NamespacedETCDSnapshot", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshotList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "post": { - "description": "create an ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "createRkeCattleIoV1NamespacedETCDSnapshot", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "delete": { - "description": "delete collection of ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "deleteRkeCattleIoV1CollectionNamespacedETCDSnapshot", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/rke.cattle.io/v1/namespaces/{namespace}/etcdsnapshots/{name}": { - "get": { - "description": "read the specified ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "readRkeCattleIoV1NamespacedETCDSnapshot", - "parameters": [ - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "put": { - "description": "replace the specified ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "replaceRkeCattleIoV1NamespacedETCDSnapshot", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "delete": { - "description": "delete an ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "deleteRkeCattleIoV1NamespacedETCDSnapshot", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "patch": { - "description": "partially update the specified ETCDSnapshot", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "patchRkeCattleIoV1NamespacedETCDSnapshot", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ETCDSnapshot", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/rke.cattle.io/v1/namespaces/{namespace}/etcdsnapshots/{name}/status": { - "get": { - "description": "read status of the specified ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "readRkeCattleIoV1NamespacedETCDSnapshotStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "put": { - "description": "replace status of the specified ETCDSnapshot", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "replaceRkeCattleIoV1NamespacedETCDSnapshotStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "patch": { - "description": "partially update status of the specified ETCDSnapshot", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "rkeCattleIo_v1" - ], - "operationId": "patchRkeCattleIoV1NamespacedETCDSnapshotStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ETCDSnapshot", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] } }, "definitions": { @@ -9450,305 +7992,6 @@ } ] }, - "io.cattle.rke.v1.CustomMachine": { - "description": "CustomMachine represents an unmanaged CAPI\nmachine registered to a Rancher custom cluster.", - "type": "object", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "description": "Spec represents the desired configuration of the machine.", - "type": "object", - "properties": { - "providerID": { - "description": "ProviderID is a reference to the CAPI Node object corresponding to\nthis machine. This field is automatically set by CAPI during the\nmachine provisioning process." - } - } - }, - "status": { - "description": "Status represents the most recently observed status of the machine.", - "type": "object", - "properties": { - "addresses": { - "description": "Addresses contains the associated addresses for the machine.", - "type": "array", - "items": { - "description": "MachineAddress contains information for the node's address.", - "type": "object", - "required": [ - "address", - "type" - ], - "properties": { - "address": { - "description": "address is the machine address.", - "type": "string", - "maxLength": 256, - "minLength": 1 - }, - "type": { - "description": "type is the machine address type, one of Hostname, ExternalIP, InternalIP, ExternalDNS or InternalDNS.", - "type": "string", - "enum": [ - "Hostname", - "ExternalIP", - "InternalIP", - "ExternalDNS", - "InternalDNS" - ] - } - } - } - }, - "conditions": { - "description": "Conditions is a representation of the current state of the machine.", - "type": "array", - "items": { - "type": "object", - "required": [ - "status", - "type" - ], - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "type": "string" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "type": "string" - }, - "message": { - "description": "Human-readable message indicating details about last transition", - "type": "string" - }, - "reason": { - "description": "The reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of cluster condition.", - "type": "string" - } - } - } - }, - "ready": { - "description": "Ready indicates that the machine infrastructure is fully provisioned,\nand is a requirement of the Cluster API contract. The value of this\nfield is never updated after provisioning has completed.\nPlease use Conditions to determine the current state of the machine.", - "type": "boolean" - } - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rke.cattle.io", - "kind": "CustomMachine", - "version": "v1" - } - ] - }, - "io.cattle.rke.v1.CustomMachineList": { - "description": "CustomMachineList is a list of CustomMachine", - "type": "object", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of custommachines. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", - "type": "array", - "items": { - "$ref": "#/definitions/io.cattle.rke.v1.CustomMachine" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rke.cattle.io", - "kind": "CustomMachineList", - "version": "v1" - } - ] - }, - "io.cattle.rke.v1.ETCDSnapshot": { - "description": "ETCDSnapshot is the top-level resource representing a snapshot operation.", - "type": "object", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "snapshotFile": { - "description": "SnapshotFile holds metadata about the snapshot file produced by this snapshot operation.", - "type": "object", - "properties": { - "createdAt": { - "description": "CreatedAt is the timestamp when the snapshot was created.", - "type": "string", - "format": "date-time" - }, - "location": { - "description": "Location is the absolute file:// or s3:// URI address of the snapshot.", - "type": "string" - }, - "message": { - "description": "Message is a string detailing the encountered error during snapshot creation if specified.", - "type": "string" - }, - "metadata": { - "description": "Metadata contains a base64-encoded, gzipped snapshot of the cluster spec at the time the snapshot was taken.", - "type": "string" - }, - "name": { - "description": "Name is the full snapshot name. It consists of the cluster name prefix,\nfollowed by the base snapshot identifier and ends with an optional storage suffix (e.g. \"s3\").\nThe typical format is:\n \u003ccluster\u003e-etcd-snapshot-\u003ccluster\u003e-\u003cnodepool\u003e-\u003cuniqueid\u003e-\u003ctimestamp\u003e[-\u003cstorage-type\u003e]\nThe base snapshot identifier follows:\n etcd-snapshot-\u003ccluster\u003e-\u003cnodepool\u003e-\u003cuniqueid\u003e-\u003ctimestamp\u003e", - "type": "string" - }, - "nodeName": { - "description": "NodeName is the name of the downstream node where the snapshot was created.", - "type": "string" - }, - "s3": { - "description": "S3 holds metadata about the S3 destination if the snapshot is stored remotely. If nil, the snapshot\nis assumed to be stored locally and associated with the owning CAPI machine.", - "type": "object", - "properties": { - "bucket": { - "description": "Bucket is the name of the S3 bucket used for snapshot operations.\nIf this field is not explicitly set, the 'defaultBucket' value from the referenced CloudCredential will be used.\nAn empty bucket name will cause a 'failed to initialize S3 client: s3 bucket name was not set' error.", - "maxLength": 63 - }, - "cloudCredentialName": { - "description": "CloudCredentialName is the name of the secret containing the\ncredentials used to access the S3 bucket.\nThe secret is expected to have the following keys:\n- accessKey [required]\n- secretKey [required]\n- defaultRegion\n- defaultEndpoint\n- defaultEndpointCA\n- defaultSkipSSLVerify\n- defaultBucket\n- defaultFolder\nFields set directly in this spec (`ETCDSnapshotS3`) take precedence over the corresponding\nvalues from the CloudCredential secret. This field must be in the format of \"namespace:name\"." - }, - "endpoint": { - "description": "Endpoint is the S3 endpoint used for snapshot operations.\nIf this field is not explicitly set, the 'defaultEndpoint' value from the referenced CloudCredential will be used." - }, - "endpointCA": { - "description": "EndpointCA is the CA certificate for validating the S3 endpoint.\nThis can be either a file path (e.g., \"/etc/ssl/certs/my-ca.crt\")\nor the CA certificate content, in base64-encoded or plain PEM format.\nIf this field is not explicitly set, the 'defaultEndpointCA' value from the referenced CloudCredential will be used." - }, - "folder": { - "description": "Folder is the name of the S3 folder used for snapshot operations.\nIf this field is not explicitly set, the folder from the referenced CloudCredential will be used." - }, - "region": { - "description": "Region is the S3 region used for snapshot operations. (e.g., \"us-east-1\").\nIf this field is not explicitly set, the 'defaultRegion' value from the referenced CloudCredential will be used." - }, - "skipSSLVerify": { - "description": "SkipSSLVerify defines whether TLS certificate verification is disabled.\nIf this field is not explicitly set, the 'defaultSkipSSLVerify' value\nfrom the referenced CloudCredential will be used.", - "type": "boolean" - } - } - }, - "size": { - "description": "Size is the size of the snapshot file in bytes.", - "type": "integer", - "format": "int64" - }, - "status": { - "description": "Status represents the current state of the snapshot, such as \"successful\" or \"failed\".", - "type": "string" - } - } - }, - "spec": { - "description": "Spec defines the desired state of the ETCDSnapshot.", - "type": "object", - "properties": { - "clusterName": { - "description": "ClusterName is the name of the cluster (cluster.provisioning.cattle.io) for which this snapshot was taken.", - "type": "string" - } - } - }, - "status": { - "description": "Status contains information about the current state of the snapshot operation.", - "type": "object", - "required": [ - "missing" - ], - "properties": { - "missing": { - "description": "This field is currently unused but retained for backward compatibility or future use.", - "type": "boolean" - } - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rke.cattle.io", - "kind": "ETCDSnapshot", - "version": "v1" - } - ] - }, - "io.cattle.rke.v1.ETCDSnapshotList": { - "description": "ETCDSnapshotList is a list of ETCDSnapshot", - "type": "object", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of etcdsnapshots. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", - "type": "array", - "items": { - "$ref": "#/definitions/io.cattle.rke.v1.ETCDSnapshot" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rke.cattle.io", - "kind": "ETCDSnapshotList", - "version": "v1" - } - ] - }, "io.k8s.apimachinery.pkg.apis.meta.v1.Condition": { "description": "Condition contains details for one aspect of the current state of this API Resource.", "type": "object", From a17cc6c019672b2d09a59824ecb7193d46246728 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Thu, 21 Aug 2025 09:28:20 -0700 Subject: [PATCH 5/5] Remove NodeDriver.management.cattle.io from RK-API ref --- openapi/swagger-v2.12.json | 656 ------------------------------------- 1 file changed, 656 deletions(-) diff --git a/openapi/swagger-v2.12.json b/openapi/swagger-v2.12.json index a11826a68c3..d2388654ee5 100644 --- a/openapi/swagger-v2.12.json +++ b/openapi/swagger-v2.12.json @@ -4766,470 +4766,6 @@ } ] }, - "/apis/management.cattle.io/v3/nodedrivers": { - "get": { - "description": "list objects of kind NodeDriver", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "listManagementCattleIoV3NodeDriver", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriverList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "post": { - "description": "create a NodeDriver", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "createManagementCattleIoV3NodeDriver", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "delete": { - "description": "delete collection of NodeDriver", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "deleteManagementCattleIoV3CollectionNodeDriver", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "parameters": [ - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/management.cattle.io/v3/nodedrivers/{name}": { - "get": { - "description": "read the specified NodeDriver", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "readManagementCattleIoV3NodeDriver", - "parameters": [ - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "put": { - "description": "replace the specified NodeDriver", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "replaceManagementCattleIoV3NodeDriver", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "delete": { - "description": "delete a NodeDriver", - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "deleteManagementCattleIoV3NodeDriver", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "patch": { - "description": "partially update the specified NodeDriver", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "schemes": [ - "https" - ], - "tags": [ - "managementCattleIo_v3" - ], - "operationId": "patchManagementCattleIoV3NodeDriver", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the NodeDriver", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, "/apis/management.cattle.io/v3/projectroletemplatebindings": { "get": { "description": "list objects of kind ProjectRoleTemplateBinding", @@ -7152,198 +6688,6 @@ } ] }, - "io.cattle.management.v3.NodeDriver": { - "description": "NodeDriver represents a Rancher node driver for a specific cloud provider used to provision cluster nodes.", - "type": "object", - "required": [ - "spec" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired behavior of the Node Driver. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "type": "object", - "required": [ - "active", - "url" - ], - "properties": { - "active": { - "description": "Active specifies if the driver can be used to provision clusters.", - "type": "boolean" - }, - "addCloudCredential": { - "description": "AddCloudCredential determines if an associated cloud credential\ndynamic schema should be created for this driver even if it is not\nenabled.", - "type": "boolean" - }, - "builtin": { - "description": "Builtin specifies if a driver is built into Rancher via rancher-machine.", - "type": "boolean" - }, - "checksum": { - "description": "Checksum is used to represent the expected content of the driver\nbinary. When this value changes, the driver binary will be\nredownloaded from its URL.", - "type": "string", - "maxLength": 128, - "pattern": "^$|^[a-fA-F0-9]{32,128}$" - }, - "description": { - "description": "Description provides a short explanation of what the driver does.", - "type": "string" - }, - "displayName": { - "description": "DisplayName specifies the publicly visible name of the driver shown in the Rancher UI.", - "type": "string", - "maxLength": 57 - }, - "externalId": { - "description": "ExternalID is not currently used.", - "type": "string" - }, - "uiUrl": { - "description": "UIURL is the url to load for a customized Add Nodes screen for this driver.", - "type": "string" - }, - "url": { - "description": "URL defines the location of the driver binary that will\nbe downloaded when the driver is enabled. This can either be\nan absolute url to a remote resource, or a reference to localhost.", - "type": "string" - }, - "whitelistDomains": { - "description": "WhitelistDomains is a list of domains which will be automatically\nwhite-listed by Rancher to allow for the driver to be downloaded.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-kubernetes-validations": [ - { - "message": "Checksum must be an md5, sha1, sha256, or sha512 digest.", - "rule": "!has(self.checksum) || (self.checksum.size() in [0, 32, 40, 64, 128])" - } - ] - }, - "status": { - "description": "Most recent observed status of the Node Driver. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "type": "object", - "properties": { - "appliedChecksum": { - "description": "AppliedChecksum is the last known checksum of the driver. This is used\nto determine when a Driver needs to be redownloaded from its URL.", - "type": "string" - }, - "appliedDockerMachineVersion": { - "description": "AppliedDockerMachineVersion specifies the last docker machine version\n(a.k.a rancher-machine) which provides this driver. When this version\nis incremented, Rancher will query the rancher-machine driver to\nobtain its arguments and update the automatically generated schema\nand associated machine config object. This field is only specified for\ndrivers bundled within Rancher via rancher-machine.", - "type": "string" - }, - "appliedURL": { - "description": "AppliedURL is the url last used to download the driver.", - "type": "string" - }, - "conditions": { - "description": "Conditions is a representation of the current state of the driver,\nthis includes its installation status (Downloaded, Installed), as well\nas its current state (Active, Inactive). Information related to\nerrors encountered while transitioning to one of these states will be\npopulated in the Message and Reason fields.", - "type": "array", - "items": { - "type": "object", - "required": [ - "status", - "type" - ], - "properties": { - "lastTransitionTime": { - "description": "lastTransitionTime is the last time the condition transitioned from\none status to another. This should be when the underlying condition\nchanged. If that is not known, then using the time when the API field\nchanged is acceptable.", - "type": "string", - "format": "date-time" - }, - "lastUpdateTime": { - "description": "lastUpdateTime of this condition. This is incremented if the resource\nis updated for any reason. This could be when the underlying condition\nchanged, but may also be updated if other fields are modified\n(Message, Reason, etc.).", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "message is a human readable message indicating details\nabout the transition.\nThis may be an empty string.", - "type": "string", - "maxLength": 32768 - }, - "reason": { - "description": "reason contains a programmatic identifier indicating the reason for\nthe condition's last transition. Producers of specific condition types\nmay define expected values and meanings for this field, and whether\nthe values are considered a guaranteed API. The value should be\na CamelCase string.", - "type": "string", - "maxLength": 1024, - "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$" - }, - "status": { - "description": "status of the condition, one of True, False, Unknown.", - "type": "string", - "enum": [ - "True", - "False", - "Unknown" - ] - }, - "type": { - "description": "type of condition in CamelCase or in foo.example.com/CamelCase.", - "type": "string", - "maxLength": 316, - "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$" - } - } - } - } - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "management.cattle.io", - "kind": "NodeDriver", - "version": "v3" - } - ] - }, - "io.cattle.management.v3.NodeDriverList": { - "description": "NodeDriverList is a list of NodeDriver", - "type": "object", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of nodedrivers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", - "type": "array", - "items": { - "$ref": "#/definitions/io.cattle.management.v3.NodeDriver" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "management.cattle.io", - "kind": "NodeDriverList", - "version": "v3" - } - ] - }, "io.cattle.management.v3.Project": { "description": "Project is a group of namespaces.\nProjects are used to create a multi-tenant environment within a Kubernetes cluster by managing namespace operations,\nsuch as role assignments or quotas, as a group.", "type": "object",