Skip to content

Cortex Redis flags with multiple dots #6459

@CharlieTLe

Description

@CharlieTLe

Describe the bug
There are some flags in Cortex that are invalid. They have multiple dots in the flag name instead of just one.

To Reproduce
Steps to reproduce the behavior:

  1. Print the cortex configuration flags.
./cmd/cortex/cortex-arm64 -help | grep \\.\\.
  -blocks-storage.bucket-store.chunks-cache.redis..tls-ca-path string
  -blocks-storage.bucket-store.chunks-cache.redis..tls-cert-path string
  -blocks-storage.bucket-store.chunks-cache.redis..tls-insecure-skip-verify
  -blocks-storage.bucket-store.chunks-cache.redis..tls-key-path string
  -blocks-storage.bucket-store.chunks-cache.redis..tls-server-name string
  -blocks-storage.bucket-store.index-cache.redis..tls-ca-path string
  -blocks-storage.bucket-store.index-cache.redis..tls-cert-path string
  -blocks-storage.bucket-store.index-cache.redis..tls-insecure-skip-verify
  -blocks-storage.bucket-store.index-cache.redis..tls-key-path string
  -blocks-storage.bucket-store.index-cache.redis..tls-server-name string
  -blocks-storage.bucket-store.metadata-cache.redis..tls-ca-path string
  -blocks-storage.bucket-store.metadata-cache.redis..tls-cert-path string
  -blocks-storage.bucket-store.metadata-cache.redis..tls-insecure-skip-verify
  -blocks-storage.bucket-store.metadata-cache.redis..tls-key-path string
  -blocks-storage.bucket-store.metadata-cache.redis..tls-server-name string

Expected behavior

  -blocks-storage.bucket-store.chunks-cache.redis.tls-ca-path string
  -blocks-storage.bucket-store.chunks-cache.redis.tls-cert-path string
  -blocks-storage.bucket-store.chunks-cache.redis.tls-insecure-skip-verify
  -blocks-storage.bucket-store.chunks-cache.redis.tls-key-path string
  -blocks-storage.bucket-store.chunks-cache.redis.tls-server-name string
  -blocks-storage.bucket-store.index-cache.redis.tls-ca-path string
  -blocks-storage.bucket-store.index-cache.redis.tls-cert-path string
  -blocks-storage.bucket-store.index-cache.redis.tls-insecure-skip-verify
  -blocks-storage.bucket-store.index-cache.redis.tls-key-path string
  -blocks-storage.bucket-store.index-cache.redis.tls-server-name string
  -blocks-storage.bucket-store.metadata-cache.redis.tls-ca-path string
  -blocks-storage.bucket-store.metadata-cache.redis.tls-cert-path string
  -blocks-storage.bucket-store.metadata-cache.redis.tls-insecure-skip-verify
  -blocks-storage.bucket-store.metadata-cache.redis.tls-key-path string
  -blocks-storage.bucket-store.metadata-cache.redis.tls-server-name string

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueThese are great first issues. If you are looking for a place to start, start here!help wantedstorage/blocksBlocks storage enginetype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions