Skip to content

Commit

Permalink
Merge pull request #6544 from yasra002/patch-1
Browse files Browse the repository at this point in the history
Fix the name of default backend variable
  • Loading branch information
k8s-ci-robot committed Dec 4, 2020
2 parents e23a6b6 + e361bc9 commit 2edd489
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/ingress-nginx/templates/default-backend-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ metadata:
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: default-backend
name: {{ template "nginx-ingress.defaultBackend.fullname" . }}
name: {{ template "ingress-nginx.defaultBackend.fullname" . }}
spec:
scaleTargetRef:
apiVersion: {{ template "deployment.apiVersion" . }}
apiVersion: apps/v1
kind: Deployment
name: {{ template "nginx-ingress.defaultBackend.fullname" . }}
name: {{ template "ingress-nginx.defaultBackend.fullname" . }}
minReplicas: {{ .Values.defaultBackend.autoscaling.minReplicas }}
maxReplicas: {{ .Values.defaultBackend.autoscaling.maxReplicas }}
metrics:
Expand Down

0 comments on commit 2edd489

Please sign in to comment.