Skip to content

Commit bc2cccb

Browse files
committed
add comment for openapi description on the flag
1 parent 39e5683 commit bc2cccb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pkg/apis/projectcalico/v3/felixconfig.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ type FelixConfigurationSpec struct {
230230
PrometheusGoMetricsEnabled *bool `json:"prometheusGoMetricsEnabled,omitempty"`
231231
// PrometheusProcessMetricsEnabled disables process metrics collection, which the Prometheus client does by default, when
232232
// set to false. This reduces the number of metrics reported, reducing Prometheus load. [Default: true]
233-
PrometheusProcessMetricsEnabled *bool `json:"prometheusProcessMetricsEnabled,omitempty"`
233+
PrometheusProcessMetricsEnabled *bool `json:"prometheusProcessMetricsEnabled,omitempty"`
234+
// PrometheusWireGuardMetricsEnabled disables wireguard metrics collection, which the Prometheus client does by default, when
235+
// set to false. This reduces the number of metrics reported, reducing Prometheus load. [Default: true]
234236
PrometheusWireGuardMetricsEnabled *bool `json:"prometheusWireGuardMetricsEnabled,omitempty"`
235237

236238
// FailsafeInboundHostPorts is a list of UDP/TCP ports and CIDRs that Felix will allow incoming traffic to host endpoints

pkg/openapi/openapi_generated.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)