Skip to content

Commit

Permalink
chore(k8s-metacollector): Add podLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
sipr-invivo committed Jul 5, 2024
1 parent bb4fc15 commit 92f4684
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/k8s-metacollector/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion charts/k8s-metacollector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down

0 comments on commit 92f4684

Please sign in to comment.