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
The specs of `GlueOperator` are almost identical to `Glue`, it just adds one additional attribute **`parent`**,
88
-
which has the following sub-attributes:
89
-
-**`apiVersion`** and **`kind`** - specifies the resources to reconciler according to the spec.
90
-
Targets are usually custom resources but not necessarily, it also works with built-in Kubernetes
91
-
resources.
92
-
-**`labelSelector`** - an optional label selector for the target resources
87
+
The specs of `GlueOperator` are almost identical to `Glue`, it just adds some additional attributes:
88
+
89
+
-**`parent`** - specifies the resources handled by the operator. Targets are usually custom resources but not necessarily,
90
+
it also works with built-in Kubernetes resources. With the following sub-attributes:
91
+
-**`apiVersion`** and **`kind`** - of the target custom resources.
92
+
-**`labelSelector`** - optional label selector for the target resources.
93
+
-**`clusterScoped`** - optional boolean value, if the parent resource is cluster scoped. Default is `false`.
94
+
-**`glueMetadata`** - optionally, you can customize the `Glue` resource created for each parent resource.
95
+
This is especially important when the parent is a cluster scoped resource - in that case it is mandatory to set.
96
+
Using this you can specify the **`name`** and **`namespace`** of the created `Glue`.
97
+
See usage on the sample [secret-copy-operator](https://github.com/csviri/kubernetes-glue-operator/blob/main/src/test/resources/sample/secretcopy/secret-copy.operator.yaml#L10-L12).
93
98
94
99
See minimal `GlueOperator`[here](https://github.com/csviri/kubernetes-glue-operator/blob/main/src/test/resources/glueoperator/SimpleGlueOperator.yaml).
0 commit comments