Skip to content

Commit

Permalink
schulportal-client
Browse files Browse the repository at this point in the history
  • Loading branch information
schulportal-client-gha committed Dec 9, 2024
1 parent ef52e5d commit 03f545c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
4 changes: 2 additions & 2 deletions automation/schulportal-client/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: SPSH-1585
appVersion: release-0101
description: Helm-Chart for schulportal-client
name: schulportal-client
type: application
version: 0.0.0-spsh-1585-20241209-1019
version: 0.0.0-release-0101-20241209-1244
17 changes: 17 additions & 0 deletions automation/schulportal-client/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{- if .Values.podDisruptionBudget.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ template "common.names.name" . }}-pdb
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "common.names.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app.kubernetes.io/name: schulportal-client
{{- end }}
6 changes: 5 additions & 1 deletion automation/schulportal-client/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 60
targetCPUUtilizationPercentage: 60

podDisruptionBudget:
enabled: true
minAvailable: "80%"

0 comments on commit 03f545c

Please sign in to comment.