Rr/strategy (#20533)

* [stable/pgadmin] added strategy to the deployment

Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>

* [stable/pgadmin] removed white-line

Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>
This commit is contained in:
rowanr
2020-02-04 02:51:35 -08:00
committed by GitHub
parent 424ed073c7
commit 42d32d22c7
4 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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` |
+4
View File
@@ -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:
+9
View File
@@ -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
##