Skip to content

Commit 9ca1f6f

Browse files
authored
(DOCSP-39474): Added projectRef to Stream Processing examples. (#80)
* (DOCSP-39474): Added projectRef to Stream Processing examples. * (DOCSP-39474): Incorporated Serguisz's feedback.
1 parent 527fe01 commit 9ca1f6f

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

source/ak8so-stream-processing.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,15 @@ connections, do the following steps:
8080
apiVersion: atlas.mongodb.com/v1
8181
kind: AtlasStreamInstance
8282
metadata:
83-
name: my-stream-instance
83+
name: my-stream-instance
8484
spec:
8585
name: my-stream-instance
8686
clusterConfig:
8787
provider: AWS
8888
region: VIRGINIA_USA
8989
tier: SP30
90+
projectRef:
91+
name: my-project
9092
EOF
9193

9294
To learn more about the available parameters, see the
@@ -182,6 +184,8 @@ connections, do the following steps:
182184
provider: AWS
183185
region: VIRGINIA_USA
184186
tier: SP30
187+
projectRef:
188+
name: my-project
185189
connectionRegistry:
186190
- name: ref-my-connection-1
187191
namespace: my-namespace1

source/atlasstreaminstance-custom-resource.txt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ see :ref:`ak8so-stream-processing`.
3636
provider: AWS
3737
region: VIRGINIA_USA
3838
tier: SP30
39+
projectRef:
40+
name: my-project
3941
connectionRegistry:
4042
- name: ref-my-connection-1
4143
namespace: my-namespace1
4244
- name: ref-my-connection-2
4345
namespace: my-namespace2
4446
- name: ref-my-connection-3
4547
namespace: my-namespace1
46-
projectRef:
47-
name: my-project
4848

4949
.. include:: /includes/fact-ak8so-atlas-sp-provider-region.rst
5050

@@ -128,3 +128,22 @@ This section describes the ``AtlasStreamcInstance`` parameters.
128128
Namespace of the opaque |k8s-secret| that contains your stream
129129
processing connection. You must include this parameter for each
130130
connection in the Connection Registry.
131+
132+
``spec.projectRef.name``
133+
*Type:** string
134+
135+
*Required*
136+
137+
Name of the project to which the stream processing instance belongs.
138+
You must specify an existing :ref:`atlasproject-custom-resource`.
139+
140+
``spec.projectRef.namespace``
141+
*Type:** string
142+
143+
*Conditional*
144+
145+
Namespace in which the :ref:`atlasproject-custom-resource` specified
146+
in :ref:`spec.projectRef.name <fdi-setting-spec.projectRef.name>`
147+
exists. If the :ref:`atlasproject-custom-resource` belongs to a
148+
different namespace than the stream processing instance, you must
149+
specify this setting.

0 commit comments

Comments
 (0)