mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/rundeck] fixes broken deployment strategy and annotations (#22921)
* fixes broken deployment strategy and annotations Signed-off-by: Jonathan Cole <jonathan@mothership.com> * chart version bump Signed-off-by: Jonathan Cole <jonathan@mothership.com> * update README Signed-off-by: Jonathan Cole <jonathan@mothership.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: A Rundeck chart for Kubernetes
|
||||
name: rundeck
|
||||
home: https://github.com/rundeck/rundeck
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
appVersion: 3.2.7
|
||||
keywords:
|
||||
- rundeck
|
||||
|
||||
@@ -16,7 +16,7 @@ Parameter | Description | Default
|
||||
--------- | ----------- | -------
|
||||
deployment.replicaCount | How many replicas to run. Rundeck can really only work with one. | 1
|
||||
deployment.annotations | You can pass annotations inside deployment.spec.template.metadata.annotations. Useful for KIAM/Kube2IAM and others for example. | {}
|
||||
deployment.rolloutStrategy | Sets the K8s rollout strategy for the Rundeck deployment | { type: RollingUpdate }
|
||||
deployment.strategy | Sets the K8s rollout strategy for the Rundeck deployment | { type: RollingUpdate }
|
||||
image.repository | Name of the image to run, without the tag. | [rundeck/rundeck](https://github.com/rundeck/rundeck)
|
||||
image.tag | The image tag to use. | 3.2.7
|
||||
image.pullPolicy | The kubernetes image pull policy. | IfNotPresent
|
||||
|
||||
@@ -3,13 +3,14 @@ kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "rundeck.fullname" . }}
|
||||
labels: {{ include "rundeck.labels" . | indent 4 }}
|
||||
{{- with .Values.deployment.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.deployment.replicaCount }}
|
||||
strategy:
|
||||
{{- with .Values.deployment.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- toYaml .Values.deployment.strategy | nindent 4 }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "rundeck.name" . }}
|
||||
|
||||
@@ -10,7 +10,7 @@ image:
|
||||
deployment:
|
||||
replicaCount: 1
|
||||
annotations: {}
|
||||
rolloutStrategy:
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
# Recreate can help when using persistent volumes
|
||||
# type: Recreate
|
||||
|
||||
Reference in New Issue
Block a user