Skip to content

Commit d15a691

Browse files
committed
chore: sync platform.schema.json to vCluster Platform version v4.1.0
1 parent 9706588 commit d15a691

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

platform.schema.json

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"AutoDelete": {
66
"properties": {
77
"afterInactivity": {
8-
"type": "integer"
8+
"type": "integer",
9+
"description": "AfterInactivity specifies after how many seconds of inactivity the virtual cluster be deleted\n+optional"
910
}
1011
},
1112
"additionalProperties": false,
@@ -14,16 +15,20 @@
1415
"AutoSleep": {
1516
"properties": {
1617
"afterInactivity": {
17-
"type": "integer"
18+
"type": "integer",
19+
"description": "AfterInactivity specifies after how many seconds of inactivity the virtual cluster should sleep\n+optional"
1820
},
1921
"schedule": {
20-
"type": "string"
22+
"type": "string",
23+
"description": "Schedule specifies scheduled virtual cluster sleep in Cron format, see https://en.wikipedia.org/wiki/Cron.\nNote: timezone defined in the schedule string will be ignored. Use \".Timezone\" field instead.\n+optional"
2124
},
2225
"timezone": {
23-
"type": "string"
26+
"type": "string",
27+
"description": "Timezone specifies time zone used for scheduled virtual cluster operations. Defaults to UTC.\nAccepts the same format as time.LoadLocation() in Go (https://pkg.go.dev/time#LoadLocation).\nThe value should be a location name corresponding to a file in the IANA Time Zone database, such as \"America/New_York\".\n+optional"
2428
},
2529
"autoWakeup": {
26-
"$ref": "#/$defs/AutoWakeup"
30+
"$ref": "#/$defs/AutoWakeup",
31+
"description": "AutoSleep holds configuration for automatic wakeup\n+optional"
2732
}
2833
},
2934
"additionalProperties": false,
@@ -32,7 +37,8 @@
3237
"AutoWakeup": {
3338
"properties": {
3439
"schedule": {
35-
"type": "string"
40+
"type": "string",
41+
"description": "Schedule specifies scheduled wakeup from sleep in Cron format, see https://en.wikipedia.org/wiki/Cron.\nNote: timezone defined in the schedule string will be ignored. The timezone for the autoSleep schedule will be\nused\n+optional"
3642
}
3743
},
3844
"additionalProperties": false,
@@ -41,12 +47,15 @@
4147
},
4248
"properties": {
4349
"autoSleep": {
44-
"$ref": "#/$defs/AutoSleep"
50+
"$ref": "#/$defs/AutoSleep",
51+
"description": "AutoSleep holds configuration for automatic sleep and wakeup\n+optional"
4552
},
4653
"autoDelete": {
47-
"$ref": "#/$defs/AutoDelete"
54+
"$ref": "#/$defs/AutoDelete",
55+
"description": "AutoDelete holds configuration for automatic delete\n+optional"
4856
}
4957
},
5058
"additionalProperties": false,
51-
"type": "object"
59+
"type": "object",
60+
"description": "PlatformConfig describes platform configuration for a vCluster."
5261
}

0 commit comments

Comments
 (0)