Skip to content

Commit 84980b7

Browse files
authored
feat(docs): Reference docs added (#546)
* reference stuff * fixed link
1 parent e3b690e commit 84980b7

File tree

6 files changed

+50
-40
lines changed

6 files changed

+50
-40
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
= Command Line parameters
2+
3+
This operator accepts the following command line parameters:
4+
5+
== product-config
6+
7+
*Default value*: `/etc/stackable/nifi-operator/config-spec/properties.yaml`
8+
9+
*Required*: false
10+
11+
*Multiple values:* false
12+
13+
[source]
14+
----
15+
stackable-nifi-operator run --product-config /foo/bar/properties.yaml
16+
----
17+
18+
== watch-namespace
19+
20+
*Default value*: All namespaces
21+
22+
*Required*: false
23+
24+
*Multiple values:* false
25+
26+
The operator will **only** watch for resources in the provided namespace `test`:
27+
28+
[source]
29+
----
30+
stackable-nifi-operator run --watch-namespace test
31+
----
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
= CRD Reference
2+
3+
Find all CRD reference for the Stackable Operator for Apache NiFi at: {crd-docs-base-url}/nifi-operator/{crd-docs-version}.

docs/modules/nifi/pages/configuration.adoc renamed to docs/modules/nifi/pages/reference/environment-variables.adoc

+3-37
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,8 @@
1-
= Configuration
2-
3-
== Command Line Parameters
4-
5-
This operator accepts the following command line parameters:
6-
7-
=== product-config
8-
9-
*Default value*: `/etc/stackable/nifi-operator/config-spec/properties.yaml`
10-
11-
*Required*: false
12-
13-
*Multiple values:* false
14-
15-
[source]
16-
----
17-
stackable-nifi-operator run --product-config /foo/bar/properties.yaml
18-
----
19-
20-
=== watch-namespace
21-
22-
*Default value*: All namespaces
23-
24-
*Required*: false
25-
26-
*Multiple values:* false
27-
28-
The operator will **only** watch for resources in the provided namespace `test`:
29-
30-
[source]
31-
----
32-
stackable-nifi-operator run --watch-namespace test
33-
----
34-
35-
== Environment variables
1+
= Environment variables
362

373
This operator accepts the following environment variables:
384

39-
=== PRODUCT_CONFIG
5+
== PRODUCT_CONFIG
406

417
*Default value*: `/etc/stackable/nifi-operator/config-spec/properties.yaml`
428

@@ -62,7 +28,7 @@ docker run \
6228
docker.stackable.tech/stackable/nifi-operator:latest
6329
----
6430

65-
=== WATCH_NAMESPACE
31+
== WATCH_NAMESPACE
6632

6733
*Default value*: All namespaces
6834

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
= Reference
2+
3+
Consult the reference documentation section to find exhaustive information on:
4+
5+
* Descriptions and default values of all properties in the CRDs used by this operator in the xref:reference/crds.adoc[].
6+
* The xref:reference/commandline-parameters.adoc[] and xref:reference/environment-variables.adoc[] accepted by the operator.

docs/modules/nifi/pages/usage_guide/security.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
[#authentication-ldap]
5656
=== LDAP
5757

58-
NiFi supports xref:nightly@home:concepts:authentication.adoc[authentication] of users against an LDAP server. This requires setting up an xref:nightly@home:concepts:authentication.adoc#authenticationclass[AuthenticationClass] for the LDAP server.
58+
NiFi supports xref:home:concepts:authentication.adoc[authentication] of users against an LDAP server. This requires setting up an AuthenticationClass for the LDAP server.
5959
The AuthenticationClass is then referenced in the NifiCluster resource as follows:
6060

6161
[source,yaml]
@@ -72,7 +72,7 @@ spec:
7272

7373
<1> The reference to an AuthenticationClass called `ldap`
7474

75-
You can follow the xref:nightly@home:tutorials:authentication_with_openldap.adoc[] tutorial to learn how to set up an AuthenticationClass for an LDAP server, as well as consulting the xref:nightly@home:reference:authenticationclass.adoc[] reference.
75+
You can follow the xref:home:tutorials:authentication_with_openldap.adoc[] tutorial to learn how to set up an AuthenticationClass for an LDAP server, as well as consulting the {crd-docs}/authentication.stackable.tech/authenticationclass/v1alpha1/[AuthenticationClass reference {external-link-icon}^].
7676

7777
== Authorization
7878

docs/modules/nifi/partials/nav.adoc

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
* xref:nifi:getting_started/index.adoc[]
22
** xref:nifi:getting_started/installation.adoc[]
33
** xref:nifi:getting_started/first_steps.adoc[]
4-
* xref:nifi:configuration.adoc[]
54
* xref:nifi:usage_guide/index.adoc[]
65
** xref:nifi:usage_guide/listenerclass.adoc[]
76
** xref:nifi:usage_guide/zookeeper-connection.adoc[]
@@ -19,3 +18,8 @@
1918
*** xref:nifi:usage_guide/operations/pod-placement.adoc[]
2019
*** xref:nifi:usage_guide/operations/pod-disruptions.adoc[]
2120
*** xref:nifi:usage_guide/operations/graceful-shutdown.adoc[]
21+
* xref:nifi:reference/index.adoc[]
22+
** xref:nifi:reference/crds.adoc[]
23+
*** {crd-docs}/nifi.stackable.tech/nificluster/v1alpha1/[NiFiCluster {external-link-icon}^]
24+
** xref:nifi:reference/commandline-parameters.adoc[]
25+
** xref:nifi:reference/environment-variables.adoc[]

0 commit comments

Comments
 (0)