Skip to content

Commit

Permalink
more pr changes - comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartolini committed Sep 10, 2024
1 parent 73e16a2 commit 7c86557
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions api/v1/intrusiondetection_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ type DPIDaemonsetTemplateSpec struct {
type DPIDaemonsetInitContainer struct {
// Container name
Name string `json:"name"`

// Image name for the init container
Image string `json:"image"`

// Resources allows customization of limits and requests for compute resources such as cpu and memory.
// If specified, this overrides the named SnortInitContainer Daemonset init container's resources.
// If omitted, the SnortInitContainer Deployment will use its default value for this init container's resources.
// If specified, this overrides the init container's resources.
// If omitted, the default values will be used for the init container's resources.
// +optional
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/crds/operator/operator.tigera.io_intrusiondetections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ spec:
resources:
description: |-
Resources allows customization of limits and requests for compute resources such as cpu and memory.
If specified, this overrides the named SnortInitContainer Daemonset init container's resources.
If omitted, the SnortInitContainer Deployment will use its default value for this init container's resources.
If specified, this overrides the init container's resources.
If omitted, the default values will be used for the init container's resources.
properties:
claims:
description: |-
Expand Down

0 comments on commit 7c86557

Please sign in to comment.