From c61acdc5de74318d3f7df7945ead71b7d54fa647 Mon Sep 17 00:00:00 2001 From: Marc Campbell Date: Wed, 18 Dec 2019 01:40:06 +0000 Subject: [PATCH] Regenerate --- ...troubleshoot.replicated.com_analyzers.yaml | 20 ++++++ ...roubleshoot.replicated.com_collectors.yaml | 47 +++++++++++++ ...roubleshoot.replicated.com_preflights.yaml | 67 +++++++++++++++++++ config/crds/zz_generated.deepcopy.go | 23 +++++++ 4 files changed, 157 insertions(+) diff --git a/config/crds/troubleshoot.replicated.com_analyzers.yaml b/config/crds/troubleshoot.replicated.com_analyzers.yaml index 552de142..b1311088 100644 --- a/config/crds/troubleshoot.replicated.com_analyzers.yaml +++ b/config/crds/troubleshoot.replicated.com_analyzers.yaml @@ -398,6 +398,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -437,6 +439,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -478,6 +482,8 @@ spec: type: string customResourceDefinitionName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -518,6 +524,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean name: type: string namespace: @@ -563,6 +571,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -602,6 +612,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -644,6 +656,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean ingressName: type: string namespace: @@ -689,6 +703,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean key: type: string namespace: @@ -736,6 +752,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean name: type: string namespace: @@ -781,6 +799,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: diff --git a/config/crds/troubleshoot.replicated.com_collectors.yaml b/config/crds/troubleshoot.replicated.com_collectors.yaml index 317ed448..d58fd7aa 100644 --- a/config/crds/troubleshoot.replicated.com_collectors.yaml +++ b/config/crds/troubleshoot.replicated.com_collectors.yaml @@ -420,8 +420,22 @@ spec: items: properties: clusterInfo: + properties: + collectorName: + type: string + when: + type: boolean + required: + - when type: object clusterResources: + properties: + collectorName: + type: string + when: + type: boolean + required: + - when type: object copy: properties: @@ -439,10 +453,27 @@ spec: items: type: string type: array + when: + type: boolean required: - selector - namespace - containerPath + - when + type: object + data: + properties: + collectorName: + type: string + data: + type: string + name: + type: string + when: + type: boolean + required: + - data + - when type: object exec: properties: @@ -468,9 +499,12 @@ spec: type: array timeout: type: string + when: + type: boolean required: - selector - namespace + - when type: object http: properties: @@ -521,6 +555,10 @@ spec: required: - url type: object + when: + type: boolean + required: + - when type: object logs: properties: @@ -546,8 +584,11 @@ spec: items: type: string type: array + when: + type: boolean required: - selector + - when type: object run: properties: @@ -571,9 +612,12 @@ spec: type: string timeout: type: string + when: + type: boolean required: - namespace - image + - when type: object secret: properties: @@ -587,8 +631,11 @@ spec: type: string namespace: type: string + when: + type: boolean required: - name + - when type: object type: object type: array diff --git a/config/crds/troubleshoot.replicated.com_preflights.yaml b/config/crds/troubleshoot.replicated.com_preflights.yaml index 2146cf2c..475f4212 100644 --- a/config/crds/troubleshoot.replicated.com_preflights.yaml +++ b/config/crds/troubleshoot.replicated.com_preflights.yaml @@ -398,6 +398,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -437,6 +439,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -478,6 +482,8 @@ spec: type: string customResourceDefinitionName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -518,6 +524,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean name: type: string namespace: @@ -563,6 +571,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -602,6 +612,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -644,6 +656,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean ingressName: type: string namespace: @@ -689,6 +703,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean key: type: string namespace: @@ -736,6 +752,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean name: type: string namespace: @@ -781,6 +799,8 @@ spec: properties: checkName: type: string + exclude: + type: boolean outcomes: items: properties: @@ -825,8 +845,22 @@ spec: items: properties: clusterInfo: + properties: + collectorName: + type: string + when: + type: boolean + required: + - when type: object clusterResources: + properties: + collectorName: + type: string + when: + type: boolean + required: + - when type: object copy: properties: @@ -844,10 +878,27 @@ spec: items: type: string type: array + when: + type: boolean required: - selector - namespace - containerPath + - when + type: object + data: + properties: + collectorName: + type: string + data: + type: string + name: + type: string + when: + type: boolean + required: + - data + - when type: object exec: properties: @@ -873,9 +924,12 @@ spec: type: array timeout: type: string + when: + type: boolean required: - selector - namespace + - when type: object http: properties: @@ -926,6 +980,10 @@ spec: required: - url type: object + when: + type: boolean + required: + - when type: object logs: properties: @@ -951,8 +1009,11 @@ spec: items: type: string type: array + when: + type: boolean required: - selector + - when type: object run: properties: @@ -976,9 +1037,12 @@ spec: type: string timeout: type: string + when: + type: boolean required: - namespace - image + - when type: object secret: properties: @@ -992,8 +1056,11 @@ spec: type: string namespace: type: string + when: + type: boolean required: - name + - when type: object type: object type: array diff --git a/config/crds/zz_generated.deepcopy.go b/config/crds/zz_generated.deepcopy.go index 8dbd570b..d75c49ae 100644 --- a/config/crds/zz_generated.deepcopy.go +++ b/config/crds/zz_generated.deepcopy.go @@ -332,6 +332,7 @@ func (in *AnalyzerStatus) DeepCopy() *AnalyzerStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo) { *out = *in + out.CollectorMeta = in.CollectorMeta } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo. @@ -347,6 +348,7 @@ func (in *ClusterInfo) DeepCopy() *ClusterInfo { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterResources) DeepCopyInto(out *ClusterResources) { *out = *in + out.CollectorMeta = in.CollectorMeta } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResources. @@ -419,6 +421,11 @@ func (in *Collect) DeepCopyInto(out *Collect) { *out = new(Exec) (*in).DeepCopyInto(*out) } + if in.Data != nil { + in, out := &in.Data, &out.Data + *out = new(Data) + **out = **in + } if in.Copy != nil { in, out := &in.Copy, &out.Copy *out = new(Copy) @@ -762,6 +769,22 @@ func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Data) DeepCopyInto(out *Data) { + *out = *in + out.CollectorMeta = in.CollectorMeta +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Data. +func (in *Data) DeepCopy() *Data { + if in == nil { + return nil + } + out := new(Data) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { *out = *in