mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/openvpn] Configurable update strategy (#5970)
This commit is contained in:
committed by
k8s-ci-robot
parent
a81d793022
commit
467c075fce
@@ -3,7 +3,7 @@ description: A Helm chart to install an openvpn server inside a kubernetes clust
|
||||
generation is also part of the deployment, and this chart will generate client keys
|
||||
as needed.
|
||||
name: openvpn
|
||||
version: 3.5.1
|
||||
version: 3.6.0
|
||||
appVersion: 1.1.0
|
||||
maintainers:
|
||||
- name: jfelten
|
||||
|
||||
@@ -54,6 +54,7 @@ and can be overwritten via the helm `--set` flag.
|
||||
Parameter | Description | Default
|
||||
--- | --- | ---
|
||||
`replicaCount` | amount of parallel openvpn replicas to be started | `1`
|
||||
`updateStrategy` | update strategy for deployment | `{}`
|
||||
`image.repository` | `openvpn` image repository | `jfelten/openvpn-docker`
|
||||
`image.tag` | `openvpn` image tag | `1.1.0`
|
||||
`image.pullPolicy` | Image pull policy | `IfNotPresent`
|
||||
|
||||
@@ -9,6 +9,10 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- if .Values.updateStrategy }}
|
||||
strategy:
|
||||
{{ toYaml .Values.updateStrategy | indent 4 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "openvpn.name" . }}
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
replicaCount: 1
|
||||
|
||||
updateStrategy: {}
|
||||
# type: RollingUpdate
|
||||
# rollingUpdate:
|
||||
# maxSurge: 1
|
||||
# maxUnavailable: 0
|
||||
|
||||
image:
|
||||
repository: jfelten/openvpn-docker
|
||||
tag: 1.1.0
|
||||
|
||||
Reference in New Issue
Block a user