Changed directory structure from the StreifenCheck chart.
This commit is contained in:
18
streifencheck-dev/backend/templates/hpa.yaml
Normal file
18
streifencheck-dev/backend/templates/hpa.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- if .Values.autoscaling.enabled -}}
|
||||
apiVersion: autoscaling/v1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ template "streifencheck.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "streifencheck.name" . }}
|
||||
chart: {{ template "streifencheck.chart" . }}
|
||||
component: streifencheck
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ template "streifencheck.fullname" . }}
|
||||
{{ toYaml .Values.autoscaling.config | indent 2 }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user