Skip to content

Commit

Permalink
Merge pull request #28 from BenjaminVouillaumeJT/add-service-annotati…
Browse files Browse the repository at this point in the history
…on-to-chart

feat(chart): Add serviceAnnotations to Helm chart
  • Loading branch information
cw-sakamoto authored Jan 13, 2023
2 parents 5eaa284 + 7293903 commit 764d40e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: sendgrid-stats-exporter
description: A Helm chart for chatwork/sendgrid-stats-exporter
type: application
version: 0.0.8
appVersion: 0.0.8
version: 0.0.9
appVersion: 0.0.10
4 changes: 4 additions & 0 deletions charts/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "sendgrid-stats-exporter.fullname" . }}
labels:
{{- include "sendgrid-stats-exporter.labels" . | nindent 4 }}
{{- with .Values.serviceAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
4 changes: 3 additions & 1 deletion charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: chatwork/sendgrid-stats-exporter
pullPolicy: IfNotPresent
tag: "0.0.7"
tag: "v0.0.10"

imagePullSecrets: []
nameOverride: ""
Expand All @@ -14,6 +14,8 @@ serviceAccount:
annotations: {}
name: ""

serviceAnnotations: {}

podAnnotations: {}

podSecurityContext: {}
Expand Down

0 comments on commit 764d40e

Please sign in to comment.