File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
pkg/controller/operators/olm/overrides/inject Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ package inject_test
3
3
import (
4
4
"testing"
5
5
6
- "github.com/operator-framework/operator-lifecycle-manager/pkg/controller/operators/olm/overrides/inject"
7
6
"github.com/stretchr/testify/assert"
8
7
corev1 "k8s.io/api/core/v1"
9
8
"k8s.io/apimachinery/pkg/api/resource"
9
+
10
+ "github.com/operator-framework/operator-lifecycle-manager/pkg/controller/operators/olm/overrides/inject"
10
11
)
11
12
12
13
var (
@@ -386,6 +387,10 @@ func TestInjectEnvIntoDeployment(t *testing.T) {
386
387
},
387
388
},
388
389
envVar : []corev1.EnvVar {
390
+ corev1.EnvVar {
391
+ Name : "extra" ,
392
+ Value : "extra_value" ,
393
+ },
389
394
corev1.EnvVar {
390
395
Name : "foo" ,
391
396
Value : "new_foo_value" ,
@@ -407,6 +412,10 @@ func TestInjectEnvIntoDeployment(t *testing.T) {
407
412
Name : "bar" ,
408
413
Value : "new_bar_value" ,
409
414
},
415
+ corev1.EnvVar {
416
+ Name : "extra" ,
417
+ Value : "extra_value" ,
418
+ },
410
419
},
411
420
},
412
421
},
You can’t perform that action at this time.
0 commit comments