fix var names
diff --git a/docs/storage.md b/docs/storage.md
index 6dc3f1e..a1bddc5 100644
--- a/docs/storage.md
+++ b/docs/storage.md
@@ -42,7 +42,7 @@
the use of the Cinder driver by adding the following to your Ansible inventory:
```yaml
-openstack_helm_glance_values:
+openstack_helm_glance_helm_values:
storage: cinder
conf:
glance:
diff --git a/roles/openstack_helm_glance/vars/main.yml b/roles/openstack_helm_glance/vars/main.yml
index eee4b45..1319706 100644
--- a/roles/openstack_helm_glance/vars/main.yml
+++ b/roles/openstack_helm_glance/vars/main.yml
@@ -25,13 +25,13 @@
glance:
container:
glance_api:
- allowPrivilegeEscalation: "{{ ('cinder' in openstack_helm_glance_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
- readOnlyRootFilesystem: "{{ ('cinder' not in openstack_helm_glance_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
- privileged: "{{ ('cinder' in openstack_helm_glance_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
+ allowPrivilegeEscalation: "{{ ('cinder' in openstack_helm_glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
+ readOnlyRootFilesystem: "{{ ('cinder' not in openstack_helm_glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
+ privileged: "{{ ('cinder' in openstack_helm_glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
capabilities:
- add: "{{ ('cinder' in openstack_helm_glance_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | ternary(['SYS_ADMIN'], []) }}"
+ add: "{{ ('cinder' in openstack_helm_glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | ternary(['SYS_ADMIN'], []) }}"
useHostNetwork:
- api: "{{ ('cinder' in openstack_helm_glance_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
+ api: "{{ ('cinder' in openstack_helm_glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
replicas:
api: 3
conf: