1
0
Fork 0

feat: add helm chart for deploying the app on k8s

This commit is contained in:
Vojtěch Mareš 2024-10-10 21:30:23 +02:00
parent aaa1eff0fe
commit cbaa5272ef
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
13 changed files with 261 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{{- if gt (.Values.replicas | int) 1 -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ .Release.Name }}
spec:
minAvailable: 1
selector:
matchLabels:
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: "backend-api"
{{- end -}}