From 7381d5086c0229c3a365db68434a21ffe4c8286e Mon Sep 17 00:00:00 2001 From: divolgin Date: Thu, 1 Jul 2021 17:24:00 +0000 Subject: [PATCH] Update troubleshoot api schema --- ...troubleshoot.replicated.com_analyzers.yaml | 98 +- ...roubleshoot.replicated.com_collectors.yaml | 91 +- ...roubleshoot.replicated.com_preflights.yaml | 181 +--- ...troubleshoot.replicated.com_redactors.yaml | 8 +- ...leshoot.replicated.com_supportbundles.yaml | 181 +--- config/crds/troubleshoot.sh_analyzers.yaml | 237 +++-- config/crds/troubleshoot.sh_collectors.yaml | 183 ++-- .../crds/troubleshoot.sh_hostpreflights.yaml | 921 ++++++++++++++++++ config/crds/troubleshoot.sh_preflights.yaml | 412 +++++--- config/crds/troubleshoot.sh_redactors.yaml | 8 +- .../crds/troubleshoot.sh_supportbundles.yaml | 412 +++++--- .../troubleshoot/v1beta2/collector_shared.go | 6 +- schemas/analyzer-troubleshoot-v1beta2.json | 213 ++++ schemas/collector-troubleshoot-v1beta1.json | 17 + schemas/collector-troubleshoot-v1beta2.json | 154 +++ schemas/preflight-troubleshoot-v1beta1.json | 17 + schemas/preflight-troubleshoot-v1beta2.json | 367 +++++++ .../supportbundle-troubleshoot-v1beta1.json | 17 + .../supportbundle-troubleshoot-v1beta2.json | 367 +++++++ 19 files changed, 3017 insertions(+), 873 deletions(-) create mode 100644 config/crds/troubleshoot.sh_hostpreflights.yaml diff --git a/config/crds/troubleshoot.replicated.com_analyzers.yaml b/config/crds/troubleshoot.replicated.com_analyzers.yaml index ac266bf3..de3b9c53 100644 --- a/config/crds/troubleshoot.replicated.com_analyzers.yaml +++ b/config/crds/troubleshoot.replicated.com_analyzers.yaml @@ -20,14 +20,10 @@ spec: description: Analyzer is the Schema for the analyzers API 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' + 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' + 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: type: object @@ -42,11 +38,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -88,11 +80,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -136,11 +124,7 @@ spec: customResourceDefinitionName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -183,11 +167,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -235,11 +215,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -281,11 +257,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -330,11 +302,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString ingressName: type: string @@ -384,11 +352,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -433,11 +397,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString filters: properties: @@ -507,11 +467,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -558,11 +514,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -607,11 +559,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString key: type: string @@ -661,11 +609,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -713,11 +657,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -764,11 +704,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string diff --git a/config/crds/troubleshoot.replicated.com_collectors.yaml b/config/crds/troubleshoot.replicated.com_collectors.yaml index 528186da..0f81ad48 100644 --- a/config/crds/troubleshoot.replicated.com_collectors.yaml +++ b/config/crds/troubleshoot.replicated.com_collectors.yaml @@ -20,14 +20,10 @@ spec: description: Collector is the Schema for the collectors API 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' + 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' + 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: type: object @@ -73,11 +69,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object clusterResources: @@ -85,11 +77,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object copy: @@ -101,11 +89,7 @@ spec: containerPath: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -127,11 +111,7 @@ spec: data: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -153,11 +133,7 @@ spec: containerName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -178,11 +154,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString get: properties: @@ -239,11 +211,7 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString limits: properties: @@ -269,11 +237,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -285,11 +249,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -301,11 +261,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -325,16 +281,23 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString image: type: string imagePullPolicy: type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object name: type: string namespace: @@ -350,11 +313,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString includeValue: type: boolean diff --git a/config/crds/troubleshoot.replicated.com_preflights.yaml b/config/crds/troubleshoot.replicated.com_preflights.yaml index 10910ad0..9d766184 100644 --- a/config/crds/troubleshoot.replicated.com_preflights.yaml +++ b/config/crds/troubleshoot.replicated.com_preflights.yaml @@ -20,14 +20,10 @@ spec: description: Preflight is the Schema for the preflights API 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' + 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' + 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: type: object @@ -42,11 +38,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -88,11 +80,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -136,11 +124,7 @@ spec: customResourceDefinitionName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -183,11 +167,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -235,11 +215,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -281,11 +257,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -330,11 +302,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString ingressName: type: string @@ -384,11 +352,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -433,11 +397,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString filters: properties: @@ -507,11 +467,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -558,11 +514,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -607,11 +559,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString key: type: string @@ -661,11 +609,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -713,11 +657,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -764,11 +704,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -821,11 +757,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object clusterResources: @@ -833,11 +765,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object copy: @@ -849,11 +777,7 @@ spec: containerPath: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -875,11 +799,7 @@ spec: data: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -901,11 +821,7 @@ spec: containerName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -926,11 +842,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString get: properties: @@ -987,11 +899,7 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString limits: properties: @@ -1017,11 +925,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1033,11 +937,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1049,11 +949,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1073,16 +969,23 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString image: type: string imagePullPolicy: type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object name: type: string namespace: @@ -1098,11 +1001,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString includeValue: type: boolean diff --git a/config/crds/troubleshoot.replicated.com_redactors.yaml b/config/crds/troubleshoot.replicated.com_redactors.yaml index f8e21571..6d81a50e 100644 --- a/config/crds/troubleshoot.replicated.com_redactors.yaml +++ b/config/crds/troubleshoot.replicated.com_redactors.yaml @@ -20,14 +20,10 @@ spec: description: Redactor is the Schema for the redaction API 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' + 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' + 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: type: object diff --git a/config/crds/troubleshoot.replicated.com_supportbundles.yaml b/config/crds/troubleshoot.replicated.com_supportbundles.yaml index aae1abd1..90024823 100644 --- a/config/crds/troubleshoot.replicated.com_supportbundles.yaml +++ b/config/crds/troubleshoot.replicated.com_supportbundles.yaml @@ -20,14 +20,10 @@ spec: description: SupportBundle is the Schema for the SupportBundles API 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' + 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' + 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: type: object @@ -73,11 +69,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -119,11 +111,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -167,11 +155,7 @@ spec: customResourceDefinitionName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -214,11 +198,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -266,11 +246,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -312,11 +288,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -361,11 +333,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString ingressName: type: string @@ -415,11 +383,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -464,11 +428,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString filters: properties: @@ -538,11 +498,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -589,11 +545,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -638,11 +590,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString key: type: string @@ -692,11 +640,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -744,11 +688,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -795,11 +735,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -852,11 +788,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object clusterResources: @@ -864,11 +796,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object copy: @@ -880,11 +808,7 @@ spec: containerPath: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -906,11 +830,7 @@ spec: data: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -932,11 +852,7 @@ spec: containerName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -957,11 +873,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString get: properties: @@ -1018,11 +930,7 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString limits: properties: @@ -1048,11 +956,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1064,11 +968,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1080,11 +980,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1104,16 +1000,23 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString image: type: string imagePullPolicy: type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object name: type: string namespace: @@ -1129,11 +1032,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString includeValue: type: boolean diff --git a/config/crds/troubleshoot.sh_analyzers.yaml b/config/crds/troubleshoot.sh_analyzers.yaml index 83eb8bfd..f2484c6a 100644 --- a/config/crds/troubleshoot.sh_analyzers.yaml +++ b/config/crds/troubleshoot.sh_analyzers.yaml @@ -20,14 +20,10 @@ spec: description: Analyzer is the Schema for the analyzers API 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' + 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' + 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: type: object @@ -37,16 +33,59 @@ spec: analyzers: items: properties: + cephStatus: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + 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 + required: + - namespace + - outcomes + type: object clusterVersion: properties: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -88,11 +127,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -136,11 +171,7 @@ spec: customResourceDefinitionName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -183,11 +214,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -235,11 +262,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -281,11 +304,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -330,11 +349,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString ingressName: type: string @@ -377,6 +392,53 @@ spec: - namespace - outcomes type: object + longhorn: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + 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 + required: + - namespace + - outcomes + type: object mysql: properties: checkName: @@ -384,11 +446,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -433,11 +491,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString filters: properties: @@ -507,11 +561,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -558,11 +608,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -602,16 +648,57 @@ spec: - collectorName - outcomes type: object + registryImages: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - collectorName + - outcomes + type: object secret: properties: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString key: type: string @@ -661,11 +748,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -713,11 +796,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -764,11 +843,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string diff --git a/config/crds/troubleshoot.sh_collectors.yaml b/config/crds/troubleshoot.sh_collectors.yaml index 660a778e..e8a3fdf8 100644 --- a/config/crds/troubleshoot.sh_collectors.yaml +++ b/config/crds/troubleshoot.sh_collectors.yaml @@ -20,14 +20,10 @@ spec: description: Collector is the Schema for the collectors API 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' + 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' + 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: type: object @@ -68,16 +64,26 @@ spec: collectors: items: properties: + ceph: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + timeout: + type: string + required: + - namespace + type: object clusterInfo: properties: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object clusterResources: @@ -85,13 +91,42 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object + collectd: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + hostPath: + type: string + image: + type: string + imagePullPolicy: + type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object + namespace: + type: string + timeout: + type: string + required: + - hostPath + - image + - namespace + type: object copy: properties: collectorName: @@ -101,11 +136,7 @@ spec: containerPath: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -127,11 +158,7 @@ spec: data: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -153,11 +180,7 @@ spec: containerName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -178,11 +201,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString get: properties: @@ -239,11 +258,7 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString limits: properties: @@ -252,6 +267,9 @@ spec: maxLines: format: int64 type: integer + sinceTime: + format: date-time + type: string type: object name: type: string @@ -264,16 +282,26 @@ spec: required: - selector type: object + longhorn: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + timeout: + type: string + required: + - namespace + type: object mysql: properties: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -285,11 +313,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -301,17 +325,41 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string required: - uri type: object + registryImages: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object + images: + items: + type: string + type: array + namespace: + type: string + required: + - images + - namespace + type: object run: properties: args: @@ -325,16 +373,23 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString image: type: string imagePullPolicy: type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object name: type: string namespace: @@ -350,11 +405,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString includeValue: type: boolean diff --git a/config/crds/troubleshoot.sh_hostpreflights.yaml b/config/crds/troubleshoot.sh_hostpreflights.yaml new file mode 100644 index 00000000..692b0898 --- /dev/null +++ b/config/crds/troubleshoot.sh_hostpreflights.yaml @@ -0,0 +1,921 @@ + +--- +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.3.0 + creationTimestamp: null + name: hostpreflights.troubleshoot.sh +spec: + group: troubleshoot.sh + names: + kind: HostPreflight + listKind: HostPreflightList + plural: hostpreflights + singular: hostpreflight + scope: Namespaced + validation: + openAPIV3Schema: + description: HostPreflight is the Schema for the hostpreflights API + 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: + type: object + spec: + description: HostPreflightSpec defines the desired state of HostPreflight + properties: + analyzers: + items: + properties: + blockDevices: + properties: + checkName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + includeUnmountedPartitions: + type: boolean + minimumAcceptableSize: + format: int64 + type: integer + 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 + required: + - includeUnmountedPartitions + - minimumAcceptableSize + - outcomes + type: object + certificate: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + cpu: + properties: + checkName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + diskUsage: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + filesystemPerformance: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + hostServices: + properties: + checkName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + http: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + httpLoadBalancer: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + ipv4Interfaces: + properties: + checkName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + memory: + properties: + checkName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + tcpConnect: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + tcpLoadBalancer: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + tcpPortStatus: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + time: + properties: + checkName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - outcomes + type: object + type: object + type: array + collectors: + items: + properties: + blockDevices: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + certificate: + properties: + certificatePath: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + keyPath: + type: string + required: + - certificatePath + - keyPath + type: object + cpu: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + diskUsage: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + path: + type: string + required: + - path + type: object + filesystemPerformance: + description: FilesystemPerformance benchmarks sequential write latency on a single file. The optional background IOPS feature attempts to mimic real-world conditions by running read and write workloads prior to and during benchmark execution. + properties: + backgroundIOPSWarmupSeconds: + description: How long to run the background IOPS read and write workloads prior to starting the benchmarks. + type: integer + backgroundReadIOPS: + description: The target read IOPS to run while benchmarking. This is a limit and there is no guarantee it will be reached. This is the total IOPS for all background read jobs. + type: integer + backgroundReadIOPSJobs: + description: Number of threads to use for background read IOPS. This should be set high enough to reach the target specified in BackgrounReadIOPS. + type: integer + backgroundWriteIOPS: + description: The target write IOPS to run while benchmarking. This is a limit and there is no guarantee it will be reached. This is the total IOPS for all background write jobs. + type: integer + backgroundWriteIOPSJobs: + description: 'Number of threads to use for background write IOPS. This should be set high enough to reach the target specified in BackgroundWriteIOPS. Example: If BackgroundWriteIOPS is 100 and write latency is 10ms then a single job would barely be able to reach 100 IOPS so this should be at least 2.' + type: integer + collectorName: + type: string + datasync: + description: Whether to call datasync on the file after each write. Skipped if Sync is also true. Does not apply to background IOPS task. + type: boolean + directory: + description: The directory where the benchmark will create files. + type: string + enableBackgroundIOPS: + description: Enable the background IOPS feature. + type: boolean + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + fileSize: + description: The size of the file used in the benchmark. The number of IO operations for the benchmark will be FileSize / OperationSizeBytes. Accepts valid Kubernetes resource units such as Mi. + type: string + operationSize: + description: The size of each write operation performed while benchmarking. This does not apply to the background IOPS feature if enabled, since those must be fixed at 4096. + format: int64 + type: integer + sync: + description: Whether to call sync on the file after each write. Does not apply to background IOPS task. + type: boolean + timeout: + description: Total timeout, including background IOPS setup and warmup if enabled. + type: string + required: + - backgroundIOPSWarmupSeconds + - backgroundReadIOPS + - backgroundReadIOPSJobs + - backgroundWriteIOPS + - backgroundWriteIOPSJobs + - enableBackgroundIOPS + type: object + hostServices: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + http: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + get: + properties: + headers: + additionalProperties: + type: string + type: object + insecureSkipVerify: + type: boolean + url: + type: string + required: + - url + type: object + post: + properties: + body: + type: string + headers: + additionalProperties: + type: string + type: object + insecureSkipVerify: + type: boolean + url: + type: string + required: + - url + type: object + put: + properties: + body: + type: string + headers: + additionalProperties: + type: string + type: object + insecureSkipVerify: + type: boolean + url: + type: string + required: + - url + type: object + type: object + httpLoadBalancer: + properties: + address: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + path: + type: string + port: + type: integer + timeout: + type: string + required: + - address + - path + - port + type: object + ipv4Interfaces: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + kubernetes: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + memory: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + tcpConnect: + properties: + address: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + timeout: + type: string + required: + - address + type: object + tcpLoadBalancer: + properties: + address: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + port: + type: integer + timeout: + type: string + required: + - address + - port + type: object + tcpPortStatus: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + interface: + type: string + port: + type: integer + required: + - port + type: object + time: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + type: object + type: object + type: array + type: object + status: + description: HostPreflightStatus defines the observed state of HostPreflight + type: object + type: object + version: v1beta2 + versions: + - name: v1beta2 + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/config/crds/troubleshoot.sh_preflights.yaml b/config/crds/troubleshoot.sh_preflights.yaml index c6c0e2d3..a3c4192e 100644 --- a/config/crds/troubleshoot.sh_preflights.yaml +++ b/config/crds/troubleshoot.sh_preflights.yaml @@ -20,14 +20,10 @@ spec: description: Preflight is the Schema for the preflights API 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' + 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' + 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: type: object @@ -37,16 +33,59 @@ spec: analyzers: items: properties: + cephStatus: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + 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 + required: + - namespace + - outcomes + type: object clusterVersion: properties: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -88,11 +127,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -136,11 +171,7 @@ spec: customResourceDefinitionName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -183,11 +214,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -235,11 +262,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -281,11 +304,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -330,11 +349,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString ingressName: type: string @@ -377,6 +392,53 @@ spec: - namespace - outcomes type: object + longhorn: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + 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 + required: + - namespace + - outcomes + type: object mysql: properties: checkName: @@ -384,11 +446,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -433,11 +491,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString filters: properties: @@ -507,11 +561,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -558,11 +608,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -602,16 +648,57 @@ spec: - collectorName - outcomes type: object + registryImages: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - collectorName + - outcomes + type: object secret: properties: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString key: type: string @@ -661,11 +748,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -713,11 +796,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -764,11 +843,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -816,16 +891,26 @@ spec: collectors: items: properties: + ceph: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + timeout: + type: string + required: + - namespace + type: object clusterInfo: properties: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object clusterResources: @@ -833,13 +918,42 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object + collectd: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + hostPath: + type: string + image: + type: string + imagePullPolicy: + type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object + namespace: + type: string + timeout: + type: string + required: + - hostPath + - image + - namespace + type: object copy: properties: collectorName: @@ -849,11 +963,7 @@ spec: containerPath: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -875,11 +985,7 @@ spec: data: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -901,11 +1007,7 @@ spec: containerName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -926,11 +1028,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString get: properties: @@ -987,11 +1085,7 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString limits: properties: @@ -1000,6 +1094,9 @@ spec: maxLines: format: int64 type: integer + sinceTime: + format: date-time + type: string type: object name: type: string @@ -1012,16 +1109,26 @@ spec: required: - selector type: object + longhorn: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + timeout: + type: string + required: + - namespace + type: object mysql: properties: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1033,11 +1140,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1049,17 +1152,41 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string required: - uri type: object + registryImages: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object + images: + items: + type: string + type: array + namespace: + type: string + required: + - images + - namespace + type: object run: properties: args: @@ -1073,16 +1200,23 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString image: type: string imagePullPolicy: type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object name: type: string namespace: @@ -1098,11 +1232,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString includeValue: type: boolean diff --git a/config/crds/troubleshoot.sh_redactors.yaml b/config/crds/troubleshoot.sh_redactors.yaml index 5b1a3996..d64da17a 100644 --- a/config/crds/troubleshoot.sh_redactors.yaml +++ b/config/crds/troubleshoot.sh_redactors.yaml @@ -20,14 +20,10 @@ spec: description: Redactor is the Schema for the redaction API 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' + 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' + 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: type: object diff --git a/config/crds/troubleshoot.sh_supportbundles.yaml b/config/crds/troubleshoot.sh_supportbundles.yaml index 00305dbe..60ddfa68 100644 --- a/config/crds/troubleshoot.sh_supportbundles.yaml +++ b/config/crds/troubleshoot.sh_supportbundles.yaml @@ -20,14 +20,10 @@ spec: description: SupportBundle is the Schema for the SupportBundles API 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' + 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' + 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: type: object @@ -68,16 +64,59 @@ spec: analyzers: items: properties: + cephStatus: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + 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 + required: + - namespace + - outcomes + type: object clusterVersion: properties: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -119,11 +158,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -167,11 +202,7 @@ spec: customResourceDefinitionName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -214,11 +245,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -266,11 +293,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -312,11 +335,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -361,11 +380,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString ingressName: type: string @@ -408,6 +423,53 @@ spec: - namespace - outcomes type: object + longhorn: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + 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 + required: + - namespace + - outcomes + type: object mysql: properties: checkName: @@ -415,11 +477,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -464,11 +522,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString filters: properties: @@ -538,11 +592,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -589,11 +639,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -633,16 +679,57 @@ spec: - collectorName - outcomes type: object + registryImages: + properties: + checkName: + type: string + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + 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 + required: + - collectorName + - outcomes + type: object secret: properties: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString key: type: string @@ -692,11 +779,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -744,11 +827,7 @@ spec: checkName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString outcomes: items: @@ -795,11 +874,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString fileName: type: string @@ -847,16 +922,26 @@ spec: collectors: items: properties: + ceph: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + timeout: + type: string + required: + - namespace + type: object clusterInfo: properties: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object clusterResources: @@ -864,13 +949,42 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString type: object + collectd: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + hostPath: + type: string + image: + type: string + imagePullPolicy: + type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object + namespace: + type: string + timeout: + type: string + required: + - hostPath + - image + - namespace + type: object copy: properties: collectorName: @@ -880,11 +994,7 @@ spec: containerPath: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -906,11 +1016,7 @@ spec: data: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -932,11 +1038,7 @@ spec: containerName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString name: type: string @@ -957,11 +1059,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString get: properties: @@ -1018,11 +1116,7 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString limits: properties: @@ -1031,6 +1125,9 @@ spec: maxLines: format: int64 type: integer + sinceTime: + format: date-time + type: string type: object name: type: string @@ -1043,16 +1140,26 @@ spec: required: - selector type: object + longhorn: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + namespace: + type: string + timeout: + type: string + required: + - namespace + type: object mysql: properties: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1064,11 +1171,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string @@ -1080,17 +1183,41 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString uri: type: string required: - uri type: object + registryImages: + properties: + collectorName: + type: string + exclude: + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. + type: BoolString + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object + images: + items: + type: string + type: array + namespace: + type: string + required: + - images + - namespace + type: object run: properties: args: @@ -1104,16 +1231,23 @@ spec: type: string type: array exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString image: type: string imagePullPolicy: type: string + imagePullSecret: + properties: + data: + additionalProperties: + type: string + type: object + name: + type: string + type: + type: string + type: object name: type: string namespace: @@ -1129,11 +1263,7 @@ spec: collectorName: type: string exclude: - description: BoolOrString is a type that can hold an bool - or a string. When used in JSON or YAML marshalling and - unmarshalling, it produces or consumes the inner type. This - allows you to have, for example, a JSON field that can accept - a booolean string or raw bool. + description: BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool. type: BoolString includeValue: type: boolean diff --git a/pkg/apis/troubleshoot/v1beta2/collector_shared.go b/pkg/apis/troubleshoot/v1beta2/collector_shared.go index 4f2b60d9..a0f64519 100644 --- a/pkg/apis/troubleshoot/v1beta2/collector_shared.go +++ b/pkg/apis/troubleshoot/v1beta2/collector_shared.go @@ -32,9 +32,9 @@ type Secret struct { } type LogLimits struct { - MaxAge string `json:"maxAge,omitempty" yaml:"maxAge,omitempty"` - MaxLines int64 `json:"maxLines,omitempty" yaml:"maxLines,omitempty"` - SinceTime metav1.Time + MaxAge string `json:"maxAge,omitempty" yaml:"maxAge,omitempty"` + MaxLines int64 `json:"maxLines,omitempty" yaml:"maxLines,omitempty"` + SinceTime metav1.Time `json:"sinceTime,omitempty" yaml:"sinceTime,omitempty"` } type Logs struct { diff --git a/schemas/analyzer-troubleshoot-v1beta2.json b/schemas/analyzer-troubleshoot-v1beta2.json index 84c31090..4655bc7f 100644 --- a/schemas/analyzer-troubleshoot-v1beta2.json +++ b/schemas/analyzer-troubleshoot-v1beta2.json @@ -22,6 +22,78 @@ "items": { "type": "object", "properties": { + "cephStatus": { + "type": "object", + "required": [ + "namespace", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "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" + } + } + } + } + } + } + } + }, "clusterVersion": { "type": "object", "required": [ @@ -501,6 +573,78 @@ } } }, + "longhorn": { + "type": "object", + "required": [ + "namespace", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "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" + } + } + } + } + } + } + } + }, "mysql": { "type": "object", "required": [ @@ -822,6 +966,75 @@ } } }, + "registryImages": { + "type": "object", + "required": [ + "collectorName", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "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" + } + } + } + } + } + } + } + }, "secret": { "type": "object", "required": [ diff --git a/schemas/collector-troubleshoot-v1beta1.json b/schemas/collector-troubleshoot-v1beta1.json index 12f99f27..dca22dca 100644 --- a/schemas/collector-troubleshoot-v1beta1.json +++ b/schemas/collector-troubleshoot-v1beta1.json @@ -406,6 +406,23 @@ "imagePullPolicy": { "type": "string" }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "name": { "type": "string" }, diff --git a/schemas/collector-troubleshoot-v1beta2.json b/schemas/collector-troubleshoot-v1beta2.json index 12f99f27..7c0beff7 100644 --- a/schemas/collector-troubleshoot-v1beta2.json +++ b/schemas/collector-troubleshoot-v1beta2.json @@ -68,6 +68,27 @@ "items": { "type": "object", "properties": { + "ceph": { + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "clusterInfo": { "type": "object", "properties": { @@ -92,6 +113,55 @@ } } }, + "collectd": { + "type": "object", + "required": [ + "hostPath", + "image", + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "hostPath": { + "type": "string" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "copy": { "type": "object", "required": [ @@ -303,6 +373,10 @@ "maxLines": { "type": "integer", "format": "int64" + }, + "sinceTime": { + "type": "string", + "format": "date-time" } } }, @@ -320,6 +394,27 @@ } } }, + "longhorn": { + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "mysql": { "type": "object", "required": [ @@ -374,6 +469,48 @@ } } }, + "registryImages": { + "type": "object", + "required": [ + "images", + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "images": { + "type": "array", + "items": { + "type": "string" + } + }, + "namespace": { + "type": "string" + } + } + }, "run": { "type": "object", "required": [ @@ -406,6 +543,23 @@ "imagePullPolicy": { "type": "string" }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "name": { "type": "string" }, diff --git a/schemas/preflight-troubleshoot-v1beta1.json b/schemas/preflight-troubleshoot-v1beta1.json index f9230ead..151377ff 100644 --- a/schemas/preflight-troubleshoot-v1beta1.json +++ b/schemas/preflight-troubleshoot-v1beta1.json @@ -1463,6 +1463,23 @@ "imagePullPolicy": { "type": "string" }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "name": { "type": "string" }, diff --git a/schemas/preflight-troubleshoot-v1beta2.json b/schemas/preflight-troubleshoot-v1beta2.json index f9230ead..b62bbbf6 100644 --- a/schemas/preflight-troubleshoot-v1beta2.json +++ b/schemas/preflight-troubleshoot-v1beta2.json @@ -22,6 +22,78 @@ "items": { "type": "object", "properties": { + "cephStatus": { + "type": "object", + "required": [ + "namespace", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "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" + } + } + } + } + } + } + } + }, "clusterVersion": { "type": "object", "required": [ @@ -501,6 +573,78 @@ } } }, + "longhorn": { + "type": "object", + "required": [ + "namespace", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "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" + } + } + } + } + } + } + } + }, "mysql": { "type": "object", "required": [ @@ -822,6 +966,75 @@ } } }, + "registryImages": { + "type": "object", + "required": [ + "collectorName", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "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" + } + } + } + } + } + } + } + }, "secret": { "type": "object", "required": [ @@ -1125,6 +1338,27 @@ "items": { "type": "object", "properties": { + "ceph": { + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "clusterInfo": { "type": "object", "properties": { @@ -1149,6 +1383,55 @@ } } }, + "collectd": { + "type": "object", + "required": [ + "hostPath", + "image", + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "hostPath": { + "type": "string" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "copy": { "type": "object", "required": [ @@ -1360,6 +1643,10 @@ "maxLines": { "type": "integer", "format": "int64" + }, + "sinceTime": { + "type": "string", + "format": "date-time" } } }, @@ -1377,6 +1664,27 @@ } } }, + "longhorn": { + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "mysql": { "type": "object", "required": [ @@ -1431,6 +1739,48 @@ } } }, + "registryImages": { + "type": "object", + "required": [ + "images", + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "images": { + "type": "array", + "items": { + "type": "string" + } + }, + "namespace": { + "type": "string" + } + } + }, "run": { "type": "object", "required": [ @@ -1463,6 +1813,23 @@ "imagePullPolicy": { "type": "string" }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "name": { "type": "string" }, diff --git a/schemas/supportbundle-troubleshoot-v1beta1.json b/schemas/supportbundle-troubleshoot-v1beta1.json index 36a9f0f0..4c257cf2 100644 --- a/schemas/supportbundle-troubleshoot-v1beta1.json +++ b/schemas/supportbundle-troubleshoot-v1beta1.json @@ -1509,6 +1509,23 @@ "imagePullPolicy": { "type": "string" }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "name": { "type": "string" }, diff --git a/schemas/supportbundle-troubleshoot-v1beta2.json b/schemas/supportbundle-troubleshoot-v1beta2.json index 36a9f0f0..1357f1cf 100644 --- a/schemas/supportbundle-troubleshoot-v1beta2.json +++ b/schemas/supportbundle-troubleshoot-v1beta2.json @@ -68,6 +68,78 @@ "items": { "type": "object", "properties": { + "cephStatus": { + "type": "object", + "required": [ + "namespace", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "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" + } + } + } + } + } + } + } + }, "clusterVersion": { "type": "object", "required": [ @@ -547,6 +619,78 @@ } } }, + "longhorn": { + "type": "object", + "required": [ + "namespace", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "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" + } + } + } + } + } + } + } + }, "mysql": { "type": "object", "required": [ @@ -868,6 +1012,75 @@ } } }, + "registryImages": { + "type": "object", + "required": [ + "collectorName", + "outcomes" + ], + "properties": { + "checkName": { + "type": "string" + }, + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "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" + } + } + } + } + } + } + } + }, "secret": { "type": "object", "required": [ @@ -1171,6 +1384,27 @@ "items": { "type": "object", "properties": { + "ceph": { + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "clusterInfo": { "type": "object", "properties": { @@ -1195,6 +1429,55 @@ } } }, + "collectd": { + "type": "object", + "required": [ + "hostPath", + "image", + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "hostPath": { + "type": "string" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "copy": { "type": "object", "required": [ @@ -1406,6 +1689,10 @@ "maxLines": { "type": "integer", "format": "int64" + }, + "sinceTime": { + "type": "string", + "format": "date-time" } } }, @@ -1423,6 +1710,27 @@ } } }, + "longhorn": { + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "namespace": { + "type": "string" + }, + "timeout": { + "type": "string" + } + } + }, "mysql": { "type": "object", "required": [ @@ -1477,6 +1785,48 @@ } } }, + "registryImages": { + "type": "object", + "required": [ + "images", + "namespace" + ], + "properties": { + "collectorName": { + "type": "string" + }, + "exclude": { + "description": "BoolOrString is a type that can hold an bool or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a booolean string or raw bool.", + "oneOf": [{"type": "string"},{"type": "boolean"}] + }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "images": { + "type": "array", + "items": { + "type": "string" + } + }, + "namespace": { + "type": "string" + } + } + }, "run": { "type": "object", "required": [ @@ -1509,6 +1859,23 @@ "imagePullPolicy": { "type": "string" }, + "imagePullSecret": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "name": { "type": "string" },