Do not create HPA if default backend not enabled

Update annotations

Do not create HPA if default backend not enabled
This commit is contained in:
Yasser 2021-01-08 00:31:30 +01:00
parent ff74d0ff33
commit a70553f7d8
3 changed files with 7 additions and 3 deletions

View file

@ -4,6 +4,10 @@ This file documents all notable changes to [ingress-nginx](https://github.com/ku
### Unreleased
### 3.20.0
- [] [#6730](https://github.com/kubernetes/ingress-nginx/pull/6730) Do not create HPA for defaultBackend if not enabled.
### 3.19.0
- Update ingress-nginx v0.43.0

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: ingress-nginx
# When the version is modified, make sure the artifacthub.io/changes list is updated
# Also update CHANGELOG.md
version: 3.19.0
version: 3.20.0
appVersion: 0.43.0
home: https://github.com/kubernetes/ingress-nginx
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
@ -21,4 +21,4 @@ annotations:
# List of changes for the release in artifacthub.io
# https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx?modal=changelog
artifacthub.io/changes: |
- Update ingress-nginx v0.43.0
- Do not create HPA for defaultbackend if not enabled.

View file

@ -1,4 +1,4 @@
{{- if .Values.defaultBackend.autoscaling.enabled }}
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata: