Added template annotations

This commit is contained in:
2023-11-08 09:38:09 +01:00
parent fb87d34c96
commit dc6b288dc9
10 changed files with 24 additions and 7 deletions
+3
View File
@@ -5,6 +5,8 @@ metadata:
name: {{ include "template.fullname" . }}
labels:
{{- include "template.labels" . | nindent 4 }}
annotations:
{{- include "template.annotations" . | nindent 4 }}
spec:
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- if not .Values.autoscaling.enabled }}
@@ -24,6 +26,7 @@ spec:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "template.annotations" . | nindent 8 }}
labels:
{{- include "template.selectorLabels" . | nindent 8 }}
spec: