Skip to content

Commit

Permalink
Fixed Suite Test
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Sa <[email protected]>
  • Loading branch information
yuriolisa committed Feb 27, 2024
1 parent 3e77e72 commit 8bd21d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ service:
Labels: map[string]string{
"app.kubernetes.io/instance": "test.test",
"app.kubernetes.io/managed-by": "opentelemetry-operator",
"app.kubernetes.io/name": "test-collector",
"app.kubernetes.io/name": "test-ingress",
"app.kubernetes.io/component": "opentelemetry-collector",
"app.kubernetes.io/part-of": "opentelemetry",
"app.kubernetes.io/version": "latest",
Expand Down
2 changes: 1 addition & 1 deletion internal/manifests/collector/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

func Ingress(params manifests.Params) (*networkingv1.Ingress, error) {
name := naming.Collector(params.OtelCol.Name)
name := naming.Ingress(params.OtelCol.Name)
labels := manifestutils.Labels(params.OtelCol.ObjectMeta, name, params.OtelCol.Spec.Image, ComponentOpenTelemetryCollector, params.Config.LabelsFilter())
if params.OtelCol.Spec.Ingress.Type != v1beta1.IngressTypeNginx {
return nil, nil
Expand Down

0 comments on commit 8bd21d5

Please sign in to comment.