diff --git a/charts/aspnetcore/templates/deployment-hpa.yaml b/charts/aspnetcore/templates/deployment-hpa.yaml index 588cd98..0e9cc2e 100644 --- a/charts/aspnetcore/templates/deployment-hpa.yaml +++ b/charts/aspnetcore/templates/deployment-hpa.yaml @@ -4,6 +4,11 @@ kind: HorizontalPodAutoscaler metadata: name: {{ default (printf "%s-deployment" .Release.Name) .Values.autoscaling.name }} labels: + {{- include "aspnetcore.standardLabels" . | nindent 4 }} + {{- if .Values.commonLabels }} + {{- toYaml .Values.commonLabels | nindent 4 }} + {{- end }} + annotations: {{- with .Values.commonAnnotations }} {{- toYaml . | nindent 4 }} {{- end }}