Skip to content

Commit

Permalink
Merge pull request #1489 from joker00777/feature/addingPodLabel
Browse files Browse the repository at this point in the history
feat: adding pod labels in webhooks
  • Loading branch information
jenkins-x-bot authored Oct 5, 2022
2 parents 44f5430 + a385965 commit 6a37f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/lighthouse/templates/webhooks-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
metadata:
labels:
app: {{ template "webhooks.name" . }}
{{- if .Values.webhooks.podLabels }}
{{ toYaml .Values.webhooks.podLabels | indent 8 }}
{{- end }}
{{- if or .Values.webhooks.podAnnotations .Values.podAnnotations }}
annotations:
{{- if .Values.webhooks.podAnnotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/lighthouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ webhooks:

# webhooks.labels -- allow optional labels to be added to the webhook deployment
labels: {}
podLabels: {}

# webhooks.podAnnotations -- Annotations applied to the webhooks pods
podAnnotations: {}
Expand Down

0 comments on commit 6a37f27

Please sign in to comment.