Skip to content

helm-charts: Schema fails when values provided to provider.webhook.serviceMonitor #5931

@chrisbsmith

Description

@chrisbsmith

What happened:

Helm Chart fails to template if values are provided to the provider.webhook.serviceMonitor object.

Snippet of provided values:

provider:
  name: webhook
  webhook:
    serviceMonitor:
      interval: 30s
      scheme: http
      metricRelabelings: []
      relabelings: []

Output of a helm template

Error: values don't meet the specifications of the schema(s) in the following chart(s):
external-dns:
- provider.webhook.serviceMonitor.interval: Invalid type. Expected: null, given: string
- provider.webhook.serviceMonitor.scheme: Invalid type. Expected: null, given: string

What you expected to happen:

Expect a successful template / deployment

How to reproduce it (as minimally and precisely as possible):

  • Add values to one or all of
    • .provider.webhook.serviceMonitor.interval
    • .provider.webhook.serviceMonitor.scheme
    • .provider.webhook.serviceMonitor.bearerTokenFile
    • .provider.webhook.serviceMonitor.scrapeInterval
  • Run a helm template

Anything else we need to know?:

Environment:

  • Helm Chart Version: 1.19.0
  • DNS provider: webhook
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions