mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user