Skip to content

Commit

Permalink
required + update bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Sep 20, 2023
1 parent a64bc49 commit 2d44792
Show file tree
Hide file tree
Showing 2 changed files with 369 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/v1beta1/flowcollector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,24 @@ type FlowCollectorSpec struct {

// Namespace where NetObserv pods are deployed.
// +kubebuilder:default:=netobserv
// +kubebuilder:validation:Required
Namespace string `json:"namespace,omitempty"`

// Agent configuration for flows extraction.
// +kubebuilder:validation:Required
Agent FlowCollectorAgent `json:"agent,omitempty"`

// `processor` defines the settings of the component that receives the flows from the agent,
// enriches them, generates metrics, and forwards them to the Loki persistence layer and/or any available exporter.
// +kubebuilder:validation:Required
Processor FlowCollectorFLP `json:"processor,omitempty"`

// Loki, the flow store, client settings.
// +kubebuilder:validation:Required
Loki FlowCollectorLoki `json:"loki,omitempty"`

// `consolePlugin` defines the settings related to the OpenShift Console plugin, when available.
// +kubebuilder:validation:Required
ConsolePlugin FlowCollectorConsolePlugin `json:"consolePlugin,omitempty"`

// `deploymentModel` defines the desired type of deployment for flow processing. Possible values are:<br>
Expand All @@ -70,6 +75,7 @@ type FlowCollectorSpec struct {
// +unionDiscriminator
// +kubebuilder:validation:Enum:="DIRECT";"KAFKA"
// +kubebuilder:default:=DIRECT
// +kubebuilder:validation:Required
DeploymentModel string `json:"deploymentModel,omitempty"`

// Kafka configuration, allowing to use Kafka as a broker as part of the flow collection pipeline. Available when the `spec.deploymentModel` is `KAFKA`.
Expand Down
Loading

0 comments on commit 2d44792

Please sign in to comment.