Skip to content

Helm chart values YAML should quote date #14126

Description

@whatnick

Describe the bug
The documented values in for Helm use an unquoted string as date. Some deployment tooling such as flux can roundtrip this into an ISO formatted string which Loki cannot parse from the config.

Mitigation would be quote the string in the sample YAML values or Loki config parser modified to support ISO time.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy Loki using stock values on cluster running flux Gitops using a Helm Release resource.

Expected behavior
Chart deploys and Loki pods start

Environment:

  • Infrastructure: EKS
  • Deployment tool: helm + flux

Screenshots, Promtail config, or terminal output

failed parsing config: /etc/loki/config/config.yaml: parsing time "2024-04-01T00:00:00Z": extra text: "T00:00:00Z". Use -config.expand-env=true flag if you want to expand environment variables in your file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions