Skip to content

Commit f60bc62

Browse files
committed
Remove api check
1 parent acb9409 commit f60bc62

File tree

1 file changed

+1
-1
lines changed
  • charts/nginx-gateway-fabric/templates

1 file changed

+1
-1
lines changed

charts/nginx-gateway-fabric/templates/hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (eq .Values.nginxGateway.kind "deployment") .Values.nginxGateway.autoscaling.enable (.Capabilities.APIVersions.Has "autoscaling/v2") -}}
1+
{{- if and (eq .Values.nginxGateway.kind "deployment") .Values.nginxGateway.autoscaling.enable -}}
22
apiVersion: autoscaling/v2
33
kind: HorizontalPodAutoscaler
44
metadata:

0 commit comments

Comments
 (0)