Skip to content

Commit 884ff57

Browse files
coroChunyiLyu
authored andcommitted
Fix API ref docs to include Plugin type description
1 parent 44521b4 commit 884ff57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/v1beta1/rabbitmqcluster_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ type TLSSpec struct {
274274

275275
// kubebuilder validating tags 'Pattern' and 'MaxLength' must be specified on string type.
276276
// Alias type 'string' as 'Plugin' to specify schema validation on items of the list 'AdditionalPlugins'
277+
278+
// A Plugin to enable on the RabbitmqCluster.
277279
// +kubebuilder:validation:Pattern:="^\\w+$"
278280
// +kubebuilder:validation:MaxLength=100
279281
type Plugin string

docs/api/rabbitmq.com.ref.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ PersistentVolumeClaim is an embedded version of k8s.io/api/core/v1.PersistentVol
8484
[id="{anchor_prefix}-github-com-rabbitmq-cluster-operator-api-v1beta1-plugin"]
8585
==== Plugin (string)
8686

87-
87+
A Plugin to enable on the RabbitmqCluster.
8888

8989
.Appears In:
9090
****

0 commit comments

Comments
 (0)