From 5398dd9608897b6488f4aba71d5976b75ce4e05c Mon Sep 17 00:00:00 2001 From: Bruno Bernard Date: Fri, 22 Aug 2025 20:57:57 +0400 Subject: [PATCH] fix: remove redundant file --- charts/textbee/Chart.yaml | 2 +- charts/textbee/templates/hpa.yaml | 32 ------------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 charts/textbee/templates/hpa.yaml 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 }}