Skip to content

Commit 582bdd9

Browse files
remove useStreaming field
1 parent 4da9971 commit 582bdd9

File tree

13 files changed

+6
-37
lines changed

13 files changed

+6
-37
lines changed

api/flowcollector/v1beta2/flowcollector_types.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,6 @@ type LokiGRPCConfig struct {
904904
//+kubebuilder:default:="5s"
905905
// `keepAliveTimeout` is the gRPC keep-alive timeout.
906906
KeepAliveTimeout *metav1.Duration `json:"keepAliveTimeout,omitempty"`
907-
908-
//+kubebuilder:default:=false
909-
// `useStreaming` enables streaming mode for real-time log pushing when using gRPC.
910-
UseStreaming bool `json:"useStreaming,omitempty"`
911907
}
912908

913909
// `FlowCollectorLoki` defines the desired state for FlowCollector's Loki client.

bundle/manifests/flows.netobserv.io_flowcollectors.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3822,11 +3822,6 @@ spec:
38223822
maximum: 67108864
38233823
minimum: 1024
38243824
type: integer
3825-
useStreaming:
3826-
default: false
3827-
description: '`useStreaming` enables streaming mode for real-time
3828-
log pushing when using gRPC.'
3829-
type: boolean
38303825
type: object
38313826
lokiStack:
38323827
description: |-

bundle/manifests/netobserv-operator.clusterserviceversion.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ spec:
492492
path: loki.grpcConfig.maxRecvMsgSize
493493
- displayName: Max send msg size
494494
path: loki.grpcConfig.maxSendMsgSize
495-
- displayName: Use streaming
496-
path: loki.grpcConfig.useStreaming
497495
- displayName: Read timeout
498496
path: loki.readTimeout
499497
- path: loki.advanced

config/crd/bases/flows.netobserv.io_flowcollectors.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3530,10 +3530,6 @@ spec:
35303530
maximum: 67108864
35313531
minimum: 1024
35323532
type: integer
3533-
useStreaming:
3534-
default: false
3535-
description: '`useStreaming` enables streaming mode for real-time log pushing when using gRPC.'
3536-
type: boolean
35373533
type: object
35383534
lokiStack:
35393535
description: |-

config/csv/bases/netobserv-operator.clusterserviceversion.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ spec:
228228
path: loki.grpcConfig.maxRecvMsgSize
229229
- displayName: Max send msg size
230230
path: loki.grpcConfig.maxSendMsgSize
231-
- displayName: Use streaming
232-
path: loki.grpcConfig.useStreaming
233231
- displayName: Read timeout
234232
path: loki.readTimeout
235233
- path: loki.advanced

config/samples/flows_v1beta2_flowcollector.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ spec:
150150
enable: true
151151
# Change mode to "LokiStack" to use with the loki operator
152152
mode: Monolithic
153+
clientType: http
153154
monolithic:
154155
url: 'http://loki.netobserv.svc:3100/'
155156
tenantID: netobserv

docs/FlowCollector.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7472,15 +7472,6 @@ This is only used when `clientType` is set to `grpc`.
74727472
<i>Maximum</i>: 6.7108864e+07<br/>
74737473
</td>
74747474
<td>false</td>
7475-
</tr><tr>
7476-
<td><b>useStreaming</b></td>
7477-
<td>boolean</td>
7478-
<td>
7479-
`useStreaming` enables streaming mode for real-time log pushing when using gRPC.<br/>
7480-
<br/>
7481-
<i>Default</i>: false<br/>
7482-
</td>
7483-
<td>false</td>
74847475
</tr></tbody>
74857476
</table>
74867477

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ require (
119119
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
120120
)
121121

122-
replace github.com/netobserv/flowlogs-pipeline => github.com/leandroberetta/flowlogs-pipeline v0.0.0-20250910204200-598934e552bf
122+
replace github.com/netobserv/flowlogs-pipeline => github.com/leandroberetta/flowlogs-pipeline v0.0.0-20250923005817-c2a742ec7d05

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
9191
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
9292
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
9393
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
94-
github.com/leandroberetta/flowlogs-pipeline v0.0.0-20250910204200-598934e552bf h1:PmzTpv8FVbLNsggl7lg+cfBQ0UZn2hmYJNBzhZGOj7I=
95-
github.com/leandroberetta/flowlogs-pipeline v0.0.0-20250910204200-598934e552bf/go.mod h1:lZELP2Lt8KxNeqP8gPbmLWHPWI4EljIIwYbUEJTkHz4=
94+
github.com/leandroberetta/flowlogs-pipeline v0.0.0-20250923005817-c2a742ec7d05 h1:1+dMb4ZGFF8MBmIjpthaUGRoFeialPBh45pHbntfkY8=
95+
github.com/leandroberetta/flowlogs-pipeline v0.0.0-20250923005817-c2a742ec7d05/go.mod h1:yFG40dKhX4jRkKngzi03U/ida4MXKoKtoumSROyksw0=
9696
github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4=
9797
github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU=
9898
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=

helm/crds/flows.netobserv.io_flowcollectors.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3534,10 +3534,6 @@ spec:
35343534
maximum: 67108864
35353535
minimum: 1024
35363536
type: integer
3537-
useStreaming:
3538-
default: false
3539-
description: '`useStreaming` enables streaming mode for real-time log pushing when using gRPC.'
3540-
type: boolean
35413537
type: object
35423538
lokiStack:
35433539
description: |-

0 commit comments

Comments
 (0)