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
-[`otel_span_attr`](https://nginx.org/en/docs/ngx_otel_module.html#otel_span_attr): set global span attributes that will be merged with the span attributes set in the [Observability extension](nginx-extensions.md#gateway-settings).
31
+
-[`otel_span_attr`](https://nginx.org/en/docs/ngx_otel_module.html#otel_span_attr): set global span attributes that will be merged with the span attributes set in the [Observability extension](nginx-extensions.md#observability).
32
32
33
33
In the future, this config will be extended to support other directives, such as those defined in the [NGINX Extensions Proposal](nginx-extensions.md#gateway-settings).
34
34
35
35
## API, Customer Driven Interfaces, and User Experience
36
36
37
37
The `GatewaySettings` API is a CRD that is a part of the `gateway.nginx.org` Group. It will be referenced in the `parametersRef` field of a GatewayClass. It will live at the cluster scope.
38
38
39
+
This is a dynamic configuration that can be changed by a user at any time, and NGF will propagate those changes to NGINX. This is something we need to clearly document in our public documentation about this feature, so that users know that all Gateways under the Class can be updated by these settings.
40
+
39
41
For example, a `GatewaySettings` named `gw-settings` would be referenced as follows:
40
42
41
43
```yaml
@@ -75,7 +77,8 @@ type GatewaySettingsSpec struct {
According to the [Policy and Metaresources GEP](https://gateway-api.sigs.k8s.io/geps/gep-713/), the `GatewaySettings` CRD must include a `status` stanza with a slice of Conditions.
124
-
125
126
The `Accepted` Condition must be populated on the `GatewaySettings` CRD using the reasons defined in the [PolicyCondition API](https://github.com/kubernetes-sigs/gateway-api/blob/main/apis/v1alpha2/policy_types.go). If these reasons are not sufficient, we can add implementation-specific reasons.
126
127
127
128
#### GatewayClass Status
@@ -133,7 +134,7 @@ Below is an example of what this Condition may look like:
133
134
134
135
```yaml
135
136
Conditions:
136
-
Type: gateway.nginx.org/ResolvedRefs
137
+
Type: ResolvedRefs
137
138
Message: All references are resolved
138
139
Observed Generation: 1
139
140
Reason: ResolvedRefs
@@ -153,7 +154,7 @@ Some additional rules:
153
154
## Testing
154
155
155
156
- Unit tests
156
-
- Functional tests that verify the attachment of the CRD to the GatewayClass, and that NGINX behaves properly based on the configuration.
157
+
- Functional tests that verify the attachment of the CRD to the GatewayClass, and that NGINX behaves properly based on the configuration. This includes verifying tracing works as expected.
0 commit comments