Skip to content

Commit

Permalink
fix(backend): saas api hpa 配置问题 #7107
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Sep 24, 2024
1 parent e2e4e33 commit eda86c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions helm-charts/bk-dbm/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
version: 7.9.8
- name: dbm
repository: file://charts/dbm
version: 0.1.42
version: 0.1.43
- name: dbconfig
repository: file://charts/dbconfig
version: 0.1.13
Expand Down Expand Up @@ -65,5 +65,5 @@ dependencies:
- name: db-dbha
repository: file://charts/db-dbha
version: 0.1.0
digest: sha256:a0cc97116fc4c063d525b75adb4dab479456c1509f975700b887cc19517d1348
generated: "2024-09-23T12:17:47.539237+08:00"
digest: sha256:3c575b03f6b51f8db997a5db4b4f5c85199d050d0ce3700c989a2481eba024ea
generated: "2024-09-24T12:16:55.926025+08:00"
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
- condition: dbm.enabled
name: dbm
repository: file://charts/dbm
version: 0.1.42
version: 0.1.43
- condition: dbconfig.enabled
name: dbconfig
repository: file://charts/dbconfig
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: 1.5.0-alpha.623
description: A Helm chart for dbm
name: dbm
type: application
version: 0.1.42
version: 0.1.43
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "bk-dbm.fullname" . }}
name: {{ include "dbm.saas-api.fullname" . }}
labels:
{{- include "bk-dbm.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "bk-dbm.fullname" . }}
name: {{ include "dbm.saas-api.fullname" . }}
minReplicas: {{ .Values.saas.api.autoscaling.minReplicas }}
maxReplicas: {{ .Values.saas.api.autoscaling.maxReplicas }}
metrics:
Expand Down

0 comments on commit eda86c3

Please sign in to comment.