Add annotations for HPA (#7117)

This commit is contained in:
Njegos Railic 2021-06-02 11:52:24 +02:00 committed by GitHub
parent 96a87c79b8
commit 9e89951ec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 2 deletions

View file

@ -4,6 +4,10 @@
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
annotations:
{{- with .Values.controller.autoscaling.annotations }}
{{- toYaml . | trimSuffix "\n" | nindent 4 }}
{{- end }}
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: controller