Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate API reference asciidoc #412

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

jotak
Copy link
Member

@jotak jotak commented Sep 11, 2023

Description

cc @skrthomas

Dependencies

n/a

Checklist

If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
    • If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
    • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
    • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
    • Standard QE validation, with pre-merge tests unless stated otherwise.
    • Regression tests only (e.g. refactoring with no user-facing change).
    • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.06% 🎉

Comparison is base (623a3b2) 55.70% compared to head (b1c886d) 55.77%.
Report is 2 commits behind head on main.

❗ Current head b1c886d differs from pull request most recent head f1ffd94. Consider uploading reports for the commit f1ffd94 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #412      +/-   ##
==========================================
+ Coverage   55.70%   55.77%   +0.06%     
==========================================
  Files          46       46              
  Lines        5960     5960              
==========================================
+ Hits         3320     3324       +4     
+ Misses       2410     2408       -2     
+ Partials      230      228       -2     
Flag Coverage Δ
unittests 55.77% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@skrthomas skrthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments :)


| `namespace`
| `string`
| Namespace of the config map or secret containing the file. If omitted, assumes same namespace as where NetObserv is deployed. If the namespace is different, the config map or the secret will be copied so that it can be mounted as required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Namespace of the config map or secret containing the file. If omitted, assumes same namespace as where NetObserv is deployed. If the namespace is different, the config map or the secret will be copied so that it can be mounted as required.
| Namespace of the config map or secret containing the file. If omitted, the default is to the same namespace as where Network Observability Operator is deployed. If the namespace is different, the config map or the secret is copied so that it can be mounted as required.


| `namespace`
| `string`
| Namespace of the config map or secret containing the file. If omitted, assumes same namespace as where NetObserv is deployed. If the namespace is different, the config map or the secret will be copied so that it can be mounted as required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as previous comment


| `namespace`
| `string`
| Namespace of the config map or secret containing the file. If omitted, assumes same namespace as where NetObserv is deployed. If the namespace is different, the config map or the secret will be copied so that it can be mounted as required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same namespace comment as previous


| `namespace`
| `string`
| Namespace of the config map or secret containing the file. If omitted, assumes same namespace as where NetObserv is deployed. If the namespace is different, the config map or the secret will be copied so that it can be mounted as required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same namespace comment as previous

@@ -901,7 +1112,7 @@ Type::
| `authToken` describes the way to get a token to authenticate to Loki. +
- `DISABLED` will not send any token with the request. +
- `FORWARD` will forward the user token for authorization. +
- `HOST` - _deprecated (*)_ - will use the local pod service account to authenticate to Loki. +
- `HOST` [deprecated (*)] - will use the local pod service account to authenticate to Loki. +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `HOST` [deprecated (*)] - will use the local pod service account to authenticate to Loki. +
- `HOST` [deprecated (*)] - uses the local pod service account to authenticate to Loki. +

@@ -1383,10 +1602,18 @@ Type::
|===
| Property | Type | Description

| `insecureSkipVerify`
| `boolean`
| insecureSkipVerify allows skipping client-side verification of the provided certificate If set to true, ProvidedCaFile field will be ignored
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| insecureSkipVerify allows skipping client-side verification of the provided certificate If set to true, ProvidedCaFile field will be ignored
| insecureSkipVerify allows skipping client-side verification of the provided certificate. If set to true, the `ProvidedCaFile` field is ignored.

| `provided`
| `object`
| TLS configuration when `type` is set to `PROVIDED`.

| `providedCaFile`
| `object`
| Reference to the CA file will be ignored
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Reference to the CA file will be ignored
| Reference to the CA file is ignored.

Description::
+
--
Reference to the CA file will be ignored
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Reference to the CA file will be ignored
Reference to the CA file is ignored.


| `namespace`
| `string`
| Namespace of the config map or secret containing the file. If omitted, assumes same namespace as where NetObserv is deployed. If the namespace is different, the config map or the secret will be copied so that it can be mounted as required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same namespace comment as previous.

@jotak
Copy link
Member Author

jotak commented Sep 12, 2023

@skrthomas : two commits added with your feedback - I also reviewed & changed other places where we were still using future tense
And also we didn't write "Network Observability" instead of "NetObserv" in that doc, until now: I've added a command to automatically do that translation when generating asciidoc

Copy link
Contributor

@skrthomas skrthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@jotak
Copy link
Member Author

jotak commented Sep 12, 2023

thanks!
/approve

@openshift-ci
Copy link

openshift-ci bot commented Sep 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jotak

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 0a0f617 into netobserv:main Sep 12, 2023
7 checks passed
@@ -136,13 +131,13 @@ Required::

| `ipfix`
| `object`
| `ipfix` - _deprecated (*)_ - describes the settings related to the IPFIX-based flow reporter when `spec.agent.type` is set to `IPFIX`.
| `ipfix` [deprecated (*)] - describes the settings related to the IPFIX-based flow reporter when `spec.agent.type` is set to `IPFIX`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jotak I think this option is no longer deprecated? Since we are supporting in the 1.4 release? I noted this in my PR too, but I think this needs updating. Apologies for missing it before.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be carefull, the agent.type IPFIX is still deprecated since it's ingestion from OVN flows.

However the one we are supporting on 1.4 is IPFIX export.type:
https://issues.redhat.com/browse/NETOBSERV-962

The unsupported mention should me removed there:

IPFIX configuration, such as the IP address and port to send enriched IPFIX flows to. Unsupported (*).

https://github.com/netobserv/network-observability-operator/blob/release-1.4/docs/flowcollector-flows-netobserv-io-v1beta1.adoc#specexporters

https://github.com/netobserv/network-observability-operator/blob/release-1.4/api/v1beta1/flowcollector_types.go#L819-L823

Copy link
Contributor

@skrthomas skrthomas Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohhhh okay, thank you for clarifying that it isn't IPFIX type generally supported now, its specifically the export.type. I didn't realize the distinction.

@jotak jotak deleted the update-doc branch September 28, 2023 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants