Skip to content

Commit 6f55424

Browse files
Change config options to dashes & update charm-refresh to v3.1.0.0 (#1097)
- Update charm refresh to v3.1.0.0 - Use pause-after-unit-refresh config option instead of pause_after_unit_refresh - For all other config options, switch to dashes with backwards-compatible fallback to previous name with underscores
1 parent df70da8 commit 6f55424

File tree

17 files changed

+1277
-113
lines changed

17 files changed

+1277
-113
lines changed

actions.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,52 +28,52 @@ pre-refresh-check:
2828
force-refresh-start:
2929
description: |
3030
Potential of data loss and downtime
31-
31+
3232
Force refresh of first unit
33-
33+
3434
Must run with at least one of the parameters `=false`
3535
params:
3636
check-compatibility:
3737
type: boolean
3838
default: true
3939
description: |
4040
Potential of data loss and downtime
41-
41+
4242
If `false`, force refresh if new version of PostgreSQL and/or charm is not compatible with previous version
4343
run-pre-refresh-checks:
4444
type: boolean
4545
default: true
4646
description: |
4747
Potential of data loss and downtime
48-
48+
4949
If `false`, force refresh if app is unhealthy or not ready to refresh (and unit status shows "Pre-refresh check failed")
5050
check-workload-container:
5151
type: boolean
5252
default: true
5353
description: |
5454
Potential of data loss and downtime during and after refresh
55-
55+
5656
If `false`, allow refresh to PostgreSQL container version that has not been validated to work with the charm revision
5757
additionalProperties: false
5858
resume-refresh:
5959
description: |
6060
Refresh next unit(s) (after you have manually verified that refreshed units are healthy)
61-
62-
If the `pause_after_unit_refresh` config is set to `all`, this action will refresh the next unit.
63-
64-
If `pause_after_unit_refresh` is set to `first`, this action will refresh all remaining units.
61+
62+
If the `pause-after-unit-refresh` config is set to `all`, this action will refresh the next unit.
63+
64+
If `pause-after-unit-refresh` is set to `first`, this action will refresh all remaining units.
6565
Exception: if automatic health checks fail after a unit has refreshed, the refresh will pause.
66-
67-
If `pause_after_unit_refresh` is set to `none`, this action will have no effect unless it is called with `check-health-of-refreshed-units` as `false`.
66+
67+
If `pause-after-unit-refresh` is set to `none`, this action will have no effect unless it is called with `check-health-of-refreshed-units` as `false`.
6868
params:
6969
check-health-of-refreshed-units:
7070
type: boolean
7171
default: true
7272
description: |
7373
Potential of data loss and downtime
74-
74+
7575
If `false`, force refresh (of next unit) if 1 or more refreshed units are unhealthy
76-
76+
7777
Warning: if first unit to refresh is unhealthy, consider running `force-refresh-start` action on that unit instead of using this parameter.
7878
If first unit to refresh is unhealthy because compatibility checks, pre-refresh checks, or workload container checks are failing, this parameter is more destructive than the `force-refresh-start` action.
7979
additionalProperties: false

0 commit comments

Comments
 (0)