Add redis.storageClassName to permit an override of the storage class (#50)
This commit is contained in:
@@ -93,3 +93,4 @@ $ helm install robot-shop --set openshift=true helm
|
||||
| openshift | false | boolean | If OpenShift additional configuration is applied. |
|
||||
| payment.gateway | null | string | External URL end-point to simulate partial/3rd party traces. |
|
||||
| psp.enabled | false | boolean | Enable Pod Security Policy for clusters with a PSP Admission controller |
|
||||
| redis.storageClassName | standard | string | Storage class to use with Redis's StatefulSet. The default for EKS is gp2. |
|
||||
|
@@ -41,7 +41,7 @@ spec:
|
||||
spec:
|
||||
accessModes: [ "ReadWriteOnce" ]
|
||||
{{ if not .Values.openshift }}
|
||||
storageClassName: standard
|
||||
storageClassName: {{ .Values.redis.storageClassName }}
|
||||
volumeMode: Filesystem
|
||||
{{ end }}
|
||||
resources:
|
||||
|
@@ -28,3 +28,6 @@ nodeport: false
|
||||
# "special" Openshift. Set to true when deploying to any openshift flavour
|
||||
openshift: false
|
||||
|
||||
# Storage class to use with redis statefulset.
|
||||
redis:
|
||||
storageClassName: standard
|
||||
|
Reference in New Issue
Block a user