Skip to content

Commit be4952c

Browse files
committed
Code Review
1 parent 1ad0f63 commit be4952c

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ spec:
1818
{{- if .Values.nginx.autoscaling.enabled }}
1919
autoscaling:
2020
enabled: {{ .Values.nginx.autoscaling.enabled }}
21-
{{- if .Values.nginx.autoscaling.hpaAnnotations }}
22-
hpaAnnotations:
23-
{{- toYaml .Values.nginx.autoscaling.hpaAnnotations | nindent 10 }}
24-
{{- end }}
2521
minReplicas: {{ .Values.nginx.autoscaling.minReplicas }}
2622
maxReplicas: {{ .Values.nginx.autoscaling.maxReplicas }}
2723
{{- if .Values.nginx.autoscaling.targetCPUUtilizationPercentage }}

charts/nginx-gateway-fabric/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ nginx:
232232
autoscaling:
233233
# Enable or disable Horizontal Pod Autoscaler
234234
enabled: false
235-
# hpaAnnotations: {}
236235
# minReplicas: 1
237236
# maxReplicas: 11
238237
# targetCPUUtilizationPercentage: 50

config/crd/bases/gateway.nginx.org_nginxproxies.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4181,6 +4181,7 @@ spec:
41814181
description: Enable or disable Horizontal Pod Autoscaler
41824182
type: boolean
41834183
<<<<<<< HEAD
4184+
<<<<<<< HEAD
41844185
=======
41854186
hpaAnnotations:
41864187
additionalProperties:
@@ -4192,6 +4193,8 @@ spec:
41924193
queryable and should be preserved when modifying objects.
41934194
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
41944195
type: object
4196+
>>>>>>> Code Review
4197+
=======
41954198
>>>>>>> Code Review
41964199
maxReplicas:
41974200
description: Maximum number of replicas.

internal/controller/provisioner/eventloop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ func newEventLoop(
8181
k8spredicate.And(
8282
k8spredicate.GenerationChangedPredicate{},
8383
nginxResourceLabelPredicate,
84-
predicate.RestartDeploymentAnnotationPredicate{},
8584
),
8685
),
8786
},

0 commit comments

Comments
 (0)