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:
parent
8ac7ec6525
commit
ef62e93608
@ -74,8 +74,6 @@ spec:
|
||||
tcpSocket:
|
||||
port: {{ .Values.conf.cinder.default.cinder.osapi_volume_listen_port }}
|
||||
volumeMounts:
|
||||
- name: pod-var-cache-cinder
|
||||
mountPath: /var/cache/cinder
|
||||
- name: cinder-bin
|
||||
mountPath: /tmp/cinder-api.sh
|
||||
subPath: cinder-api.sh
|
||||
@ -94,8 +92,6 @@ spec:
|
||||
readOnly: true
|
||||
{{ if $mounts_cinder_api.volumeMounts }}{{ toYaml $mounts_cinder_api.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: pod-var-cache-cinder
|
||||
emptyDir: {}
|
||||
- name: cinder-bin
|
||||
configMap:
|
||||
name: cinder-bin
|
||||
|
@ -77,8 +77,6 @@ spec:
|
||||
command:
|
||||
- /tmp/cinder-backup.sh
|
||||
volumeMounts:
|
||||
- name: pod-var-cache-cinder
|
||||
mountPath: /var/cache/cinder
|
||||
- name: cinder-bin
|
||||
mountPath: /tmp/cinder-backup.sh
|
||||
subPath: cinder-backup.sh
|
||||
@ -101,8 +99,6 @@ spec:
|
||||
{{- end -}}
|
||||
{{ if $mounts_cinder_backup.volumeMounts }}{{ toYaml $mounts_cinder_backup.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: pod-var-cache-cinder
|
||||
emptyDir: {}
|
||||
- name: cinder-etc
|
||||
configMap:
|
||||
name: cinder-etc
|
||||
|
@ -60,8 +60,6 @@ spec:
|
||||
command:
|
||||
- /tmp/cinder-scheduler.sh
|
||||
volumeMounts:
|
||||
- name: pod-var-cache-cinder
|
||||
mountPath: /var/cache/cinder
|
||||
- name: cinder-bin
|
||||
mountPath: /tmp/cinder-scheduler.sh
|
||||
subPath: cinder-scheduler.sh
|
||||
@ -80,8 +78,6 @@ spec:
|
||||
readOnly: true
|
||||
{{ if $mounts_cinder_scheduler.volumeMounts }}{{ toYaml $mounts_cinder_scheduler.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: pod-var-cache-cinder
|
||||
emptyDir: {}
|
||||
- name: cinder-bin
|
||||
configMap:
|
||||
name: cinder-bin
|
||||
|
@ -77,8 +77,6 @@ spec:
|
||||
command:
|
||||
- /tmp/cinder-volume.sh
|
||||
volumeMounts:
|
||||
- name: pod-var-cache-cinder
|
||||
mountPath: /var/cache/cinder
|
||||
- name: cinder-bin
|
||||
mountPath: /tmp/cinder-volume.sh
|
||||
subPath: cinder-volume.sh
|
||||
@ -105,8 +103,6 @@ spec:
|
||||
{{- end }}
|
||||
{{ if $mounts_cinder_volume.volumeMounts }}{{ toYaml $mounts_cinder_volume.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: pod-var-cache-cinder
|
||||
emptyDir: {}
|
||||
- name: cinder-bin
|
||||
configMap:
|
||||
name: cinder-bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user