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

Helm v2.17.0 for werf #61

Open
wants to merge 25 commits into
base: release-2.17
Choose a base branch
from
Open

Helm v2.17.0 for werf #61

wants to merge 25 commits into from

Commits on Nov 5, 2020

  1. Customizable resources waiting behaviour for kube.Client struct

    Extend `kube.Client` implementation of `environment.KubeClient` interface with ResourcesWaiter object.
    
    ResourcesWaiter interface defines `WaitForResources` and `WatchUntilReady` methods and allows to redefine default waiting behaviour in custom helm builds. For example, to add logging of resources statuses, errors, pod's logs while waiting.
    
    Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    906f868 View commit details
    Browse the repository at this point in the history
  2. Added go.mod

    Cannot use go module converted from glide due to error: kubernetes/kubernetes#79384.
    
    Update k8s.io go deps to 1.16.0.
    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    ad6c629 View commit details
    Browse the repository at this point in the history
  3. 3-way-merge: annotations mode

    Write 3-way-merge and 2-way-merge patches to annotations:
    
    ```
    debug.werf.io/repair-patch
    debug.werf.io/repair-patch-errors
    ```
    
    Repair patch is a 3-way-merge kubectl-apply-like patch between current live resource state and desired chart state. User should apply this patch manually when live resource state is out of sync with the chart configuration resource state.
    
    A warning message will be written to the screen during deploy process when repair patch is not empty.
    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    f1cc356 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c89ace8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    23b8653 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a10b754 View commit details
    Browse the repository at this point in the history
  7. [3-way-merge] Create two pass 3wm repair patch: fix false-positive re…

    …pair patches
    
     - Create two-pass patch as follows: current object => apply 2 way merge helm patch => create 3 way merge first stage repair patch => apply first stage repair patch => create actual repair patch.
     - Filter out unnecessary fields during patch creation (such as volumeClaimTemplates, empty container/env values).
     - Normalize numeric limits and (100Gi, 1000m, etc.).
    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    dbe809c View commit details
    Browse the repository at this point in the history
  8. [3-way-merge] Cut excess repair-patch fields, validate chart templates

     - Manually cut out repair patch fields: $setElementsOrder, $retainKeys, spec.strategy.rollingUpdate=null.
     - Validate chart templates, write log warnings, add object annotation `debug.werf.io/validation-messages`.
     - Improved repair-patch creation to filter out invalid non-existing fields described in the chart template.
    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    db2b5c6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c029f7f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7d39799 View commit details
    Browse the repository at this point in the history
  11. Fix Printf format string

    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    370b5ee View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    639b288 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f323fd1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a6c68f9 View commit details
    Browse the repository at this point in the history
  15. Fix "resource already exists" error on redeploy when new resource wit…

    …h an error has been added to the chart
    distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    b203bf4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0c42502 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b973574 View commit details
    Browse the repository at this point in the history
  18. logboek@v0.3

    alexey-igrychev authored and distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    2384768 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    61eed85 View commit details
    Browse the repository at this point in the history
  20. Fix panic during sub chart validation

    The problem occurs when the following conditions are met:
    * A chart does not contain Chart.yaml file.
    * There is an invalid sub chart that does not pass validation.
    alexey-igrychev authored and distorhead committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    4d0c47a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9aa4661 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. [helm for werf] Remove errPending on upgrade

    errPending on upgrade could occur when some deploy has been interrupted by a signal.
    
    In this case helm leave release in inconsistent state which could not be healed by automatical redeploy.
    
    Werf uses own distributed release locking by release name using Kubernetes configmap annotations to synchronize multiple deploy processes. Werf implementation supports interrupting of werf-deploy process by some signal.
    distorhead committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    eeaecf2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #63 from werf/disableErrPending

    [v2.17.0][helm for werf] Remove errPending on upgrade
    distorhead committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    bd3efc6 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. [v2.17.0][helm for werf] Do not parse values with strict yaml parser …

    …to allow usage of anchors
    distorhead committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    295e772 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #81 from werf/fixStrictValuesParsing

    [v2.17.0][helm for werf] Do not parse values with strict yaml parser to allow usage of yaml-anchors
    distorhead committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    81e74d4 View commit details
    Browse the repository at this point in the history