Commit 9bcb41d9 authored by Waqar Ahmed's avatar Waqar Ahmed

Update plex migration to use updateStrategy

parent de0e83ad
def migrate(values):
values['appVolumeMounts'] = {
values.update({
'appVolumeMounts': {
'transcode': {
'hostPathEnabled': values['transcodeHostPathEnabled'],
**({'hostPath': values['transcodeHostPath']} if values.get('transcodeHostPath') else {})
......@@ -12,5 +13,7 @@ def migrate(values):
'hostPathEnabled': values['dataHostPathEnabled'],
**({'hostPath': values['dataHostPath']} if values.get('dataHostPath') else {})
},
}
},
'updateStrategy': values.get('strategyType', 'Recreate'),
})
return values
......@@ -113,7 +113,7 @@ questions:
- "definitions/timezone"
# Update strategy
- variable: strategyType
- variable: updateStrategy
description: "Upgrade Policy"
label: "Update Strategy"
group: "Scaling/Upgrade Policy"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment