NetCaptureStream Custom Resource Definition
NetCaptureStream Custom Resource (CR) defines a traffic stream instance in the Cennso Data Mesh (CDM)-supported format. It is automatically created by the NetCap Provider based on the configuration specified in the NetCaptureJob CR. This resource describes the traffic capture criteria, such as interface or IMSI to capture traffic from, and the associated destination parameters for storing the captured data. It is then used to configure the NetCap Collector, FPP, and UPG pods accordingly.
Configuration example
This custom resource is created automatically by NetCap Provider, so you don't have to configure it manually.
Configuration parameters
These are all parameters used in the NetCaptureStream CR definition:
- NetCaptureStreamKind
- netcap.cennso.comGroup
- v1alpha1Version
- apiVersion:
- netcap.cennso.com/v1alpha1
- kind:
- NetCaptureStream
- listKind:
- NetCaptureStreamList
- plural:
- netcapturestreams
- singular:
- netcapturestream
- categories:
- [crossplane]
apiVersionstringrequiredConstant"netcap.cennso.com/v1alpha1"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"NetCaptureStream"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectNetCaptureStreamSpec defines the desired state of NetCaptureStream.forProviderobjectrequireddeletionPolicystringDeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223Opens in a new tab
Allowed values:"Orphan""Delete"managementPoliciesstring[]THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223Opens in a new tab and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.mdOpens in a new tab
providerConfigRefobjectProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.publishConnectionDetailsToobjectPublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.writeConnectionSecretToRefobjectWriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
statusobjectNetCaptureStreamStatus defines the observed state of NetCaptureStream.atProviderobjectconditionsobject[]Conditions of the resource.x-kubernetes-list-map-keysx-kubernetes-list-typeobservedGenerationintegerFormatint64ObservedGeneration is the latest metadata.generation which resulted in either a ready state, or stalled due to error it can not recover from without human intervention.