Added charts for StreifenCheck frontend.

This commit is contained in:
Daniel
2025-07-22 09:00:43 +02:00
parent 2ba4a29060
commit f7286f49f5
8 changed files with 324 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{{- if .Values.autoscaling.enabled -}}
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: {{ template "streifencheck-frontend.fullname" . }}
labels:
app: {{ template "streifencheck-frontend.name" . }}
chart: {{ template "streifencheck-frontend.chart" . }}
component: streifencheck-frontend
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ template "streifencheck-frontend.fullname" . }}
{{ toYaml .Values.autoscaling.config | indent 2 }}
{{- end -}}