@@ -32,7 +32,7 @@ func TestExporter(t *testing.T) {
32
32
{
33
33
name : "ca, crt and key from secret" ,
34
34
exporter : v1alpha1.Exporter {
35
- Endpoint : "http ://collector:4318" ,
35
+ Endpoint : "https ://collector:4318" ,
36
36
TLS : & v1alpha1.TLS {
37
37
SecretName : "my-certs" ,
38
38
CA : "ca.crt" ,
@@ -64,7 +64,7 @@ func TestExporter(t *testing.T) {
64
64
Env : []corev1.EnvVar {
65
65
{
66
66
Name : "OTEL_EXPORTER_OTLP_ENDPOINT" ,
67
- Value : "http ://collector:4318" ,
67
+ Value : "https ://collector:4318" ,
68
68
},
69
69
{
70
70
Name : "OTEL_EXPORTER_OTLP_CERTIFICATE" ,
@@ -87,7 +87,7 @@ func TestExporter(t *testing.T) {
87
87
{
88
88
name : "crt and key from secret and ca from configmap" ,
89
89
exporter : v1alpha1.Exporter {
90
- Endpoint : "http ://collector:4318" ,
90
+ Endpoint : "https ://collector:4318" ,
91
91
TLS : & v1alpha1.TLS {
92
92
SecretName : "my-certs" ,
93
93
ConfigMapName : "ca-bundle" ,
@@ -135,7 +135,7 @@ func TestExporter(t *testing.T) {
135
135
Env : []corev1.EnvVar {
136
136
{
137
137
Name : "OTEL_EXPORTER_OTLP_ENDPOINT" ,
138
- Value : "http ://collector:4318" ,
138
+ Value : "https ://collector:4318" ,
139
139
},
140
140
{
141
141
Name : "OTEL_EXPORTER_OTLP_CERTIFICATE" ,
@@ -158,7 +158,7 @@ func TestExporter(t *testing.T) {
158
158
{
159
159
name : "ca, crt key absolute paths" ,
160
160
exporter : v1alpha1.Exporter {
161
- Endpoint : "http ://collector:4318" ,
161
+ Endpoint : "https ://collector:4318" ,
162
162
TLS : & v1alpha1.TLS {
163
163
CA : "/ca.crt" ,
164
164
Cert : "/cert.crt" ,
@@ -172,7 +172,7 @@ func TestExporter(t *testing.T) {
172
172
Env : []corev1.EnvVar {
173
173
{
174
174
Name : "OTEL_EXPORTER_OTLP_ENDPOINT" ,
175
- Value : "http ://collector:4318" ,
175
+ Value : "https ://collector:4318" ,
176
176
},
177
177
{
178
178
Name : "OTEL_EXPORTER_OTLP_CERTIFICATE" ,
0 commit comments