From e10ca89fdd46d486b35ee13270df9a900c6f56c8 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Sun, 10 Nov 2024 20:56:34 +0545 Subject: [PATCH] chore: unmerged playbook spec --- schema/openapi/playbook-spec.schema.json | 30 +++++++++++++++++++----- schema/openapi/playbook.schema.json | 30 +++++++++++++++++++----- 2 files changed, 48 insertions(+), 12 deletions(-) diff --git a/schema/openapi/playbook-spec.schema.json b/schema/openapi/playbook-spec.schema.json index 2f575541..6aa24b9c 100644 --- a/schema/openapi/playbook-spec.schema.json +++ b/schema/openapi/playbook-spec.schema.json @@ -17,6 +17,9 @@ "sessionToken": { "$ref": "#/$defs/EnvVar" }, + "assumeRole": { + "type": "string" + }, "region": { "type": "string" }, @@ -25,12 +28,6 @@ }, "skipTLSVerify": { "type": "boolean" - }, - "objectPath": { - "type": "string" - }, - "usePathStyle": { - "type": "boolean" } }, "additionalProperties": false, @@ -203,6 +200,12 @@ }, "ExecConnections": { "properties": { + "fromConfigItem": { + "type": "string" + }, + "kubernetes": { + "$ref": "#/$defs/KubernetesConnection" + }, "aws": { "$ref": "#/$defs/AWSConnection" }, @@ -226,6 +229,9 @@ }, "credentials": { "$ref": "#/$defs/EnvVar" + }, + "skipTLSVerify": { + "type": "boolean" } }, "additionalProperties": false, @@ -498,6 +504,18 @@ }, "type": "array" }, + "KubernetesConnection": { + "properties": { + "connection": { + "type": "string" + }, + "kubeconfig": { + "$ref": "#/$defs/EnvVar" + } + }, + "additionalProperties": false, + "type": "object" + }, "NotificationAction": { "properties": { "url": { diff --git a/schema/openapi/playbook.schema.json b/schema/openapi/playbook.schema.json index 78b050e8..2ec13a5c 100644 --- a/schema/openapi/playbook.schema.json +++ b/schema/openapi/playbook.schema.json @@ -17,6 +17,9 @@ "sessionToken": { "$ref": "#/$defs/EnvVar" }, + "assumeRole": { + "type": "string" + }, "region": { "type": "string" }, @@ -25,12 +28,6 @@ }, "skipTLSVerify": { "type": "boolean" - }, - "objectPath": { - "type": "string" - }, - "usePathStyle": { - "type": "boolean" } }, "additionalProperties": false, @@ -203,6 +200,12 @@ }, "ExecConnections": { "properties": { + "fromConfigItem": { + "type": "string" + }, + "kubernetes": { + "$ref": "#/$defs/KubernetesConnection" + }, "aws": { "$ref": "#/$defs/AWSConnection" }, @@ -231,6 +234,9 @@ }, "credentials": { "$ref": "#/$defs/EnvVar" + }, + "skipTLSVerify": { + "type": "boolean" } }, "additionalProperties": false, @@ -503,6 +509,18 @@ }, "type": "array" }, + "KubernetesConnection": { + "properties": { + "connection": { + "type": "string" + }, + "kubeconfig": { + "$ref": "#/$defs/EnvVar" + } + }, + "additionalProperties": false, + "type": "object" + }, "ManagedFieldsEntry": { "properties": { "manager": {