For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

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]
Schema
  • 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.
  • metadataobjectrequired
    Standard object metadata. More information: ObjectMetaOpens in a new tab.
  • specobject
    NetCaptureStreamSpec defines the desired state of NetCaptureStream.
    • forProviderobjectrequired
    • deletionPolicystring

      DeletionPolicy 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

    • providerConfigRefobject
      ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
    • publishConnectionDetailsToobject
      PublishConnectionDetailsTo 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.
    • writeConnectionSecretToRefobject
      WriteConnectionSecretToReference 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.
  • statusobject
    NetCaptureStreamStatus defines the observed state of NetCaptureStream.
    • atProviderobject
    • conditionsobject[]
      Conditions of the resource.
      x-kubernetes-list-map-keysx-kubernetes-list-type
    • observedGenerationintegerFormatint64
      ObservedGeneration 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.