Skip to content

Bug: mimir-distributed, it's possible to set the ingesters PersistentVolumeClaimTemplate Name, but this is not used everywhere #10853

Open
@thoro

Description

@thoro

What is the bug?

you can set the PersistentVolumeClaimTemplate Name via:

ingester:
  persistentVolume:
    name: data

But doing so breaks the STS, because volumeMounts always references storage:

    volumeMounts:
            - name: storage
              mountPath: "/data"
              {{- if .Values.ingester.persistentVolume.subPath }}
              subPath: {{ .Values.ingester.persistentVolume.subPath }}
              {{- end }}

How to reproduce it?

Set name of persistent volume in config for ingester => sts deployment of ingester will fail

What did you think would happen?

Change the name of the PVC everywhere

What was your environment?

Helm, k8s

Any additional context to share?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions