diff --git a/charts/k8s-metacollector/templates/deployment.yaml b/charts/k8s-metacollector/templates/deployment.yaml index 896248ce8..7688a215a 100644 --- a/charts/k8s-metacollector/templates/deployment.yaml +++ b/charts/k8s-metacollector/templates/deployment.yaml @@ -18,6 +18,9 @@ spec: {{- end }} labels: {{- include "k8s-metacollector.selectorLabels" . | nindent 8 }} + {{- if .Values.podLabels }} + {{ toYaml .Values.podLabels | nindent 8 }} + {{- end }} spec: {{- with .Values.image.pullSecrets }} imagePullSecrets: diff --git a/charts/k8s-metacollector/values.yaml b/charts/k8s-metacollector/values.yaml index b6dcc2563..98e1fa24e 100644 --- a/charts/k8s-metacollector/values.yaml +++ b/charts/k8s-metacollector/values.yaml @@ -25,7 +25,6 @@ fullnameOverride: "" # -- namespaceOverride overrides the deployment namespace. It's useful for multi-namespace deployments in combined charts. namespaceOverride: "" - # -- serviceAccount is the configuration for the service account. serviceAccount: # -- create specifies whether a service account should be created. @@ -39,6 +38,9 @@ serviceAccount: # -- podAnnotations are custom annotations to be added to the pod. podAnnotations: {} +# -- podLabels are labels to be added to the pod. +podLabels: {} + # -- podSecurityContext holds the security settings for the pod. # -- These settings are override by the ones specified for the container when there is overlap. podSecurityContext: