diff --git a/stable/ambassador/Chart.yaml b/stable/ambassador/Chart.yaml index 6cd7fb18b2..a6ad9d72e0 100644 --- a/stable/ambassador/Chart.yaml +++ b/stable/ambassador/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.82.0 description: A Helm chart for Datawire Ambassador name: ambassador -version: 4.2.1 +version: 4.3.0 icon: https://www.getambassador.io/images/logo.png home: https://www.getambassador.io/ sources: diff --git a/stable/ambassador/README.md b/stable/ambassador/README.md index aa189a4d98..44f80c8588 100755 --- a/stable/ambassador/README.md +++ b/stable/ambassador/README.md @@ -69,6 +69,7 @@ The following tables lists the configurable parameters of the Ambassador chart a | `podAnnotations` | Additional annotations for ambassador pods | `{}` | | `deploymentAnnotations` | Additional annotations for ambassador DaemonSet/Deployment | `{}` | | `podLabels` | Additional labels for ambassador pods | | +| `affinity` | Affinity for ambassador pods | `{}` | | `priorityClassName` | The name of the priorityClass for the ambassador DaemonSet/Deployment | `""` | | `rbac.create` | If `true`, create and use RBAC resources | `true` | | `rbac.podSecurityPolicies` | pod security polices to bind to | | @@ -104,11 +105,12 @@ The following tables lists the configurable parameters of the Ambassador chart a | `pro.rateLimit.redis.annotations.deployment` | Annotations for the redis deployment | `{}` | | `pro.rateLimit.redis.annotations.service` | Annotations for the redis service | `{}` | | `pro.rateLimit.redis.resources` | Set resource requests and limits for the rate limit service's redis instance | `{}` | -| `pro.devPortal.enabled` | Enables the Ambassador Devloper Portal | `false` | +| `pro.devPortal.enabled` | Enables the Ambassador Developer Portal | `false` | | `autoscaling.enabled` | If true, creates Horizontal Pod Autoscaler | `false` | | `autoscaling.minReplica` | If autoscaling enabled, this field sets minimum replica count | `2` | | `autoscaling.maxReplica` | If autoscaling enabled, this field sets maximum replica count | `5` | | `autoscaling.metrics` | If autoscaling enabled, configure hpa metrics | | +| `podDisruptionBudget` | Pod disruption budget rules | `{}` | | `prometheusExporter.enabled` | DEPRECATED: Prometheus exporter side-car enabled | `false` | | `prometheusExporter.pullPolicy` | DEPRECATED: Image pull policy | `IfNotPresent` | | `prometheusExporter.repository` | DEPRECATED: Prometheus exporter image | `prom/statsd-exporter` | diff --git a/stable/ambassador/templates/NOTES.txt b/stable/ambassador/templates/NOTES.txt index f84fd5f286..f8ef63c51c 100644 --- a/stable/ambassador/templates/NOTES.txt +++ b/stable/ambassador/templates/NOTES.txt @@ -1,4 +1,4 @@ -Congratuations! You've successfully installed Ambassador. +Congratulations! You've successfully installed Ambassador. For help, visit our Slack at https://d6e.co/slack or view the documentation online at https://www.getambassador.io. diff --git a/stable/ambassador/templates/pdb.yaml b/stable/ambassador/templates/pdb.yaml new file mode 100644 index 0000000000..45d9ea52f2 --- /dev/null +++ b/stable/ambassador/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if .Values.podDisruptionBudget }} +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +metadata: + name: {{ include "ambassador.fullname" . }} + labels: + app.kubernetes.io/name: {{ include "ambassador.name" . }} + app.kubernetes.io/part-of: {{ .Release.Name }} + helm.sh/chart: {{ include "ambassador.chart" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +spec: + selector: + matchLabels: + app.kubernetes.io/name: {{ include "ambassador.name" . }} + app.kubernetes.io/part-of: {{ .Release.Name }} +{{ toYaml .Values.podDisruptionBudget | indent 2 }} +{{- end }} diff --git a/stable/ambassador/values.yaml b/stable/ambassador/values.yaml index c45799ec34..4e291159be 100644 --- a/stable/ambassador/values.yaml +++ b/stable/ambassador/values.yaml @@ -22,6 +22,8 @@ autoscaling: name: memory targetAverageUtilization: 60 +podDisruptionBudget: {} + # namespace: # name: default