Skip to content

Commit b106ccf

Browse files
authored
Merge branch 'main' into fix/ai-gateway
2 parents e112f98 + d7efbe3 commit b106ccf

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

app/_includes/how-tos/validations/request-check/snippet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
```bash
1010
{% if include.capture -%}
1111
{{include.capture}}=$({% endif %}{% if include.sleep %}sleep {{include.sleep}} && {% endif %}{% if count > 1%}for _ in {1..{{count}}}; do
12-
{% endif %}curl {% if include.insecure %}-k {% endif %}{% if include.display_headers %}-i {% endif %}{% if include.method %}-X {{include.method}} {% endif %}{% if include.mtls%}-k --key key.pem --cert cert.pem {% endif %}"{% if is_https %}https://{% endif %}{{ include.url }}"{% if include.headers %} \{%- endif -%}{% for header in include.headers %}
12+
{% endif %}curl {% if include.insecure %}-k {% endif %}{% if include.display_headers %}-i {% endif %}{% if include.method %}-X {{include.method}} {% endif %}{% if include.mtls%}-k --key key.pem --cert cert.pem {% endif %}"{% if is_https %}https://{% endif %}{{ include.url }}" \
13+
--no-progress-meter --fail-with-body {% if include.headers %} \{%- endif -%}{% for header in include.headers %}
1314
-H "{{header}}" {%- unless forloop.last -%} \{% endunless %}{%- endfor %}{% if include.user %} \
1415
-u {{include.user}}{%- endif %}{% if include.cookie_jar %} \
1516
--cookie-jar {{include.cookie_jar}}{%- endif %}{% if include.cookie %} \

app/operator/konnect/labelling.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,30 @@ name: service
7979
{% endvalidation %}
8080
8181
At this point, tags should be visible in the [Gateway Manager](https://cloud.konghq.com/us/gateway-manager/) UI.
82+
83+
### `konghq.com/tags` annotation
84+
85+
Alternatively you can use the `konghq.com/tags` annotation to add tags to any {{site.konnect_product_name}} entity that supports tagging.
86+
87+
The value of this annotation is treated as comma-separated list of tags.
88+
89+
For example, to add tags to a `KongService` object using the `konghq.com/tags` annotation, you can apply the following YAML manifest:
90+
91+
```yaml
92+
echo '
93+
kind: KongService
94+
apiVersion: configuration.konghq.com/v1alpha1
95+
metadata:
96+
name: service
97+
namespace: default
98+
annotations:
99+
konghq.com/tags: "production,devops" # Arbitrary list of strings as comma-separated values
100+
spec:
101+
name: service
102+
host: example.com
103+
controlPlaneRef:
104+
type: konnectNamespacedRef
105+
konnectNamespacedRef:
106+
name: gateway-control-plane # Reference to the KonnectGatewayControlPlane object
107+
' | kubectl apply -f -
108+
```

0 commit comments

Comments
 (0)