Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pdb for appmesh controller #982

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stable/appmesh-controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: appmesh-controller
description: App Mesh controller Helm chart for Kubernetes
version: 1.12.2
appVersion: 1.12.2
version: 1.12.3
appVersion: 1.12.3
home: https://github.com/aws/eks-charts
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
4 changes: 2 additions & 2 deletions stable/appmesh-controller/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.podDisruptionBudget }}
{{- if gt (int .Values.replicaCount) 1 }}
kind: PodDisruptionBudget
apiVersion: policy/v1beta1
apiVersion: policy/v1
metadata:
name: {{ template "appmesh-controller.fullname" . }}-pdb
namespace: {{ .Release.Namespace }}
Expand All @@ -15,4 +15,4 @@ spec:
app.kubernetes.io/part-of: appmesh
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
{{- end -}}
{{- end -}}
{{- end -}}