We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need to set some labels by default to our deployments/pods.
global.labels does not attach these labels to the pods.
global.labels
Please add
{{- if .Values.global.labels }} {{ toYaml .Values.global.labels }} {{- end }}
to the deployment.yaml or create another podLabels helper method that includes the global labels.
podLabels
The text was updated successfully, but these errors were encountered:
@Boeller666 hi, we welcome Pull Requests if you are willing to resolve this issue
Sorry, something went wrong.
The chart at version 2.1.38, with this values.yml
global: labels: app: ingressmonitorcontroller
generates this kind of configuration inside the deployment:
monitoring, ingressmonitorcontroller, Deployment (apps) has changed: # Source: ingressmonitorcontroller/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: ingressmonitorcontroller namespace: monitoring labels: helm.sh/chart: ingressmonitorcontroller-2.1.38 app.kubernetes.io/name: ingressmonitorcontroller app.kubernetes.io/instance: ingress-monitor-controller app.kubernetes.io/version: "2.1.38" app.kubernetes.io/managed-by: helm + app: ingressmonitorcontroller control-plane: controller-manager
due to the configuration in the file helpers. @Boeller666 you instead need the spec.template.labels?
template: metadata: labels: app.kubernetes.io/name: ingressmonitorcontroller app.kubernetes.io/instance: ingress-monitor-controller + app: ingressmonitorcontroller spec:
This issue is stale because it has been open for 60 days with no activity.
No branches or pull requests
We need to set some labels by default to our deployments/pods.
global.labels
does not attach these labels to the pods.Please add
to the deployment.yaml or create another
podLabels
helper method that includes the global labels.The text was updated successfully, but these errors were encountered: