[incubator/rundeck] Make "data" volume configurable from values file. (#23795)

* Updated new image

Signed-off-by: Etash Singh <etash.singh@hpe.com>

* Configurable mount path for data volume

Signed-off-by: Etash Singh <etash.singh@hpe.com>

* Updated chart version

Signed-off-by: Etash Singh <etash.singh@hpe.com>

* Updated deployment.yaml

Signed-off-by: Etash Singh <etash.singh@hpe.com>

Co-authored-by: Etash Singh <etash.singh@hpe.com>
This commit is contained in:
Etash Singh
2020-10-12 02:42:47 -07:00
committed by GitHub
co-authored by Etash Singh
parent eb5de49994
commit e2c16efcfa
3 changed files with 8 additions and 10 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.3.3
version: 0.3.4
appVersion: 3.2.7
keywords:
- rundeck
+3 -5
View File
@@ -81,8 +81,9 @@ spec:
- name: RUNDECK_LOGGING_STRATEGY
value: "CONSOLE"
volumeMounts:
- name: data
mountPath: /home/rundeck/server/data
{{- if .Values.volumeMounts }}
{{- toYaml .Values.volumeMounts | nindent 10}}
{{- end }}
{{- if .Values.rundeck.sshSecrets }}
- name: sshkeys
mountPath: /home/rundeck/.ssh
@@ -99,9 +100,6 @@ spec:
{{- if .Values.rundeck.extraConfigSecret }}
- name: extra-config
mountPath: /home/rundeck/extra/
{{- end }}
{{- if .Values.volumeMounts }}
{{- toYaml .Values.volumeMounts | nindent 10}}
{{- end }}
ports:
- name: rundeck
+4 -4
View File
@@ -146,10 +146,10 @@ volumes: ""
# - name: plugins
# emptyDir: {}
# volumeMounts to add to the rundeck container
volumeMounts: ""
# - mountPath: /home/rundeck/libext/
# name: plugins
# volumeMounts to add to the rundeck container and configurable paths
volumeMounts:
- name: data
mountPath: /home/rundeck/server/data
# initContainers can be used to download plugins or customise your rundeck installation
initContainers: ""