forked from argoproj/argo-helm
fix: reorder hpa metrics to avoid displaying diffs in argocd (#245)
* fix: reorder hpa metrics to avoid displaying diffs in argocdmain
parent
7ba77fde18
commit
c8db341fdb
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.4.2"
|
appVersion: "1.4.2"
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 1.8.1
|
version: 1.8.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -18,16 +18,16 @@ spec:
|
||||||
minReplicas: {{ .Values.repoServer.autoscaling.minReplicas }}
|
minReplicas: {{ .Values.repoServer.autoscaling.minReplicas }}
|
||||||
maxReplicas: {{ .Values.repoServer.autoscaling.maxReplicas }}
|
maxReplicas: {{ .Values.repoServer.autoscaling.maxReplicas }}
|
||||||
metrics:
|
metrics:
|
||||||
{{- with .Values.repoServer.autoscaling.targetCPUUtilizationPercentage }}
|
|
||||||
- type: Resource
|
|
||||||
resource:
|
|
||||||
name: cpu
|
|
||||||
targetAverageUtilization: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.repoServer.autoscaling.targetMemoryUtilizationPercentage }}
|
{{- with .Values.repoServer.autoscaling.targetMemoryUtilizationPercentage }}
|
||||||
- type: Resource
|
- type: Resource
|
||||||
resource:
|
resource:
|
||||||
name: memory
|
name: memory
|
||||||
targetAverageUtilization: {{ . }}
|
targetAverageUtilization: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.repoServer.autoscaling.targetCPUUtilizationPercentage }}
|
||||||
|
- type: Resource
|
||||||
|
resource:
|
||||||
|
name: cpu
|
||||||
|
targetAverageUtilization: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -18,16 +18,16 @@ spec:
|
||||||
minReplicas: {{ .Values.server.autoscaling.minReplicas }}
|
minReplicas: {{ .Values.server.autoscaling.minReplicas }}
|
||||||
maxReplicas: {{ .Values.server.autoscaling.maxReplicas }}
|
maxReplicas: {{ .Values.server.autoscaling.maxReplicas }}
|
||||||
metrics:
|
metrics:
|
||||||
{{- with .Values.server.autoscaling.targetCPUUtilizationPercentage }}
|
|
||||||
- type: Resource
|
|
||||||
resource:
|
|
||||||
name: cpu
|
|
||||||
targetAverageUtilization: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.server.autoscaling.targetMemoryUtilizationPercentage }}
|
{{- with .Values.server.autoscaling.targetMemoryUtilizationPercentage }}
|
||||||
- type: Resource
|
- type: Resource
|
||||||
resource:
|
resource:
|
||||||
name: memory
|
name: memory
|
||||||
targetAverageUtilization: {{ . }}
|
targetAverageUtilization: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.server.autoscaling.targetCPUUtilizationPercentage }}
|
||||||
|
- type: Resource
|
||||||
|
resource:
|
||||||
|
name: cpu
|
||||||
|
targetAverageUtilization: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue