Skip to content

Commit bd7385c

Browse files
NomadXDLakshanSS
authored andcommitted
docs: update kong API module docs for Kong Konnect
Signed-off-by: Lahiru De Silva <lahirude@wso2.com>
1 parent 649ec18 commit bd7385c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gateway-kong/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ EOF
299299
300300
### Step 7: Allow the Kong Trait on ComponentTypes
301301
302-
To use the `kong-api-management` trait with a ComponentType, add it to the ComponentType's `allowedTraits`. For example, to allow it on the built-in `service` ComponentType:
302+
To use the `kong-api-management` trait with a ComponentType or ClusterComponentType, add it to the resource's `allowedTraits`. For example, to allow it on the built-in `service` ClusterComponentType:
303303
304304
```bash
305305
kubectl patch clustercomponenttype service --type=json \
306306
-p '[{"op":"add","path":"/spec/allowedTraits/-","value":{"kind":"ClusterTrait","name":"kong-api-management"}}]'
307307
```
308308
309-
Repeat for any other ComponentTypes that should support Kong API management plugins.
309+
Repeat for any other ComponentTypes or ClusterComponentTypes that should support Kong API management plugins.
310310
311311
### Step 8: Deploy and Invoke the Greeter Service
312312

0 commit comments

Comments
 (0)