Skip to content

Commit

Permalink
update backend HPA
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-mher committed May 26, 2023
1 parent 981f002 commit a082b38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: backend
description: Helm chart scaffolding for Backend applications.
type: application
version: 3.5.6
version: 3.5.9
appVersion: 1.3.0
15 changes: 3 additions & 12 deletions charts/backend/templates/external-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,8 @@ spec:
target:
name: {{ .Release.Name }}-env
creationPolicy: Owner
template:
engineVersion: v2
data:
.env: |
{{- range $secret := .Values.externalsecrets.env }}
{{ $secret }}="{{- printf "{{ "}}{{- printf "."}}{{ $secret }}{{- printf " }}"}}"
{{- end }}
data:
{{- range $secret := .Values.externalsecrets.env }}
- secretKey: {{ $secret }}
- secretKey: {{ .Values.externalsecrets.secretkey }}
remoteRef:
key: {{ $.Values.env }}-{{ $secret }}
{{- end }}
{{- end }}
key: {{ $.Values.env }}-{{ .Release.Name }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/backend/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "laravel.fullname" . }}
Expand Down
Empty file.

0 comments on commit a082b38

Please sign in to comment.