Skip to content

Commit

Permalink
Fix API ref docs to include Plugin type description
Browse files Browse the repository at this point in the history
  • Loading branch information
coro authored and ChunyiLyu committed Feb 18, 2021
1 parent 44521b4 commit 884ff57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/v1beta1/rabbitmqcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ type TLSSpec struct {

// kubebuilder validating tags 'Pattern' and 'MaxLength' must be specified on string type.
// Alias type 'string' as 'Plugin' to specify schema validation on items of the list 'AdditionalPlugins'

// A Plugin to enable on the RabbitmqCluster.
// +kubebuilder:validation:Pattern:="^\\w+$"
// +kubebuilder:validation:MaxLength=100
type Plugin string
Expand Down
2 changes: 1 addition & 1 deletion docs/api/rabbitmq.com.ref.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ PersistentVolumeClaim is an embedded version of k8s.io/api/core/v1.PersistentVol
[id="{anchor_prefix}-github-com-rabbitmq-cluster-operator-api-v1beta1-plugin"]
==== Plugin (string)


A Plugin to enable on the RabbitmqCluster.

.Appears In:
****
Expand Down

0 comments on commit 884ff57

Please sign in to comment.