Skip to content

Commit

Permalink
Some more changes noted when writing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
banjoh committed Dec 11, 2023
1 parent b7e539b commit 2a32b25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/apis/troubleshoot/v1beta2/collector_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,8 @@ type Goldpinger struct {
type PodLaunchOptions struct {
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
Image string `json:"image" yaml:"image"`
ImagePullPolicy string `json:"imagePullPolicy,omitempty" yaml:"imagePullPolicy,omitempty"`
ImagePullSecret *ImagePullSecrets `json:"imagePullSecret,omitempty" yaml:"imagePullSecret,omitempty"`
ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"`
Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"`
}

type Collect struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/collect/goldpinger.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (c *CollectGoldpinger) runPodAndCollectGPResults(progressChan chan<- interf
},
Name: runPodCollectorName,
Namespace: namespace,
Timeout: c.Collector.PodLaunchOptions.Timeout,
Timeout: time.Minute.String(),
ImagePullSecret: c.Collector.PodLaunchOptions.ImagePullSecret,
PodSpec: corev1.PodSpec{
RestartPolicy: corev1.RestartPolicyNever,
Expand Down

0 comments on commit 2a32b25

Please sign in to comment.