Skip to content

Commit

Permalink
Add pod labels and annotations to sentry-kubernetes chart (sentry-kub…
Browse files Browse the repository at this point in the history
  • Loading branch information
xr0n1ck committed Sep 17, 2021
1 parent 1bf0f9b commit addb0ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sentry-kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sentry-kubernetes
description: A Helm chart for sentry-kubernetes (https://github.com/getsentry/sentry-kubernetes)
type: application
version: 0.3.1
version: 0.3.2
appVersion: latest
home: https://github.com/getsentry/sentry-kubernetes
icon: https://sentry-brand.storage.googleapis.com/sentry-glyph-white.png
Expand Down
6 changes: 6 additions & 0 deletions sentry-kubernetes/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ spec:
metadata:
annotations:
checksum/secrets: {{ include (print .Template.BasePath "/secret.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
labels:
app: {{ template "sentry-kubernetes.name" . }}
release: {{.Release.Name }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
Expand Down
3 changes: 3 additions & 0 deletions sentry-kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ rbac:

# Set priorityCLassName in deployment
# priorityClassName: ""

podLabels: {}
podAnnotations: {}

0 comments on commit addb0ad

Please sign in to comment.