diff --git a/charts/textbee/Chart.yaml b/charts/textbee/Chart.yaml index 0e3b79b..89e92a7 100644 --- a/charts/textbee/Chart.yaml +++ b/charts/textbee/Chart.yaml @@ -3,6 +3,6 @@ name: textbee description: A Helm chart to deploy TextBee. type: application -version: 0.1.6 +version: 0.1.7 appVersion: "v2.6.2" diff --git a/charts/textbee/templates/hpa.yaml b/charts/textbee/templates/hpa.yaml deleted file mode 100644 index 389e242..0000000 --- a/charts/textbee/templates/hpa.yaml +++ /dev/null @@ -1,32 +0,0 @@ -{{- if .Values.api.autoscaling.enabled }} -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ include "textbee.fullname" . }}-api-hpa - labels: - {{- include "textbee.labels" . | nindent 4 }} -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ include "textbee.fullname" . }}-api - minReplicas: {{ .Values.api.autoscaling.minReplicas }} - maxReplicas: {{ .Values.api.autoscaling.maxReplicas }} - metrics: - {{- if .Values.api.autoscaling.targetCPUUtilizationPercentage }} - - type: Resource - resource: - name: cpu - target: - type: Utilization - averageUtilization: {{ .Values.api.autoscaling.targetCPUUtilizationPercentage }} - {{- end }} - {{- if .Values.api.autoscaling.targetMemoryUtilizationPercentage }} - - type: Resource - resource: - name: memory - target: - type: Utilization - averageUtilization: {{ .Values.api.autoscaling.targetMemoryUtilizationPercentage }} - {{- end }} -{{- end }}