Skip to content

Commit

Permalink
test demo pr
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterYan committed Dec 2, 2024
1 parent 8e26470 commit 51eafba
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 10 deletions.
2 changes: 2 additions & 0 deletions config/crds/troubleshoot.sh_collectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16944,6 +16944,8 @@ spec:
type: string
exclude:
type: BoolString
generateTest:
type: string
keyPath:
type: string
required:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/troubleshoot.sh_hostcollectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,8 @@ spec:
type: string
exclude:
type: BoolString
generateTest:
type: string
keyPath:
type: string
required:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/troubleshoot.sh_hostpreflights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,8 @@ spec:
type: string
exclude:
type: BoolString
generateTest:
type: string
keyPath:
type: string
required:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/troubleshoot.sh_supportbundles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19996,6 +19996,8 @@ spec:
type: string
exclude:
type: BoolString
generateTest:
type: string
keyPath:
type: string
required:
Expand Down
4 changes: 2 additions & 2 deletions docs/preflight.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ preflight [url] [flags]
--as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
--as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
--as-uid string UID to impersonate for the operation.
--cache-dir string Default cache directory (default "$HOME/.kube/cache")
--cache-dir string Default cache directory (default "/Users/dexteryan/.kube/cache")
--certificate-authority string Path to a cert file for the certificate authority
--client-certificate string Path to a client certificate file for TLS
--client-key string Path to a client key file for TLS
Expand Down Expand Up @@ -55,4 +55,4 @@ preflight [url] [flags]
* [preflight oci-fetch](preflight_oci-fetch.md) - Fetch a preflight from an OCI registry and print it to standard out
* [preflight version](preflight_version.md) - Print the current version and exit

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
2 changes: 1 addition & 1 deletion docs/preflight_oci-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ preflight oci-fetch [URI] [flags]

* [preflight](preflight.md) - Run and retrieve preflight checks in a cluster

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
2 changes: 1 addition & 1 deletion docs/preflight_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ preflight version [flags]

* [preflight](preflight.md) - Run and retrieve preflight checks in a cluster

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
6 changes: 3 additions & 3 deletions docs/support-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ support-bundle [urls...] [flags]
--as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
--as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
--as-uid string UID to impersonate for the operation.
--cache-dir string Default cache directory (default "$HOME/.kube/cache")
--cache-dir string Default cache directory (default "/Users/dexteryan/.kube/cache")
--certificate-authority string Path to a cert file for the certificate authority
--client-certificate string Path to a client certificate file for TLS
--client-key string Path to a client key file for TLS
Expand All @@ -40,7 +40,7 @@ support-bundle [urls...] [flags]
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--interactive enable/disable interactive mode (default true)
--kubeconfig string Path to the kubeconfig file to use for CLI requests.
--load-cluster-specs enable/disable loading additional troubleshoot specs found within the cluster. This is the default behavior if no spec is provided as an argument
--load-cluster-specs enable/disable loading additional troubleshoot specs found within the cluster. Do not load by default unless no specs are provided in the cli args
--memprofile string File path to write memory profiling data
-n, --namespace string If present, the namespace scope for this CLI request
--no-uri When this flag is used, Troubleshoot does not attempt to retrieve the spec referenced by the uri: field`
Expand All @@ -64,4 +64,4 @@ support-bundle [urls...] [flags]
* [support-bundle redact](support-bundle_redact.md) - Redact information from a generated support bundle archive
* [support-bundle version](support-bundle_version.md) - Print the current version and exit

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
2 changes: 1 addition & 1 deletion docs/support-bundle_analyze.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ support-bundle analyze [url] [flags]

* [support-bundle](support-bundle.md) - Generate a support bundle from a Kubernetes cluster or specified sources

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
2 changes: 1 addition & 1 deletion docs/support-bundle_redact.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ support-bundle redact [urls...] [flags]

* [support-bundle](support-bundle.md) - Generate a support bundle from a Kubernetes cluster or specified sources

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
2 changes: 1 addition & 1 deletion docs/support-bundle_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ support-bundle version [flags]

* [support-bundle](support-bundle.md) - Generate a support bundle from a Kubernetes cluster or specified sources

###### Auto generated by spf13/cobra on 23-Aug-2024
###### Auto generated by spf13/cobra on 2-Dec-2024
1 change: 1 addition & 0 deletions pkg/apis/troubleshoot/v1beta2/hostcollector_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ type Certificate struct {
HostCollectorMeta `json:",inline" yaml:",inline"`
CertificatePath string `json:"certificatePath" yaml:"certificatepath"`
KeyPath string `json:"keyPath" yaml:"keyPath"`
GenerateTest string `json:"generateTest,omitempty" yaml:"generateTest,omitempty"`
}

type HostCertificatesCollection struct {
Expand Down
3 changes: 3 additions & 0 deletions schemas/collector-troubleshoot-v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -14504,6 +14504,9 @@
"exclude": {
"oneOf": [{"type": "string"},{"type": "boolean"}]
},
"generateTest": {
"type": "string"
},
"keyPath": {
"type": "string"
}
Expand Down
3 changes: 3 additions & 0 deletions schemas/supportbundle-troubleshoot-v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -19197,6 +19197,9 @@
"exclude": {
"oneOf": [{"type": "string"},{"type": "boolean"}]
},
"generateTest": {
"type": "string"
},
"keyPath": {
"type": "string"
}
Expand Down

0 comments on commit 51eafba

Please sign in to comment.