mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 14:46:10 +02:00
fix(charts): add schema for provider.webhook.serviceMonitor (#5932)
add a test case for webhook serviceMonitor config Update changelog Fix linting errors
This commit is contained in:
parent
cb1911ca7f
commit
95363323df
@ -26,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Grant `networking.k8s.io/ingresses` and `gateway.solo.io/gateways` permissions when using `gloo-proxy` source. ([#5909](https://github.com/kubernetes-sigs/external-dns/pull/5909)) _@cucxabong_
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed the missing schema for `.provider.webhook.serviceMonitor` configs ([#5932](https://github.com/kubernetes-sigs/external-dns/pull/5932)) _@chrisbsmith_
|
||||
|
||||
## [v1.19.0] - 2025-09-08
|
||||
|
||||
### Added
|
||||
|
||||
@ -62,3 +62,12 @@ tests:
|
||||
readinessProbe: null
|
||||
asserts:
|
||||
- notFailedTemplate: {}
|
||||
|
||||
- it: should not fail when provider webhook serviceMonitor interval is not null
|
||||
set:
|
||||
provider:
|
||||
webhook:
|
||||
serviceMonitor:
|
||||
interval: 30s
|
||||
asserts:
|
||||
- notFailedTemplate: {}
|
||||
|
||||
@ -502,10 +502,16 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bearerTokenFile": {
|
||||
"type": "null"
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"interval": {
|
||||
"type": "null"
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metricRelabelings": {
|
||||
"type": "array"
|
||||
@ -514,10 +520,16 @@
|
||||
"type": "array"
|
||||
},
|
||||
"scheme": {
|
||||
"type": "null"
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scrapeTimeout": {
|
||||
"type": "null"
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"tlsConfig": {
|
||||
"type": "object"
|
||||
|
||||
@ -296,11 +296,11 @@ provider: # @schema type: [object, string]
|
||||
# -- Optional [Service Monitor](https://prometheus-operator.dev/docs/operator/design/#servicemonitor) configuration for the `webhook` container.
|
||||
# @default -- See _values.yaml_
|
||||
serviceMonitor:
|
||||
interval:
|
||||
scheme:
|
||||
interval: # @schema type:[string, null]; default: null
|
||||
scheme: # @schema type:[string, null]; default: null
|
||||
tlsConfig: {}
|
||||
bearerTokenFile:
|
||||
scrapeTimeout:
|
||||
bearerTokenFile: # @schema type:[string, null]; default: null
|
||||
scrapeTimeout: # @schema type:[string, null]; default: null
|
||||
metricRelabelings: []
|
||||
relabelings: []
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user