kubernetes-sigs / aws-efs-csi-driver

CSI Driver for Amazon EFS https://aws.amazon.com/efs/
Apache License 2.0
723 stars 554 forks source link

Typo in Helm chart values file podLabel should be podLabels #1319

Open ismaillatona opened 7 months ago

ismaillatona commented 7 months ago

/kind bug

What happened? Pod labels are not set on the controller pods. While looking at the default values file there is a typo at controller.podLabel it should be controller.podLabels as referenced in the templates What you expected to happen? I expected pod labels to be set on the controller pods How to reproduce it (as minimally and precisely as possible)? Setting podLabel value does not set the controller pod labels Anything else we need to know?:

Environment

Please also attach debug logs to help us better diagnose

r-yabyab commented 6 months ago

/assign

r-yabyab commented 6 months ago

The chart value's controller.podLabel works for me. Couldn't get controller.podLabels to work.

chris-bosman commented 3 months ago

A few more details:

In values.yaml, here, the name of the variable is PodLabel.

But it does not appear as though this will ever modify the tags on the deployed pods, since the code for the pod's labels here references a variable called PodLabels.

The two files need to be reconciled to agree on the variable name. The simplest would simply be renaming controller.PodLabel to controller.PodLabels to agree with what's currently in the controller deployment definition.

k8s-triage-robot commented 3 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale