Merge pull request #6730 from yasra002/patch-2
Do not create HPA if default backend not enabled
This commit is contained in:
commit
0fc5169bde
3 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if .Values.defaultBackend.autoscaling.enabled }}
|
||||
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.autoscaling.enabled }}
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
|
|
Loading…
Reference in a new issue