You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/arch.md
-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ The `support` secret provides following configuration attributes:
10
10
-`endpoint` - upload endpoint - default is `https://console.redhat.com/api/ingress/v1/upload`,
11
11
-`interval` - data gathering & uploading frequency - default is `2h`
12
12
-`httpProxy`, `httpsProxy`, `noProxy` eventually to set custom proxy, which overrides cluster proxy just for the Insights Operator
13
-
-`username`, `password` - if set, the insights client upload will be authenticated by basic authorization using the username/password. By default, it uses the token (see below) from the `pull-secret` secret.
14
13
-`enableGlobalObfuscation` - to enable the global obfuscation of the IP addresses and the cluster domain name. Default value is `false`
15
14
-`reportEndpoint` - download endpoint. From this endpoint, the Insights operator downloads the latest Insights analysis. Default value is `https://console.redhat.com/api/insights-results-aggregator/v2/cluster/%s/reports` (where `%s` must be replaced with the cluster ID)
16
15
-`reportPullingDelay` - the delay between data upload and download. Default value is `60s`
expErr: fmt.Errorf("insights secret interval must be a duration (1h, 10m) greater than or equal to ten seconds: too short"),
53
51
},
54
-
{name: "interval incorrect format",
52
+
{
53
+
name: "interval incorrect format",
55
54
config: map[string]*corev1.Secret{
56
-
pullSecretKey: {Data: map[string][]byte{
57
-
".dockerconfigjson": nil,
58
-
}},
59
55
supportKey: {Data: map[string][]byte{
60
56
"interval": []byte("every second"),
61
57
}},
62
58
},
63
59
expErr: fmt.Errorf("insights secret interval must be a duration (1h, 10m) greater than or equal to ten seconds: time: invalid duration \"every second\""),
64
60
},
65
-
{name: "reportPullingDelay incorrect format",
61
+
{
62
+
name: "reportPullingDelay incorrect format",
66
63
config: map[string]*corev1.Secret{
67
-
pullSecretKey: {Data: map[string][]byte{
68
-
".dockerconfigjson": nil,
69
-
}},
70
64
supportKey: {Data: map[string][]byte{
71
65
"reportPullingDelay": []byte("every second"),
72
66
}},
73
67
},
74
68
expConfig: &config.Controller{}, // it only produces a warning in the log
75
69
},
76
-
{name: "reportMinRetryTime incorrect format",
70
+
{
71
+
name: "reportMinRetryTime incorrect format",
77
72
config: map[string]*corev1.Secret{
78
-
pullSecretKey: {Data: map[string][]byte{
79
-
".dockerconfigjson": nil,
80
-
}},
81
73
supportKey: {Data: map[string][]byte{
82
74
"reportMinRetryTime": []byte("every second"),
83
75
}},
84
76
},
85
77
expConfig: &config.Controller{}, // it only produces a warning in the log
86
78
},
87
-
{name: "reportPullingTimeout incorrect format",
79
+
{
80
+
name: "reportPullingTimeout incorrect format",
88
81
config: map[string]*corev1.Secret{
89
-
pullSecretKey: {Data: map[string][]byte{
90
-
".dockerconfigjson": nil,
91
-
}},
92
82
supportKey: {Data: map[string][]byte{
93
83
"reportPullingTimeout": []byte("every second"),
94
84
}},
95
85
},
96
86
expConfig: &config.Controller{}, // it only produces a warning in the log
0 commit comments