Skip to content

Commit 68bae1e

Browse files
author
Mohd Uzair
authored
Merge pull request #547 from MUzairS15/MUzairS15/update-crd-schema
update meshsync crd
2 parents 1cb522d + 993910a commit 68bae1e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

api/v1alpha1/meshsync_types.go

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type MeshSyncSpec struct {
4040
Size int32 `json:"size,omitempty" yaml:"size,omitempty"`
4141
Broker MeshsyncBroker `json:"broker,omitempty" yaml:"broker,omitempty"`
4242
WatchList corev1.ConfigMap `json:"watch-list,omitempty" yaml:"watch-list,omitempty"`
43+
Version string `json:"version,omitempty" yaml:"version,omitempty"`
4344
}
4445

4546
// MeshSyncStatus defines the observed state of MeshSync

config/crd/bases/meshery.layer5.io_meshsyncs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ spec:
5353
size:
5454
format: int32
5555
type: integer
56+
version:
57+
type: string
5658
watch-list:
5759
description: ConfigMap holds configuration data for pods to consume.
5860
properties:

0 commit comments

Comments
 (0)