You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The `resources` section is a list of resources to be reconciled. It has several
20
20
-**`name`** - is a mandatory attribute. The resource is referenced by this name from other places, typically other resource templates and `JSCondition`.
21
21
If it is used in a `JSCondition` the `name` must be a valid JavaScript variable name.
22
22
-**`resource`** - is the desired state of the resource applied by default using Server Side Apply. The resource is templated using
23
-
[Qute Templating Engine](https://quarkus.io/guides/qute-reference), other resources can be referenced from the templates, see below.
23
+
[qute templating engine](https://quarkus.io/guides/qute-reference), other resources can be referenced from the templates, see below.
24
24
There is a restriction, that the managed resource is namespaced, and the namespace is always the same as the namespace of the `Glue`
25
25
(and/or parent for `GlueOperator`), so the `namespace` field in resource **metadata should not be specified**.
26
26
-**`dependsOn`** - is a list of names of other managed resources (not related resources). The resource is not reconciled until all the resources
@@ -32,18 +32,20 @@ The `resources` section is a list of resources to be reconciled. It has several
32
32
-**`readyPostCondition`** - condition to check if the resource is considered to be ready. If a resource is ready all the resources, which depend on it
33
33
can proceed in reconciliation.
34
34
35
-
#### Reconciliation
35
+
###Related resources
36
36
37
+
### Referencing other resources
37
38
39
+
### Built-in conditions
38
40
39
-
#### Referencing Other Resources
41
+
###Reconciliation notes
40
42
41
-
#### Conditions
42
-
43
-
44
-
### Related Resources
43
+
The reconciliation is triggered either on a change of the `Glue` or any managed or related resources.
45
44
45
+
On every reconciliation, each managed resource is reconciled, and if a resource is updated, it is added to a cache, so it is available for templating
46
+
for a resource that depends on it.
46
47
48
+
The `DependentResource` implementation of JOSDK makes all kinds of optimizations on the reconciliation which are utilized (or will be also here).
0 commit comments