-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix secret creation when using self provisioned elasticsearch instances #1288
Fix secret creation when using self provisioned elasticsearch instances #1288
Conversation
Signed-off-by: Kevin Earls <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1288 +/- ##
==========================================
- Coverage 87.32% 87.31% -0.01%
==========================================
Files 89 89
Lines 4947 4952 +5
==========================================
+ Hits 4320 4324 +4
- Misses 464 465 +1
Partials 163 163
Continue to review full report at Codecov.
|
Signed-off-by: Kevin Earls <[email protected]>
Signed-off-by: Kevin Earls <[email protected]>
@@ -4,6 +4,9 @@ import ( | |||
"context" | |||
"testing" | |||
|
|||
corev1 "k8s.io/api/core/v1" | |||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import order is strange.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpkrohling isn't make fmt supposed to fix this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's complicated :-)
test/e2e/multiple_instances_test.go
Outdated
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
type MulitpleInstanceTestSuite struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type MulitpleInstanceTestSuite struct { | |
type MultipleInstanceTestSuite struct { |
test/e2e/multiple_instances_test.go
Outdated
secondContext, err := createNewTestContext() | ||
defer secondContext.Cleanup() | ||
secondNamespace := secondContext.GetID() | ||
secondjaegerInstance := getJaegerSelfProvSimpleProd(jaegerInstanceName, secondNamespace, 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
secondjaegerInstance := getJaegerSelfProvSimpleProd(jaegerInstanceName, secondNamespace, 1) | |
secondJaegerInstance := getJaegerSelfProvSimpleProd(jaegerInstanceName, secondNamespace, 1) |
test/e2e/multiple_instances_test.go
Outdated
if secondContext != nil { | ||
secondContext.Cleanup() | ||
} | ||
require.FailNow(t, "Failed in prepare with: "+err.Error()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
require.FailNow(t, "Failed in prepare with: "+err.Error()) | |
require.FailNow(t, "Failed in prepare with: %v", err) |
test/e2e/utils.go
Outdated
return exampleJaeger | ||
} | ||
|
||
func createEsSelfProvDeployment(jaegerInstance *v1.Jaeger, jaegerInstanceName, jaegerNamespace string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func createEsSelfProvDeployment(jaegerInstance *v1.Jaeger, jaegerInstanceName, jaegerNamespace string) { | |
func createESSelfProvDeployment(jaegerInstance *v1.Jaeger, jaegerInstanceName, jaegerNamespace string) { |
Signed-off-by: Kevin Earls <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Kevin Earls [email protected]