You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug a clear and concise description of what the bug is.
I was trying to addlables to the PVC the helm chart is creating for prometheus. example values
server:
persistentVolume:
labels:
test: enabled
these are not being added to the PVC being created. Other setting work, for example setting annotations
Looking at the template it look like the lables are simply not included. Only server lables
labels:
{{- include "prometheus.server.labels". | nindent 4 }}
Describe the bug a clear and concise description of what the bug is.
I was trying to addlables to the PVC the helm chart is creating for prometheus. example values
server:
persistentVolume:
labels:
test: enabled
these are not being added to the PVC being created. Other setting work, for example setting annotations
Looking at the template it look like the lables are simply not included. Only server lables
labels:
{{- include "prometheus.server.labels". | nindent 4 }}
Compared to annotations
annotations:
{{ toYaml .Values.server.persistentVolume.annotations | indent 4 }}
What's your helm version?
Using k3s helm CRD, dont know the version of helm
What's your kubectl version?
Client Version: v1.27.2+k3s1
Which chart?
prometheus
What's the chart version?
25.1.0
What happened?
No response
What you expected to happen?
No response
How to reproduce it?
Add labels in the helm chart values under persistentVolume
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
this is the helm CRD im using
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: prometheus
namespace: helm
spec:
repo: https://prometheus-community.github.io/helm-charts
chart: prometheus
version: {{chart_version}}
targetNamespace: monitoring
valuesContent: |-
server:
persistentVolume:
enabled: true
labels:
test: enabled
annotations:
test: enabled
size: 9Gi
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: