diff --git a/pkg/og/flameql/flameql.go b/pkg/og/flameql/flameql.go index bca663025e..c0c5b04ff7 100644 --- a/pkg/og/flameql/flameql.go +++ b/pkg/og/flameql/flameql.go @@ -101,7 +101,7 @@ func IsTagKeyRuneAllowed(r rune) bool { } func IsAppNameRuneAllowed(r rune) bool { - return r == '-' || r == '.' || IsTagKeyRuneAllowed(r) + return r == '-' || r == '.' || r == '/' || IsTagKeyRuneAllowed(r) } func IsTagKeyReserved(k string) bool { diff --git a/pkg/og/flameql/flameql_test.go b/pkg/og/flameql/flameql_test.go index f6baea64e1..5caef67ef1 100644 --- a/pkg/og/flameql/flameql_test.go +++ b/pkg/og/flameql/flameql_test.go @@ -70,6 +70,7 @@ var _ = Describe("ValidateAppName", func() { testCases := []testCase{ {"foo.BAR-1.2_baz_qux", nil}, + {"namespace/service", nil}, {"", ErrAppNameIsRequired}, {"#", ErrInvalidAppName},