mirror of https://github.com/status-im/consul.git
Add min/max kubetags to meshgatewaylistener (#20149)
* add kubetags * generate proto
This commit is contained in:
parent
cff5f0ce3b
commit
7d92a5dfd6
|
@ -87,6 +87,8 @@ type MeshGatewayListener struct {
|
|||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// +kubebuilder:validation:Maximum=65535
|
||||
// +kubebuilder:validation:Minimum=0
|
||||
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -19,5 +19,7 @@ message MeshGateway {
|
|||
|
||||
message MeshGatewayListener {
|
||||
string name = 1;
|
||||
// +kubebuilder:validation:Maximum=65535
|
||||
// +kubebuilder:validation:Minimum=0
|
||||
uint32 port = 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue