mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/openldap] Add deployment strategy configuration (#10499)
* [stable/openldap] Add deployment strategy configuration Signed-off-by: Jacek Ciwiś <jacek.ciwis@thesoftwarehouse.pl> * [stable/openldap] Bump to version 0.3.0 Signed-off-by: Jacek Ciwiś <jacek.ciwis@thesoftwarehouse.pl> * [stable/openldap] Prevent from merging unsupported parameters Signed-off-by: Jacek Ciwiś <jacek.ciwis@thesoftwarehouse.pl>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0d51a41874
commit
6da7a7fcc7
@@ -1,6 +1,6 @@
|
||||
name: openldap
|
||||
home: https://www.openldap.org
|
||||
version: 0.2.4
|
||||
version: 0.3.0
|
||||
appVersion: 2.4.44
|
||||
description: Community developed LDAP software
|
||||
icon: http://www.openldap.org/images/headers/LDAPworm.gif
|
||||
|
||||
@@ -26,6 +26,7 @@ The following table lists the configurable parameters of the openldap chart and
|
||||
| Parameter | Description | Default |
|
||||
| ---------------------------------- | ------------------------------------------------------------------------- | ------------------|
|
||||
| `replicaCount` | Number of replicas | `1` |
|
||||
| `strategy` | Deployment strategy | `{}` |
|
||||
| `image.repository` | Container image repository | `osixia/openldap` |
|
||||
| `image.tag` | Container image tag | `1.1.10` |
|
||||
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
|
||||
|
||||
@@ -12,6 +12,10 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- if .Values.strategy }}
|
||||
strategy:
|
||||
{{ toYaml .Values.strategy | indent 4 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "openldap.name" . }}
|
||||
|
||||
@@ -3,6 +3,19 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
# Define deployment strategy - IMPORTANT: use rollingUpdate: null when use Recreate strategy.
|
||||
# It prevents from merging with existing map keys which are forbidden.
|
||||
strategy: {}
|
||||
# type: RollingUpdate
|
||||
# rollingUpdate:
|
||||
# maxSurge: 1
|
||||
# maxUnavailable: 0
|
||||
#
|
||||
# or
|
||||
#
|
||||
# type: Recreate
|
||||
# rollingUpdate: null
|
||||
image:
|
||||
# From repository https://github.com/osixia/docker-openldap
|
||||
repository: osixia/openldap
|
||||
|
||||
Reference in New Issue
Block a user