Skip to content

Commit 7620e52

Browse files
authored
Merge pull request #443 from rabbitmq/cluster-operator-441
Use RabbitMQ management image variant
2 parents 459c281 + 6f0af78 commit 7620e52

6 files changed

+6
-6
lines changed

api/v1beta1/rabbitmqcluster_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type RabbitmqClusterSpec struct {
4343
// +kubebuilder:default:=1
4444
Replicas *int32 `json:"replicas,omitempty"`
4545
// Image is the name of the RabbitMQ docker image to use for RabbitMQ nodes in the RabbitmqCluster.
46-
// +kubebuilder:default:="rabbitmq:3.8.9"
46+
// +kubebuilder:default:="rabbitmq:3.8.9-management"
4747
Image string `json:"image,omitempty"`
4848
// List of Secret resource containing access credentials to the registry for the RabbitMQ image. Required if the docker registry is private.
4949
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`

api/v1beta1/rabbitmqcluster_types_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ func generateRabbitmqClusterObject(clusterName string) *RabbitmqCluster {
474474
},
475475
Spec: RabbitmqClusterSpec{
476476
Replicas: pointer.Int32Ptr(1),
477-
Image: "rabbitmq:3.8.9",
477+
Image: "rabbitmq:3.8.9-management",
478478
TerminationGracePeriodSeconds: pointer.Int64Ptr(604800),
479479
Service: RabbitmqClusterServiceSpec{
480480
Type: "ClusterIP",

bin/kubectl-rabbitmq

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ usage() {
3333
echo " kubectl rabbitmq delete INSTANCE ..."
3434
echo
3535
echo " Create a RabbitMQ custom resource - INSTANCE name required, all other flags optional"
36-
echo " kubectl rabbitmq create INSTANCE --replicas 1 --service ClusterIP --image rabbitmq:3.8.9 --image-pull-secret mysecret"
36+
echo " kubectl rabbitmq create INSTANCE --replicas 1 --service ClusterIP --image rabbitmq:3.8.9-management --image-pull-secret mysecret"
3737
echo " --tls-secret secret-name --storage-class mystorageclass"
3838
echo
3939
echo " Get a RabbitMQ custom resource and dependant objects"

charts/rabbitmq/example-configurations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ annotations:
1717

1818
replicas: 3
1919

20-
image: "rabbitmq:3.8.1"
20+
image: "rabbitmq:3.8.9-management"
2121

2222
imagePullSecret: foo
2323

charts/rabbitmq/expected-template-output

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ metadata:
2020
annotation2: bar
2121

2222
spec:
23-
image: rabbitmq:3.8.1
23+
image: rabbitmq:3.8.9-management
2424
imagePullSecret: foo
2525
replicas: 3
2626
service:

config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ spec:
643643
type: object
644644
type: object
645645
image:
646-
default: rabbitmq:3.8.9
646+
default: rabbitmq:3.8.9-management
647647
description: Image is the name of the RabbitMQ docker image to use
648648
for RabbitMQ nodes in the RabbitmqCluster.
649649
type: string

0 commit comments

Comments
 (0)