Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
[consul-esm] Add pod annotations value (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawliet89 authored Sep 30, 2021
1 parent 84cb1e3 commit e39c4f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/consul-esm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "0.4.0"
description: Consul ESM for external service health checks in Consul
name: consul-esm
version: 0.3.0
version: 0.3.1
home: https://github.com/hashicorp/consul-esm
3 changes: 3 additions & 0 deletions charts/consul-esm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ spec:
app.kubernetes.io/instance: {{ .Release.Name }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "consul-esm.fullname" . }}
{{- with .Values.imagePullSecrets }}
Expand Down
2 changes: 2 additions & 0 deletions charts/consul-esm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ affinity: {}

env: []

podAnnotations: {}

# The sysctl below is needed for UDP Ping to work
# See https://github.com/tatsushid/go-fastping/issues/25#issuecomment-236203705
# It is not enabled by default because it is an "unsafe" sysctl
Expand Down

0 comments on commit e39c4f2

Please sign in to comment.