Skip to content

Commit

Permalink
Merge pull request #20 from Carsten-St/configurable-podLabels
Browse files Browse the repository at this point in the history
Configurable pod labels
  • Loading branch information
mstein11 authored Sep 28, 2021
2 parents 9e30fdd + 0b391aa commit f6d736b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/docker-hub-rate-limit-exporter-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.9
version: 0.2.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ spec:
selector:
matchLabels:
{{- include "docker-hub-rate-limit-exporter.selectorLabels" . | nindent 6 }}
{{- if .Values.podLabels }}
{{- toYaml .Values.podLabels | nindent 6 }}
{{- end }}
template:
metadata:
annotations:
Expand Down
4 changes: 4 additions & 0 deletions charts/docker-hub-rate-limit-exporter-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""

# Labels to add to each pod.
podLabels: {}
# myPodLabel: labelName

podAnnotations: {}

podSecurityContext:
Expand Down

0 comments on commit f6d736b

Please sign in to comment.