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
If I have a bundle that takes a parameter in one version, it does not seem possible to upgrade to another version of the same bundle where the parameter has been deleted.
I see many scenarios where bundles need to evolve over time and remove parameters that are no longer needed/valid.
To Reproduce
Steps to reproduce the behavior:
mkdir ~/param-bug
porter create
Edit porter.yaml to contain:
parameters:
- name: testparam
description: "A test param"
type: string
applyTo:
- install
- upgrade
porter build
porter install
Modify porter.yaml again and bump the version to 0.2.0 and remove the parameters section added in step 3.
porter build
porter upgrade
Expected behavior
I would be able to perform an upgrade
Porter Command and Output
~/param-bug$ porter upgrade
could not apply options to installation: parameter testparam not defined in bundle
could not apply options to installation: parameter testparam not defined in bundle
Describe the bug
If I have a bundle that takes a parameter in one version, it does not seem possible to upgrade to another version of the same bundle where the parameter has been deleted.
I see many scenarios where bundles need to evolve over time and remove parameters that are no longer needed/valid.
To Reproduce
Steps to reproduce the behavior:
version
to 0.2.0 and remove theparameters
section added in step 3.Expected behavior
I would be able to perform an upgrade
Porter Command and Output
Version
porter v1.0.14 (0e739d8)
The text was updated successfully, but these errors were encountered: