Merge "Added cluster/temp_cache_dir"

This commit is contained in:
Zuul 2022-01-12 23:26:10 +00:00 committed by Gerrit Code Review
commit 2687a9d24f
4 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Magnum
name: magnum
version: 0.2.3
version: 0.2.4
home: https://docs.openstack.org/magnum/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png
sources:

View File

@ -108,6 +108,8 @@ spec:
mountPath: /tmp/pod-shared
- name: magnum-lock-path
mountPath: {{ .Values.conf.magnum.oslo_concurrency.lock_path }}
- name: magnum-certificate-cache
mountPath: {{ .Values.conf.magnum.cluster.temp_cache_dir }}
{{ if $mounts_magnum_conductor.volumeMounts }}{{ toYaml $mounts_magnum_conductor.volumeMounts | indent 12 }}{{ end }}
volumes:
- name: pod-tmp
@ -126,5 +128,7 @@ spec:
defaultMode: 0444
- name: magnum-lock-path
emptyDir: {}
- name: magnum-certificate-cache
emptyDir: {}
{{ if $mounts_magnum_conductor.volumes }}{{ toYaml $mounts_magnum_conductor.volumes | indent 8 }}{{ end }}
{{- end }}

View File

@ -115,6 +115,8 @@ conf:
DEFAULT:
log_config_append: /etc/magnum/logging.conf
transport_url: null
cluster:
temp_cache_dir: /var/lib/magnum/certificate-cache
oslo_messaging_notifications:
driver: messaging
oslo_concurrency:

View File

@ -7,4 +7,5 @@ magnum:
- 0.2.1 Use policies in yaml format
- 0.2.2 Fix restarting of magnum-conductor pods
- 0.2.3 Update htk requirements repo
- 0.2.4 Mount empty temp_cache_dir for performance
...