File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ usage() {
34
34
echo
35
35
echo " Create a RabbitMQ custom resource - INSTANCE name required, all other flags optional"
36
36
echo " kubectl rabbitmq create INSTANCE --replicas 1 --service ClusterIP --image rabbitmq:3.8.8 --image-pull-secret mysecret"
37
+ echo " --tls-secret secret-name --storage-class mystorageclass"
37
38
echo
38
39
echo " Get a RabbitMQ custom resource and dependant objects"
39
40
echo " kubectl rabbitmq get INSTANCE"
@@ -153,6 +154,12 @@ create() {
153
154
echo " secretName: $1 " >> " $rabbitmq_manifest_file "
154
155
shift 1
155
156
;;
157
+ " --storage-class" )
158
+ shift 1
159
+ echo " persistence:" >> " $rabbitmq_manifest_file "
160
+ echo " storageClassName: $1 " >> " $rabbitmq_manifest_file "
161
+ shift 1
162
+ ;;
156
163
* )
157
164
# Unrecognised or unsupported option
158
165
echo " Option '$1 ' not recongnised"
You can’t perform that action at this time.
0 commit comments