We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cdbb59 commit 2d3e1a9Copy full SHA for 2d3e1a9
charts/sourcebot/values.schema.json
@@ -38,15 +38,23 @@
38
},
39
"strategy": {
40
"type": "object",
41
- "properties": {
42
- "type": {
43
- "type": "string",
44
- "enum": ["RollingUpdate", "Recreate"]
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
45
+ "type": { "type": "string", "const": "RollingUpdate" },
46
+ "rollingUpdate": { "type": "object" }
47
+ },
48
+ "required": ["type"]
49
- "rollingUpdate": {
- "type": "object"
50
51
52
53
+ "type": { "type": "string", "const": "Recreate" }
54
55
56
}
- }
57
+ ]
58
59
"image": {
60
0 commit comments