We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c0a5c commit e3c5dd8Copy full SHA for e3c5dd8
website/content/en/docs/building-operators/golang/tutorial.md
@@ -115,7 +115,7 @@ type MemcachedSpec struct {
115
// The following markers will use OpenAPI v3 schema to validate the value
116
// More info: https://book.kubebuilder.io/reference/markers/crd-validation.html
117
// +kubebuilder:validation:Minimum=1
118
- // +kubebuilder:validation:Maximum=3
+ // +kubebuilder:validation:Maximum=5
119
// +kubebuilder:validation:ExclusiveMaximum=false
120
121
// Size defines the number of Memcached instances
@@ -406,6 +406,7 @@ metadata:
406
name: memcached-sample
407
spec:
408
size: 3
409
+ containerPort: 11211
410
```
411
412
Create the CR:
0 commit comments