Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Hang Yan <yhang@vmware.com>
  • Loading branch information
hangyan committed Nov 1, 2024
1 parent 333f9b8 commit 09c05bb
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 31 deletions.
6 changes: 2 additions & 4 deletions build/charts/antrea/crds/packetcapture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 2 additions & 4 deletions build/yamls/antrea-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3064,11 +3064,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 2 additions & 4 deletions build/yamls/antrea-crds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3037,11 +3037,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 2 additions & 4 deletions build/yamls/antrea-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3064,11 +3064,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 2 additions & 4 deletions build/yamls/antrea-gke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3064,11 +3064,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 2 additions & 4 deletions build/yamls/antrea-ipsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3064,11 +3064,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 2 additions & 4 deletions build/yamls/antrea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3064,11 +3064,9 @@ spec:
status:
type: object
properties:
startTime:
type: string
numCapturedPackets:
numberCaptured:
type: integer
packetsFilePath:
filePath:
type: string
conditions:
type: array
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/crd/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ type PacketCaptureStatus struct {
// NumberCaptured records how many packets have been captured. If it reaches the target number, the capture
// can be considered as finished.
NumberCaptured int32 `json:"numberCaptured"`
// FilePath is the file path where the captured packets are stored. The format is: "<antrea-agent-pod-name>:<path>".
// If `.spec.FileServer` is present, this file will also be uploaded to the target location. This file
// will be removed after the PacketCapture CR is deleted.
// FilePath specifies the location where captured packets are stored. It can either be a URL to download the pcap file (if "Spec.FileServer" is specified)
// or a local file path on the antrea-agent Pod where the packet was captured, formatted as : <antrea-agent-pod-name>:<path>.
// When using a local file path, the file will be automatically removed after the PacketCapture resource is deleted.
FilePath string `json:"filePath"`
// Condition represents the latest available observations of the PacketCapture's current state.
Conditions []PacketCaptureCondition `json:"conditions"`
Expand Down

0 comments on commit 09c05bb

Please sign in to comment.