Added cluster/temp_cache_dir
When using Barbican with a large number of clusters, this option can allow Magnum to cache the certificates locally to avoid hitting the API excessively. It is enabled out of the box however since we don't have that folder, it is not working. Change-Id: I63cb35798b82460f7addd4ec719c157e2c1c4fd9
This commit is contained in:
parent
96d0c5828c
commit
8596470609
@ -14,7 +14,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Magnum
|
description: OpenStack-Helm Magnum
|
||||||
name: magnum
|
name: magnum
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
home: https://docs.openstack.org/magnum/latest/
|
home: https://docs.openstack.org/magnum/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -108,6 +108,8 @@ spec:
|
|||||||
mountPath: /tmp/pod-shared
|
mountPath: /tmp/pod-shared
|
||||||
- name: magnum-lock-path
|
- name: magnum-lock-path
|
||||||
mountPath: {{ .Values.conf.magnum.oslo_concurrency.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 }}
|
{{ if $mounts_magnum_conductor.volumeMounts }}{{ toYaml $mounts_magnum_conductor.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
@ -126,5 +128,7 @@ spec:
|
|||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
- name: magnum-lock-path
|
- name: magnum-lock-path
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: magnum-certificate-cache
|
||||||
|
emptyDir: {}
|
||||||
{{ if $mounts_magnum_conductor.volumes }}{{ toYaml $mounts_magnum_conductor.volumes | indent 8 }}{{ end }}
|
{{ if $mounts_magnum_conductor.volumes }}{{ toYaml $mounts_magnum_conductor.volumes | indent 8 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -115,6 +115,8 @@ conf:
|
|||||||
DEFAULT:
|
DEFAULT:
|
||||||
log_config_append: /etc/magnum/logging.conf
|
log_config_append: /etc/magnum/logging.conf
|
||||||
transport_url: null
|
transport_url: null
|
||||||
|
cluster:
|
||||||
|
temp_cache_dir: /var/lib/magnum/certificate-cache
|
||||||
oslo_messaging_notifications:
|
oslo_messaging_notifications:
|
||||||
driver: messaging
|
driver: messaging
|
||||||
oslo_concurrency:
|
oslo_concurrency:
|
||||||
|
@ -7,4 +7,5 @@ magnum:
|
|||||||
- 0.2.1 Use policies in yaml format
|
- 0.2.1 Use policies in yaml format
|
||||||
- 0.2.2 Fix restarting of magnum-conductor pods
|
- 0.2.2 Fix restarting of magnum-conductor pods
|
||||||
- 0.2.3 Update htk requirements repo
|
- 0.2.3 Update htk requirements repo
|
||||||
|
- 0.2.4 Mount empty temp_cache_dir for performance
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user