diff --git a/incubator/rundeck/Chart.yaml b/incubator/rundeck/Chart.yaml index a6ca60aeff..f1373ca10a 100644 --- a/incubator/rundeck/Chart.yaml +++ b/incubator/rundeck/Chart.yaml @@ -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 diff --git a/incubator/rundeck/README.md b/incubator/rundeck/README.md index 0da4ce68e1..ed74e3184f 100644 --- a/incubator/rundeck/README.md +++ b/incubator/rundeck/README.md @@ -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 diff --git a/incubator/rundeck/templates/deployment.yaml b/incubator/rundeck/templates/deployment.yaml index d0c583ca0f..5e09013f7b 100644 --- a/incubator/rundeck/templates/deployment.yaml +++ b/incubator/rundeck/templates/deployment.yaml @@ -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" . }} diff --git a/incubator/rundeck/values.yaml b/incubator/rundeck/values.yaml index a99b68e059..99a4e2a40c 100644 --- a/incubator/rundeck/values.yaml +++ b/incubator/rundeck/values.yaml @@ -10,7 +10,7 @@ image: deployment: replicaCount: 1 annotations: {} - rolloutStrategy: + strategy: type: RollingUpdate # Recreate can help when using persistent volumes # type: Recreate