Skip to content

Commit d2304e7

Browse files
committed
Disable ManilaShare v1 by default in 19
19 Manila services do not provide ManilaShareV1 endpoints anymore. This change switches this behavior by providing the annotation that instruct manila-operator to not create v1 endpoints anymore. Signed-off-by: Francesco Pantano <fpantano@redhat.com>
1 parent b499545 commit d2304e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎internal/openstack/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func InitializeOpenStackVersionServiceDefaults(ctx context.Context) *corev1beta1
236236
defaults.GlanceLocationAPI = ptr.To("false") // disable location-api for RHOSO 18: this boolean can be switched to true with RHOSO 19 release
237237
// NOTE: In 18 Manila creates sharev1 service and endpoints. From 19 do not create sharev1 anymore
238238
// https://review.opendev.org/q/topic:%22remove-v1%22+and+project:openstack/manila
239-
defaults.ManilaSharev1 = &trueString // all Manila deployments create sharev1 endpoints by default
239+
defaults.ManilaSharev1 = ptr.To("false")
240240

241241
versionString := "4.2"
242242
defaults.RabbitmqVersion = &versionString // all new rabbitmq deployments will have rabbitmq-server 4.2 (FR5)

0 commit comments

Comments
 (0)