[stable/nginx-ingress] fix HPA to target correct Deployment version (#17749)

Signed-off-by: Michael Cristina <michael.cristina@optum.com>
This commit is contained in:
Michael Cristina
2019-10-07 16:37:10 -07:00
committed by Kubernetes Prow Robot
parent aa14832606
commit f91e91b2d8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: nginx-ingress
version: 1.24.0
version: 1.24.1
appVersion: 0.26.1
home: https://github.com/kubernetes/ingress-nginx
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
@@ -12,7 +12,7 @@ metadata:
name: {{ template "nginx-ingress.controller.fullname" . }}
spec:
scaleTargetRef:
apiVersion: apps/v1beta1
apiVersion: {{ .Values.controller.apiVersion }}
kind: Deployment
name: {{ template "nginx-ingress.controller.fullname" . }}
minReplicas: {{ .Values.controller.autoscaling.minReplicas }}