Skip to content

Commit

Permalink
Fix: Deployment name on hpa
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosaraiva committed Nov 21, 2023
1 parent 8575094 commit 8b066f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions charts/neighborhoods-apps/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
## 2.12.4
- Fix deployment name on hpa
## 2.12.3
- Fix serviceaccount name on deployment template
## 2.12.2
Expand Down
2 changes: 1 addition & 1 deletion charts/neighborhoods-apps/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Neighborhoods standard chart setup with Nginx fronting the HTTP deployment
name: neighborhoods-app
version: 2.12.3
version: 2.12.4
kubeVersion: ">=1.23.0-0"
home: https://github.com/neighborhoods/neighborhoods-chart
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/neighborhoods-apps/templates/http-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "chart.fullname" . }}
name: {{ include "util.v1.autoname" . }}-http
labels:
{{- include "chart.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "chart.fullname" . }}
name: {{ include "util.v1.autoname" . }}-http
minReplicas: {{ .Values.http.hpa.minReplicas }}
maxReplicas: {{ .Values.http.hpa.maxReplicas }}
metrics:
Expand Down

0 comments on commit 8b066f8

Please sign in to comment.