Skip to content

Commit

Permalink
Fixes to golang tutorial (#6321)
Browse files Browse the repository at this point in the history
These fixes sync the examples with the code

Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
  • Loading branch information
dharmit committed Feb 28, 2023
1 parent f5c0a5c commit e3c5dd8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ type MemcachedSpec struct {
// The following markers will use OpenAPI v3 schema to validate the value
// More info: https://book.kubebuilder.io/reference/markers/crd-validation.html
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=3
// +kubebuilder:validation:Maximum=5
// +kubebuilder:validation:ExclusiveMaximum=false

// Size defines the number of Memcached instances
Expand Down Expand Up @@ -406,6 +406,7 @@ metadata:
name: memcached-sample
spec:
size: 3
containerPort: 11211
```

Create the CR:
Expand Down

0 comments on commit e3c5dd8

Please sign in to comment.