NetCaptureDestination Custom Resource Definition
NetCaptureDestination Custom Resource (CR) defines how the NetCap Sink receives PCAP data from NATS in the Cennso Data Mesh (CDM)-supported format. It also specifies how and where the captured PCAP files are stored — either locally on disk, or on a remmote S3 storage or SFTP server. This CR is automatically generated by NetCap Provider based on the configuration in the NetCaptureStorage CR.
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 NetCaptureDestination CR definition:
- NetCaptureDestinationKind
- netcap.cennso.comGroup
- v1alpha1Version
- apiVersion:
- netcap.cennso.com/v1alpha1
- kind:
- NetCaptureDestination
- listKind:
- NetCaptureDestinationList
- plural:
- netcapturedestinations
- singular:
- netcapturedestination
- 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"NetCaptureDestination"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.specobjectNetCaptureDestinationSpec defines the desired state of NetCaptureDestination.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.
statusobjectNetCaptureDestinationStatus defines the observed state of NetCaptureDestination.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.