You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cf-common): controller and rollout global values (#14)
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
* fix(cf-common): controller and rollout global values
| controller.labels | object | `{}` | Set labels on controller |
70
70
| controller.replicas | string | `nil` | Set number of pods |
71
71
| controller.revisionHistoryLimit | string | `nil` | Set ReplicaSet revision history limit |
72
-
| controller.type | string | `nil` | Define the controller type (`deployment`) |
72
+
| controller.type | string | `""` | Define the controller type (`deployment` \ `rollout`) |
73
73
| extraResources | list | `[]` | Array of extra objects to deploy with the release |
74
-
| global | object | `{"env":{},"imagePullSecrets":[],"imageRegistry":"","rollout":{"analysis":{"successfulRunHistoryLimit":null,"unsuccessfulRunHistoryLimit":null},"canary":{"maxSurge":null,"maxUnavailable":null,"steps":[{"setWeight":null},{"pause":{"duration":null}},{"setWeight":null},{"pause":{"duration":null}}]},"strategy":null}}` | Global parameters |
74
+
| global | object | `{"controller":{"deployment":{"rollingUpdate":{"maxSurge":null,"maxUnavailable":null},"strategy":null},"rollout":{"analysis":{"successfulRunHistoryLimit":null,"unsuccessfulRunHistoryLimit":null},"canary":{"maxSurge":null,"maxUnavailable":null,"steps":[{"setWeight":null},{"pause":{"duration":null}},{"setWeight":null},{"pause":{"duration":null}}]},"strategy":null},"type":""},"env":{},"imagePullSecrets":[],"imageRegistry":""}` | Global parameters |
75
+
| global.controller.deployment.rollingUpdate.maxSurge | string | `nil` | Set RollingUpdate max surge (absolute number or percentage) |
76
+
| global.controller.deployment.rollingUpdate.maxUnavailable | string | `nil` | Set RollingUpdate max unavailable (absolute number or percentage) |
Copy file name to clipboardExpand all lines: charts/cf-common/values.yaml
+42-28Lines changed: 42 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -7,39 +7,53 @@ global:
7
7
# E.g.
8
8
# imagePullSecrets:
9
9
# - myRegistrySecret
10
-
# Global Rollout parameters
11
-
rollout:
12
-
analysis:
13
-
# Limits the number of successful analysis runs and experiments to be stored in a history
14
-
successfulRunHistoryLimit:
15
-
# Limits the number of unsuccessful analysis runs and experiments to be stored in a history. ( Stages for unsuccessful: "Error", "Failed", "Inconclusive" )
16
-
unsuccessfulRunHistoryLimit:
17
-
# Rollout update strategy - can be Canary or BlueGreen.
18
-
strategy:
19
-
# Canary update strategy parameters
20
-
canary:
21
-
# The maximum number of pods that can be unavailable during the update. Value can be an absolute number / percentage
22
-
maxUnavailable:
23
-
# The maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number / percentage
24
-
maxSurge:
25
-
# Steps define sequence of steps to take during an update of the canary.
26
-
steps:
27
-
# Sets the ratio of canary ReplicaSet in percentage.
28
-
- setWeight:
29
-
# Pauses the rollout for configured duration of time. Supported units: s, m, h. when setting `duration: {}` it will pauses indefinitely until manually resumed
30
-
- pause:
31
-
duration:
32
-
- setWeight:
33
-
- pause:
34
-
duration:
10
+
# Global controller parameters
11
+
controller:
12
+
# -- Define the controller type (`deployment` \ `rollout`)
13
+
type: ""
14
+
# Deployment parameters (overrides for global.deployment values)
15
+
deployment:
16
+
# -- Set deployment upgrade strategy (`RollingUpdate`/`Recreate`)
17
+
strategy:
18
+
# RollingUpdate strategy parameters
19
+
rollingUpdate:
20
+
# -- Set RollingUpdate max unavailable (absolute number or percentage)
21
+
maxUnavailable:
22
+
# -- Set RollingUpdate max surge (absolute number or percentage)
23
+
maxSurge:
24
+
# Global Rollout parameters
25
+
rollout:
26
+
analysis:
27
+
# Limits the number of successful analysis runs and experiments to be stored in a history
28
+
successfulRunHistoryLimit:
29
+
# Limits the number of unsuccessful analysis runs and experiments to be stored in a history. ( Stages for unsuccessful: "Error", "Failed", "Inconclusive" )
30
+
unsuccessfulRunHistoryLimit:
31
+
# Rollout update strategy - can be Canary or BlueGreen.
32
+
strategy:
33
+
# Canary update strategy parameters
34
+
canary:
35
+
# The maximum number of pods that can be unavailable during the update. Value can be an absolute number / percentage
36
+
maxUnavailable:
37
+
# The maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number / percentage
38
+
maxSurge:
39
+
# Steps define sequence of steps to take during an update of the canary.
40
+
steps:
41
+
# Sets the ratio of canary ReplicaSet in percentage.
42
+
- setWeight:
43
+
# Pauses the rollout for configured duration of time. Supported units: s, m, h. when setting `duration: {}` it will pauses indefinitely until manually resumed
44
+
- pause:
45
+
duration:
46
+
- setWeight:
47
+
- pause:
48
+
duration:
35
49
# -- Global Env vars. NO precedence over `.Values.container.env`
36
50
env: {}
37
51
38
52
# -- Controller parameters
39
53
# @default -- See below
40
54
controller:
41
-
# -- Define the controller type (`deployment`)
42
-
type:
55
+
# -- Define the controller type (`deployment` \ `rollout`)
56
+
type:""
43
57
# -- Set labels on controller
44
58
labels: {}
45
59
# -- Set annotations on controller
@@ -48,7 +62,7 @@ controller:
48
62
replicas:
49
63
# -- Set ReplicaSet revision history limit
50
64
revisionHistoryLimit:
51
-
# Deployment parameters
65
+
# Deployment parameters (overrides for global.deployment values)
52
66
deployment:
53
67
# -- Set deployment upgrade strategy (`RollingUpdate`/`Recreate`)
0 commit comments