Skip to content

Commit

Permalink
Merge branch 'main' into fix/imagestreamClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Jan 22, 2024
2 parents 83b8fd0 + a95ed01 commit a687cf5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/component/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.5

version: 0.3.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
15 changes: 15 additions & 0 deletions charts/component/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{- if and .Values.pdb .Values.pdb.enabled }}
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "component.fullname" . }}
labels:
{{- include "component.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "component.fullname" . }}
minAvailable: {{ .Values.pdb.minAvailable }}
{{- end }}

0 comments on commit a687cf5

Please sign in to comment.