Nova - Add ephemeral pool creation
- remove the ephemeral pool support from the rbd-provisioner helm chart. This was initially added to the rbd-provisioner helm chart to support initial integration efforts. - remove the info for the ephemeral pool(s) from the rbd-provisioner overrides. - update the nova overrides to include the necessary info for creating the ephemeral pool. Right now only one pool is included, but the nova chart supports multiple. Change-Id: I9850663fc86c62ed759714f1297cfdaa8183183f Story: 2005073 Task: 29647 Signed-off-by: Irina Mihai <irina.mihai@windriver.com>
This commit is contained in:
@@ -153,25 +153,7 @@ spec:
|
||||
- name: config-volume-{{- $root.Values.global.name }}
|
||||
mountPath: {{ $mount }}
|
||||
{{- end }}
|
||||
{{- range $ephemeralPool := $root.Values.ephemeral_pools }}
|
||||
- name: storage-init-{{- $ephemeralPool.pool_name }}
|
||||
image: {{ $root.Values.images.tags.rbd_provisioner_storage_init | quote }}
|
||||
command: [ "/bin/bash", "{{ $mount }}/check_ceph.sh" ]
|
||||
env:
|
||||
- name: NAMESPACE
|
||||
value: {{ $root.Release.Namespace }}
|
||||
- name: POOL_NAME
|
||||
value: {{ $ephemeralPool.pool_name }}
|
||||
- name: POOL_REPLICATION
|
||||
value: {{ $ephemeralPool.replication | quote }}
|
||||
- name: POOL_CRUSH_RULE_NAME
|
||||
value: {{ $ephemeralPool.crush_rule_name | quote }}
|
||||
- name: POOL_CHUNK_SIZE
|
||||
value: {{ $ephemeralPool.chunk_size | quote }}
|
||||
volumeMounts:
|
||||
- name: config-volume-{{- $root.Values.global.name }}
|
||||
mountPath: {{ $mount }}
|
||||
{{- end }}
|
||||
|
||||
---
|
||||
# This ConfigMap is needed because we're not using ceph's helm chart
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user