Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new upgrade command #64

Merged
merged 6 commits into from
Mar 8, 2021
Merged

Commits on Mar 5, 2021

  1. Add new upgrade command

    Lifted completely from helm, no changes other that removing
    autocompletion as we dont have that yet
    
    Signed-off-by: Itxaka <[email protected]>
    Itxaka committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    b10eae6 View commit details
    Browse the repository at this point in the history
  2. Use our Envsettings

    Instead of using directly the helmCli settings
    use our own composite type
    
    Signed-off-by: Itxaka <[email protected]>
    Itxaka committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    0b19606 View commit details
    Browse the repository at this point in the history
  3. Auto pick release name from chart

    Picks the name from the chart based of Annotations then
    falls back to the default name in the chart.yaml
    This allows us to only pass the chart path to upgrade.
    If this is called on a new chart install also works as
    expected by setting the chartname before calling install
    
    Signed-off-by: Itxaka <[email protected]>
    Itxaka committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    b72f54f View commit details
    Browse the repository at this point in the history
  4. Allow overriding release name via flag

    Allows to override the release name via a flag
    --release-name STRING which will ignore any
    annotations or names in the chart.yml file
    
    Adds the ReleaseName field to the hypper Upgrade struct
    to keep track of the release name.
    
    Works both on Upgrade and NewInstall
    
    Signed-off-by: Itxaka <[email protected]>
    Itxaka committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    2d74356 View commit details
    Browse the repository at this point in the history
  5. Fix upgrade tests

    As we automatically obtaine the release name, the upgrade
    tests needs some small fixes to work as expected
    
    Signed-off-by: Itxaka <[email protected]>
    Itxaka committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    4caa308 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Small fixes and comments addressed

     - Use composite type for History
     - Fix comments that refer to upgrade name
     - Missing doc comments
     - Missing license header
    
    Signed-off-by: Itxaka <[email protected]>
    Itxaka committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    e03c3b9 View commit details
    Browse the repository at this point in the history