[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:
Jonathan Cole
2020-06-24 08:13:17 -07:00
committed by GitHub
parent a7074648da
commit cc69b438b9
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+5 -4
View File
@@ -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" . }}
+1 -1
View File
@@ -10,7 +10,7 @@ image:
deployment:
replicaCount: 1
annotations: {}
rolloutStrategy:
strategy:
type: RollingUpdate
# Recreate can help when using persistent volumes
# type: Recreate