Skip to content

Commit

Permalink
adding [annotations] directly to the top [metadata] section of the de…
Browse files Browse the repository at this point in the history
…ployment yaml template
  • Loading branch information
gwang committed Mar 6, 2024
1 parent 564d587 commit 6375f09
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "yet-another-cloudwatch-exporter.labels" . | nindent 4 }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down

0 comments on commit 6375f09

Please sign in to comment.