Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions app/operator/konnect/labelling.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,30 @@ name: service
{% endvalidation %}

At this point, tags should be visible in the [Gateway Manager](https://cloud.konghq.com/us/gateway-manager/) UI.

### `konghq.com/tags` annotation

Alternatively you can use the `konghq.com/tags` annotation to add tags to any {{site.konnect_product_name}} entity that supports tagging.

The value of this annotation is treated as comma-separated list of tags.

For example, to add tags to a `KongService` object using the `konghq.com/tags` annotation, you can apply the following YAML manifest:

```yaml
echo '
kind: KongService
apiVersion: configuration.konghq.com/v1alpha1
metadata:
name: service
namespace: default
annotations:
konghq.com/tags: "production,devops" # Arbitrary list of strings as comma-separated values
spec:
name: service
host: example.com
controlPlaneRef:
type: konnectNamespacedRef
konnectNamespacedRef:
name: gateway-control-plane # Reference to the KonnectGatewayControlPlane object
' | kubectl apply -f -
```
Loading