Skip to content

Commit

Permalink
Improved order
Browse files Browse the repository at this point in the history
  • Loading branch information
sebagomez committed Nov 29, 2024
1 parent 8ada002 commit 332c3cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/wiremock/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ spec:
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
- resource:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
type: Resource
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- resource:
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
type: Resource
{{- end }}
{{- end }}

0 comments on commit 332c3cd

Please sign in to comment.