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
I'm looking for feedback on how you use parameters with your bundle. Let's say you had a bundle with a parameter: logLevel.
Install the bundle and don't specify the logLevel parameter. It uses the default value in the bundle.
You realize you need ALL THE LOGS so you run porter upgrade --param logLevel=11
Now you need to update to the latest version of the app. So you run porter upgrade but do not specify the logLevel.
Questions
Did you want/expect logLevel to get reset back to the bundle default since you didn't specify this value?
Did you want/hope that logLevel would use the last parameter value passed, and would therefore stay at 11?
Alternate scenario with parameter sets:
Install the bundle and use a parameter set that specifies all the parameters. The logLevel is 1.
You realize you need ALL THE LOGS so do you
a. Run porter upgrade --param logLevel=11 OR
b. Set logLevel to 11 in your parameter set and run porter upgrade -p myparamset?
You update the app to the latest version with porter upgrade -p myparamset. What do you expect to happen to the logLevel?
What I am trying to feel out is do you want your parameters persisted with the installation? Or do you prefer to keep them all in a file (similar to helm's value.yaml file)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm looking for feedback on how you use parameters with your bundle. Let's say you had a bundle with a parameter: logLevel.
porter upgrade --param logLevel=11
porter upgrade
but do not specify the logLevel.Questions
Alternate scenario with parameter sets:
a. Run
porter upgrade --param logLevel=11
ORb. Set logLevel to 11 in your parameter set and run
porter upgrade -p myparamset
?porter upgrade -p myparamset
. What do you expect to happen to the logLevel?What I am trying to feel out is do you want your parameters persisted with the installation? Or do you prefer to keep them all in a file (similar to helm's value.yaml file)?
Beta Was this translation helpful? Give feedback.
All reactions