Remove /var/cache/cinder emptyDir volume

This patch removes unused `/var/cache/cinder` volume that is mounted for
each of Cinder services. I suppose it was added to serve as value of
`signing_dir` option from keystonemiddleware and is used to cache PKI
tokens. We're however never setting the option to that value and the
option was deprecated in Ocata, so we should be fine to remove it.

In case someone still wanted to use `signing_dir` config option, he can
easily confiure it back using config and volumes overrides.

Related-Bug: 1702072

Change-Id: I03460151e01293b19a864528561c80cab1a72114
This commit is contained in:
Michał Dulko 2017-07-03 13:42:01 +02:00
parent 8ac7ec6525
commit ef62e93608
4 changed files with 0 additions and 16 deletions

View File

@ -74,8 +74,6 @@ spec:
tcpSocket: tcpSocket:
port: {{ .Values.conf.cinder.default.cinder.osapi_volume_listen_port }} port: {{ .Values.conf.cinder.default.cinder.osapi_volume_listen_port }}
volumeMounts: volumeMounts:
- name: pod-var-cache-cinder
mountPath: /var/cache/cinder
- name: cinder-bin - name: cinder-bin
mountPath: /tmp/cinder-api.sh mountPath: /tmp/cinder-api.sh
subPath: cinder-api.sh subPath: cinder-api.sh
@ -94,8 +92,6 @@ spec:
readOnly: true readOnly: true
{{ if $mounts_cinder_api.volumeMounts }}{{ toYaml $mounts_cinder_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_api.volumeMounts }}{{ toYaml $mounts_cinder_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-var-cache-cinder
emptyDir: {}
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin

View File

@ -77,8 +77,6 @@ spec:
command: command:
- /tmp/cinder-backup.sh - /tmp/cinder-backup.sh
volumeMounts: volumeMounts:
- name: pod-var-cache-cinder
mountPath: /var/cache/cinder
- name: cinder-bin - name: cinder-bin
mountPath: /tmp/cinder-backup.sh mountPath: /tmp/cinder-backup.sh
subPath: cinder-backup.sh subPath: cinder-backup.sh
@ -101,8 +99,6 @@ spec:
{{- end -}} {{- end -}}
{{ if $mounts_cinder_backup.volumeMounts }}{{ toYaml $mounts_cinder_backup.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_backup.volumeMounts }}{{ toYaml $mounts_cinder_backup.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-var-cache-cinder
emptyDir: {}
- name: cinder-etc - name: cinder-etc
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -60,8 +60,6 @@ spec:
command: command:
- /tmp/cinder-scheduler.sh - /tmp/cinder-scheduler.sh
volumeMounts: volumeMounts:
- name: pod-var-cache-cinder
mountPath: /var/cache/cinder
- name: cinder-bin - name: cinder-bin
mountPath: /tmp/cinder-scheduler.sh mountPath: /tmp/cinder-scheduler.sh
subPath: cinder-scheduler.sh subPath: cinder-scheduler.sh
@ -80,8 +78,6 @@ spec:
readOnly: true readOnly: true
{{ if $mounts_cinder_scheduler.volumeMounts }}{{ toYaml $mounts_cinder_scheduler.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_scheduler.volumeMounts }}{{ toYaml $mounts_cinder_scheduler.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-var-cache-cinder
emptyDir: {}
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin

View File

@ -77,8 +77,6 @@ spec:
command: command:
- /tmp/cinder-volume.sh - /tmp/cinder-volume.sh
volumeMounts: volumeMounts:
- name: pod-var-cache-cinder
mountPath: /var/cache/cinder
- name: cinder-bin - name: cinder-bin
mountPath: /tmp/cinder-volume.sh mountPath: /tmp/cinder-volume.sh
subPath: cinder-volume.sh subPath: cinder-volume.sh
@ -105,8 +103,6 @@ spec:
{{- end }} {{- end }}
{{ if $mounts_cinder_volume.volumeMounts }}{{ toYaml $mounts_cinder_volume.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_volume.volumeMounts }}{{ toYaml $mounts_cinder_volume.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-var-cache-cinder
emptyDir: {}
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin