From e10a71ecc8cc2aa9a640f98acf4b3d6641f42feb Mon Sep 17 00:00:00 2001 From: Ricardo Maraschini Date: Thu, 31 Oct 2024 21:19:17 +0100 Subject: [PATCH] chore: rebuild schemas --- config/crds/troubleshoot.sh_analyzers.yaml | 49 +++++++++ config/crds/troubleshoot.sh_collectors.yaml | 17 +++ .../crds/troubleshoot.sh_hostcollectors.yaml | 66 ++++++++++++ .../crds/troubleshoot.sh_hostpreflights.yaml | 66 ++++++++++++ .../crds/troubleshoot.sh_supportbundles.yaml | 66 ++++++++++++ schemas/analyzer-troubleshoot-v1beta2.json | 76 +++++++++++++ schemas/collector-troubleshoot-v1beta2.json | 25 +++++ .../supportbundle-troubleshoot-v1beta2.json | 101 ++++++++++++++++++ 8 files changed, 466 insertions(+) diff --git a/config/crds/troubleshoot.sh_analyzers.yaml b/config/crds/troubleshoot.sh_analyzers.yaml index 60517b8e9..9151c9954 100644 --- a/config/crds/troubleshoot.sh_analyzers.yaml +++ b/config/crds/troubleshoot.sh_analyzers.yaml @@ -2557,6 +2557,55 @@ spec: required: - outcomes type: object + networkNamespaceConnectivity: + properties: + annotations: + additionalProperties: + type: string + type: object + checkName: + type: string + collectorName: + type: string + exclude: + type: BoolString + outcomes: + items: + properties: + fail: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + pass: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + warn: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + type: object + type: array + strict: + type: BoolString + required: + - outcomes + type: object subnetAvailable: properties: annotations: diff --git a/config/crds/troubleshoot.sh_collectors.yaml b/config/crds/troubleshoot.sh_collectors.yaml index ed5222823..84c33cd3d 100644 --- a/config/crds/troubleshoot.sh_collectors.yaml +++ b/config/crds/troubleshoot.sh_collectors.yaml @@ -17326,6 +17326,23 @@ spec: exclude: type: BoolString type: object + networkNamespaceConnectivity: + properties: + collectorName: + type: string + exclude: + type: BoolString + fromCIDR: + type: string + port: + type: integer + toCIDR: + type: string + required: + - fromCIDR + - port + - toCIDR + type: object run: properties: args: diff --git a/config/crds/troubleshoot.sh_hostcollectors.yaml b/config/crds/troubleshoot.sh_hostcollectors.yaml index 14414a0b3..4e80958fe 100644 --- a/config/crds/troubleshoot.sh_hostcollectors.yaml +++ b/config/crds/troubleshoot.sh_hostcollectors.yaml @@ -797,6 +797,55 @@ spec: required: - outcomes type: object + networkNamespaceConnectivity: + properties: + annotations: + additionalProperties: + type: string + type: object + checkName: + type: string + collectorName: + type: string + exclude: + type: BoolString + outcomes: + items: + properties: + fail: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + pass: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + warn: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + type: object + type: array + strict: + type: BoolString + required: + - outcomes + type: object subnetAvailable: properties: annotations: @@ -1603,6 +1652,23 @@ spec: exclude: type: BoolString type: object + networkNamespaceConnectivity: + properties: + collectorName: + type: string + exclude: + type: BoolString + fromCIDR: + type: string + port: + type: integer + toCIDR: + type: string + required: + - fromCIDR + - port + - toCIDR + type: object run: properties: args: diff --git a/config/crds/troubleshoot.sh_hostpreflights.yaml b/config/crds/troubleshoot.sh_hostpreflights.yaml index 1b1bf828b..ed11cf09a 100644 --- a/config/crds/troubleshoot.sh_hostpreflights.yaml +++ b/config/crds/troubleshoot.sh_hostpreflights.yaml @@ -797,6 +797,55 @@ spec: required: - outcomes type: object + networkNamespaceConnectivity: + properties: + annotations: + additionalProperties: + type: string + type: object + checkName: + type: string + collectorName: + type: string + exclude: + type: BoolString + outcomes: + items: + properties: + fail: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + pass: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + warn: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + type: object + type: array + strict: + type: BoolString + required: + - outcomes + type: object subnetAvailable: properties: annotations: @@ -1603,6 +1652,23 @@ spec: exclude: type: BoolString type: object + networkNamespaceConnectivity: + properties: + collectorName: + type: string + exclude: + type: BoolString + fromCIDR: + type: string + port: + type: integer + toCIDR: + type: string + required: + - fromCIDR + - port + - toCIDR + type: object run: properties: args: diff --git a/config/crds/troubleshoot.sh_supportbundles.yaml b/config/crds/troubleshoot.sh_supportbundles.yaml index 2c8c5c2ed..caeeea508 100644 --- a/config/crds/troubleshoot.sh_supportbundles.yaml +++ b/config/crds/troubleshoot.sh_supportbundles.yaml @@ -19444,6 +19444,55 @@ spec: required: - outcomes type: object + networkNamespaceConnectivity: + properties: + annotations: + additionalProperties: + type: string + type: object + checkName: + type: string + collectorName: + type: string + exclude: + type: BoolString + outcomes: + items: + properties: + fail: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + pass: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + warn: + properties: + message: + type: string + uri: + type: string + when: + type: string + type: object + type: object + type: array + strict: + type: BoolString + required: + - outcomes + type: object subnetAvailable: properties: annotations: @@ -20250,6 +20299,23 @@ spec: exclude: type: BoolString type: object + networkNamespaceConnectivity: + properties: + collectorName: + type: string + exclude: + type: BoolString + fromCIDR: + type: string + port: + type: integer + toCIDR: + type: string + required: + - fromCIDR + - port + - toCIDR + type: object run: properties: args: diff --git a/schemas/analyzer-troubleshoot-v1beta2.json b/schemas/analyzer-troubleshoot-v1beta2.json index 06fc51e1f..f6bd0768e 100644 --- a/schemas/analyzer-troubleshoot-v1beta2.json +++ b/schemas/analyzer-troubleshoot-v1beta2.json @@ -3900,6 +3900,82 @@ } } }, + "networkNamespaceConnectivity": { + "type": "object", + "required": [ + "outcomes" + ], + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "outcomes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fail": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "when": { + "type": "string" + } + } + }, + "pass": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "when": { + "type": "string" + } + } + }, + "warn": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "when": { + "type": "string" + } + } + } + } + } + }, + "strict": { + "oneOf": [{"type": "string"},{"type": "boolean"}] + } + } + }, "subnetAvailable": { "type": "object", "required": [ diff --git a/schemas/collector-troubleshoot-v1beta2.json b/schemas/collector-troubleshoot-v1beta2.json index d54ff65a6..48955ef8b 100644 --- a/schemas/collector-troubleshoot-v1beta2.json +++ b/schemas/collector-troubleshoot-v1beta2.json @@ -15024,6 +15024,31 @@ } } }, + "networkNamespaceConnectivity": { + "type": "object", + "required": [ + "fromCIDR", + "port", + "toCIDR" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "fromCIDR": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "toCIDR": { + "type": "string" + } + } + }, "run": { "type": "object", "required": [ diff --git a/schemas/supportbundle-troubleshoot-v1beta2.json b/schemas/supportbundle-troubleshoot-v1beta2.json index 2c1ac4ff7..abcc4c39d 100644 --- a/schemas/supportbundle-troubleshoot-v1beta2.json +++ b/schemas/supportbundle-troubleshoot-v1beta2.json @@ -18355,6 +18355,82 @@ } } }, + "networkNamespaceConnectivity": { + "type": "object", + "required": [ + "outcomes" + ], + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "outcomes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fail": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "when": { + "type": "string" + } + } + }, + "pass": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "when": { + "type": "string" + } + } + }, + "warn": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "when": { + "type": "string" + } + } + } + } + } + }, + "strict": { + "oneOf": [{"type": "string"},{"type": "boolean"}] + } + } + }, "subnetAvailable": { "type": "object", "required": [ @@ -19536,6 +19612,31 @@ } } }, + "networkNamespaceConnectivity": { + "type": "object", + "required": [ + "fromCIDR", + "port", + "toCIDR" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "fromCIDR": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "toCIDR": { + "type": "string" + } + } + }, "run": { "type": "object", "required": [