Commit cc09011 Maksym Trofimenko
committed
1 parent 173d919 commit cc09011 Copy full SHA for cc09011
File tree 6 files changed +17
-3
lines changed
6 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ _Appears in:_
252
252
| Field | Description |
253
253
| --- | --- |
254
254
| ` module ` _ string_ | Module name - container image repo + tag |
255
+ | ` module_version ` _ string_ | Module version semver v2 compatible (without v prefix) |
255
256
| ` component ` _ string_ | Component name within a module |
256
257
| ` ports ` _ [ TinyNodePortConfig] ( #tinynodeportconfig ) array_ | Port configurations |
257
258
| ` edges ` _ [ TinyNodeEdge] ( #tinynodeedge ) array_ | Edges to send message next |
Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ type TinyNodeSpec struct {
63
63
// +kubebuilder:validation:Required
64
64
Module string `json:"module"`
65
65
66
+ // Module version semver v2 compatible (without v prefix)
67
+ // +kubebuilder:validation:Required
68
+ // +kubebuilder:default="1.0.0"
69
+ ModuleVersion string `json:"module_version"`
70
+
66
71
// Component name within a module
67
72
// +kubebuilder:validation:Required
68
73
Component string `json:"component"`
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type: application
13
13
# This is the chart version. This version number should be incremented each time you make changes
14
14
# to the chart and its templates, including the app version.
15
15
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16
- version : 0.1.23
16
+ version : 0.1.24
17
17
# This is the version number of the application being deployed. This version number should be
18
18
# incremented each time you make changes to the application. Versions are not expected to
19
19
# follow Semantic Versioning. They should reflect the version the application is using.
Original file line number Diff line number Diff line change 70
70
module :
71
71
description : Module name - container image repo + tag
72
72
type : string
73
+ module_version :
74
+ default : ' '' 1.0.0'' '
75
+ description : Module version semver v2 compatible (without v prefix)
76
+ type : string
73
77
ports :
74
78
description : Port configurations
75
79
items :
96
100
required :
97
101
- component
98
102
- module
103
+ - module_version
99
104
type : object
100
105
status :
101
106
description : TinyNodeStatus defines the observed state of TinyNode
Original file line number Diff line number Diff line change 69
69
module :
70
70
description : Module name - container image repo + tag
71
71
type : string
72
+ module_version :
73
+ default : 1.0.0
74
+ description : Module version semver v2 compatible (without v prefix)
75
+ type : string
72
76
ports :
73
77
description : Port configurations
74
78
items :
95
99
required :
96
100
- component
97
101
- module
102
+ - module_version
98
103
type : object
99
104
status :
100
105
description : TinyNodeStatus defines the observed state of TinyNode
Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ type Scheduler interface {
29
29
HandleInternal (ctx context.Context , msg * runner.Msg ) error
30
30
//Destroy stops the instance and deletes it
31
31
Destroy (name string ) error
32
- //Start starts scheduler
33
- Start (ctx context.Context ) error
34
32
}
35
33
36
34
type Schedule struct {
You can’t perform that action at this time.
0 commit comments