From 92be1ddfc5a242eacae8c34a4401eb1561240d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Fi=C5=82onowicz?= Date: Sun, 23 Aug 2020 18:27:40 +0200 Subject: [PATCH] Add imagePullSecrets feature and update versions in Chart.yaml (#23579) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Damian FiƂonowicz --- incubator/rundeck/Chart.yaml | 4 ++-- incubator/rundeck/README.md | 1 + incubator/rundeck/templates/deployment.yaml | 4 ++++ incubator/rundeck/templates/volume.yaml | 1 - 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/incubator/rundeck/Chart.yaml b/incubator/rundeck/Chart.yaml index 89a54c28f3..4f3fdcd3d7 100644 --- a/incubator/rundeck/Chart.yaml +++ b/incubator/rundeck/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v1 description: A Rundeck chart for Kubernetes name: rundeck home: https://github.com/rundeck/rundeck -version: 0.3.1 -appVersion: 3.2.8 +version: 0.3.2 +appVersion: 3.2.7 keywords: - rundeck - jobs diff --git a/incubator/rundeck/README.md b/incubator/rundeck/README.md index 5e92e90f1f..c2df3af233 100644 --- a/incubator/rundeck/README.md +++ b/incubator/rundeck/README.md @@ -20,6 +20,7 @@ deployment.strategy | Sets the K8s rollout strategy for the Rundeck deployment | 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 +image.pullSecrets | The kubernetes secret to pull the image from a private registry. | None service.type | The kubernetes service type to use. | ClusterIP service.port | The tcp port the service should listen on. | 80 ingress | Any ingress rules to apply. | None diff --git a/incubator/rundeck/templates/deployment.yaml b/incubator/rundeck/templates/deployment.yaml index 98edce3af4..9812be29d3 100644 --- a/incubator/rundeck/templates/deployment.yaml +++ b/incubator/rundeck/templates/deployment.yaml @@ -30,6 +30,10 @@ spec: serviceAccountName: {{ include "rundeck.serviceAccountName" . }} securityContext: fsGroup: 1000 + {{- if .Values.image.pullSecrets }} + imagePullSecrets: + - name: {{ .Values.image.pullSecrets }} + {{- end }} containers: - name: nginx image: nginx:stable diff --git a/incubator/rundeck/templates/volume.yaml b/incubator/rundeck/templates/volume.yaml index e3670f6de8..d5dbcff526 100644 --- a/incubator/rundeck/templates/volume.yaml +++ b/incubator/rundeck/templates/volume.yaml @@ -1,4 +1,3 @@ - {{- if and .Values.persistence.enabled .Values.persistence.claim.create }} kind: PersistentVolumeClaim apiVersion: v1