Skip to content

Commit

Permalink
Fix names of config-data volume mounts
Browse files Browse the repository at this point in the history
These clashed with the existing config-data-merged mount which is
included in all containers.
  • Loading branch information
steveb committed Sep 16, 2024
1 parent 25ef578 commit 0a26cab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/ironic/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func GetDBSyncVolumeMounts() []corev1.VolumeMount {

volumeMounts := []corev1.VolumeMount{
{
Name: "config-data-merged",
Name: "config-data",
MountPath: "/var/lib/kolla/config_files/config.json",
SubPath: "db-sync-config.json",
ReadOnly: true,
Expand Down
2 changes: 1 addition & 1 deletion pkg/ironicapi/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func GetInitVolumeMounts() []corev1.VolumeMount {
func GetVolumeMounts() []corev1.VolumeMount {
volumeMounts := []corev1.VolumeMount{
{
Name: "config-data-merged",
Name: "config-data",
MountPath: "/var/lib/kolla/config_files/config.json",
SubPath: "ironic-api-config.json",
ReadOnly: true,
Expand Down
2 changes: 1 addition & 1 deletion pkg/ironicconductor/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func GetInitVolumeMounts() []corev1.VolumeMount {
func GetVolumeMounts(serviceName string) []corev1.VolumeMount {
volumeMounts := []corev1.VolumeMount{
{
Name: "config-data-merged",
Name: "config-data",
MountPath: "/var/lib/kolla/config_files/config.json",
SubPath: serviceName + "-config.json",
ReadOnly: true,
Expand Down
2 changes: 1 addition & 1 deletion pkg/ironicneutronagent/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func GetVolumeMounts() []corev1.VolumeMount {
ReadOnly: false,
},
{
Name: "config-data-merged",
Name: "config-data",
MountPath: "/var/lib/kolla/config_files/config.json",
SubPath: "ironic-neutron-agent-config.json",
ReadOnly: true,
Expand Down

0 comments on commit 0a26cab

Please sign in to comment.