Skip to content

Commit

Permalink
Merge pull request #277 from fmount/uni04delta
Browse files Browse the repository at this point in the history
Move manila config in uni04delta DT

This patch adds the missing ConfigMap(s) in the uni04delta DT to allow to properly build manila and glance w/ the appropriate configuration.

Reviewed-by: Francesco Pantano <[email protected]>
Reviewed-by: John Fulton <[email protected]>
  • Loading branch information
2 parents 6d62494 + 550d668 commit bd44a1e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
4 changes: 2 additions & 2 deletions dt/uni04delta/edpm/nodeset/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ replacements:
- source:
kind: ConfigMap
name: service-values
fieldPath: data.manila.manilaShares.share1.customServiceConfig
fieldPath: data.manila.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.manila.template.manilaShares.share1.customServiceConfig
- spec.manila.template.customServiceConfig
options:
create: true

Expand Down
32 changes: 13 additions & 19 deletions examples/dt/uni04delta/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,20 @@ data:

manila:
enabled: true
manilaShares:
share1:
customServiceConfig: |
[DEFAULT]
enabled_share_backends = cephfs
enabled_share_protocols = cephfs
customServiceConfig: |
[DEFAULT]
enabled_share_backends = cephfs
enabled_share_protocols = cephfs
[cephfs]
driver_handles_share_servers = False
share_backend_name = cephfs
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_cluster_name = ceph
cephfs_auth_id = openstack
cephfs_volume_mode = 0755
cephfs_protocol_helper_type = CEPHFS
manilaAPI:
customServiceConfig: |
[DEFAULT]
enabled_share_protocols=nfs,cephfs
[cephfs]
driver_handles_share_servers = False
share_backend_name = cephfs
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_cluster_name = ceph
cephfs_auth_id = openstack
cephfs_volume_mode = 0755
cephfs_protocol_helper_type = CEPHFS
neutron:
customServiceConfig: |
Expand Down

0 comments on commit bd44a1e

Please sign in to comment.