-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 2dfd178 Author: Omer Aplatony <[email protected]> Date: Tue Nov 26 17:07:14 2024 +0200 revert Signed-off-by: Omer Aplatony <[email protected]> commit 3b7dbbd Author: Omer Aplatony <[email protected]> Date: Tue Nov 26 09:16:04 2024 +0200 Set default values Signed-off-by: Omer Aplatony <[email protected]> commit 508e32a Merge: a943df0 c963295 Author: Omer Aplatony <[email protected]> Date: Tue Nov 26 09:04:32 2024 +0200 Merged master Signed-off-by: Omer Aplatony <[email protected]> commit a943df0 Author: Omer Aplatony <[email protected]> Date: Sun Jul 7 10:06:27 2024 +0300 Add Pod Disruption Budget and configurable deployment name Signed-off-by: Omer Aplatony <[email protected]> Signed-off-by: Omer Aplatony <[email protected]> Apply suggestions from code review Co-authored-by: Sherif Abdel-Naby <[email protected]> Signed-off-by: Omer Aplatony <[email protected]>
- Loading branch information
1 parent
c963295
commit 92fdf69
Showing
5 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{- if .Values.controller.podDisruptionBudget.enabled -}} | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ .Values.controller.name }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: {{ .Values.controller.name }} | ||
app.kubernetes.io/name: {{ include "aws-efs-csi-driver.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- if .Values.controller.podDisruptionBudget.unhealthyPodEvictionPolicy }} | ||
unhealthyPodEvictionPolicy: {{ .Values.controller.podDisruptionBudget.unhealthyPodEvictionPolicy }} | ||
{{- end }} | ||
{{- if .Values.controller.podDisruptionBudget.maxUnavailable }} | ||
maxUnavailable: {{ .Values.controller.podDisruptionBudget.maxUnavailable }} | ||
{{- end }} | ||
{{- if .Values.controller.podDisruptionBudget.minAvailable }} | ||
minAvailable: {{ .Values.controller.podDisruptionBudget.minAvailable }} | ||
{{- end }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters