Skip to content

Commit

Permalink
Mount under /var/lib/openstack/configs using EDPMServiceType
Browse files Browse the repository at this point in the history
Instead of using the service name when creating the mount path under
/var/lib/openstack/configs, use the value of EDPMServiceType, which
defaults to the service name, but would be overridden for custom
services. The roles in edpm-ansible can then rely on a consistent path
that doesn't change when using a custom service.

Jira: https://issues.redhat.com/browse/OSPRH-8651
Signed-off-by: James Slagle <[email protected]>
  • Loading branch information
slagle committed Jul 15, 2024
1 parent 65c922a commit 2f4efe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dataplane/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (d *Deployer) addCertMounts(
func (d *Deployer) addServiceExtraMounts(
service dataplanev1.OpenStackDataPlaneService,
) (*dataplanev1.AnsibleEESpec, error) {
baseMountPath := path.Join(ConfigPaths, service.Name)
baseMountPath := path.Join(ConfigPaths, service.Spec.EDPMServiceType)

var configMaps []*corev1.ConfigMap
var secrets []*corev1.Secret
Expand Down

0 comments on commit 2f4efe3

Please sign in to comment.