diff --git a/stable/pgadmin/Chart.yaml b/stable/pgadmin/Chart.yaml index eb31d806ae..2c0720f8c2 100644 --- a/stable/pgadmin/Chart.yaml +++ b/stable/pgadmin/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: pgAdmin is a web based administration tool for PostgreSQL database name: pgadmin -version: 1.1.1 +version: 1.1.2 appVersion: 4.17.0 home: https://www.pgadmin.org/ source: https://github.com/rowanruseler/pgadmin diff --git a/stable/pgadmin/README.md b/stable/pgadmin/README.md index 8f2141614c..ea7e4f9685 100644 --- a/stable/pgadmin/README.md +++ b/stable/pgadmin/README.md @@ -46,6 +46,7 @@ The command removes nearly all the Kubernetes components associated with the cha | `image.pullPolicy` | Docker image pull policy | `IfNotPresent` | | `service.type` | Service type (ClusterIP, NodePort or LoadBalancer) | `ClusterIP` | | `service.port` | Service port | `80` | +| `strategy` | Specifies the strategy used to replace old Pods by new ones | `{}` | | `ingress.enabled` | Enables Ingress | `false` | | `ingress.annotations` | Ingress annotations | `{}` | | `ingress.hosts` | Ingress accepted hostnames | `nil` | diff --git a/stable/pgadmin/templates/deployment.yaml b/stable/pgadmin/templates/deployment.yaml index 4108068984..4633e8e11b 100644 --- a/stable/pgadmin/templates/deployment.yaml +++ b/stable/pgadmin/templates/deployment.yaml @@ -11,6 +11,10 @@ spec: matchLabels: app.kubernetes.io/name: {{ include "pgadmin.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} +{{- if .Values.strategy }} + strategy: + {{- .Values.strategy | toYaml | nindent 4 }}} +{{- end }} template: metadata: labels: diff --git a/stable/pgadmin/values.yaml b/stable/pgadmin/values.yaml index 26156e1d84..4d063ec367 100644 --- a/stable/pgadmin/values.yaml +++ b/stable/pgadmin/values.yaml @@ -13,6 +13,15 @@ service: type: ClusterIP port: 80 +## Strategy used to replace old Pods by new ones +## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy +## +strategy: {} + # type: RollingUpdate + # rollingUpdate: + # maxSurge: 0 + # maxUnavailable: 1 + ingress: ## If true, pgAdmin Ingress will be created ##