Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions charts/external-dns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Add option to set `annotationPrefix` ([#5889](https://github.com/kubernetes-sigs/external-dns/pull/5889)) _@lexfrei_

### 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
Expand Down
9 changes: 9 additions & 0 deletions charts/external-dns/tests/json-schema_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
20 changes: 16 additions & 4 deletions charts/external-dns/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,16 @@
"type": "object",
"properties": {
"bearerTokenFile": {
"type": "null"
"type": [
"string",
"null"
]
},
"interval": {
"type": "null"
"type": [
"string",
"null"
]
},
"metricRelabelings": {
"type": "array"
Expand All @@ -514,10 +520,16 @@
"type": "array"
},
"scheme": {
"type": "null"
"type": [
"string",
"null"
]
},
"scrapeTimeout": {
"type": "null"
"type": [
"string",
"null"
]
},
"tlsConfig": {
"type": "object"
Expand Down
8 changes: 4 additions & 4 deletions charts/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []

Expand Down
Loading