Skip to content

Commit e3c5dd8

Browse files
authored
Fixes to golang tutorial (#6321)
These fixes sync the examples with the code Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
1 parent f5c0a5c commit e3c5dd8

File tree

1 file changed

+2
-1
lines changed
  • website/content/en/docs/building-operators/golang

1 file changed

+2
-1
lines changed

website/content/en/docs/building-operators/golang/tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ type MemcachedSpec struct {
115115
// The following markers will use OpenAPI v3 schema to validate the value
116116
// More info: https://book.kubebuilder.io/reference/markers/crd-validation.html
117117
// +kubebuilder:validation:Minimum=1
118-
// +kubebuilder:validation:Maximum=3
118+
// +kubebuilder:validation:Maximum=5
119119
// +kubebuilder:validation:ExclusiveMaximum=false
120120

121121
// Size defines the number of Memcached instances
@@ -406,6 +406,7 @@ metadata:
406406
name: memcached-sample
407407
spec:
408408
size: 3
409+
containerPort: 11211
409410
```
410411
411412
Create the CR:

0 commit comments

Comments
 (0)