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

Set install and upgrade retries of HelmReleases to -1 #410

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

ubergesundheit
Copy link
Member

What does this PR do?

  • Set spec.install.remediation.retries to -1 from previous 30
  • Set spec.upgrade.remediation.retries to -1. This wasn't set at all previously

Any background context you can provide?

This is a follow up to PR #394 for giantswarm/roadmap#3664

  • CHANGELOG.md has been updated (if it exists)

@taylorbot
Copy link
Contributor

Hey @ubergesundheit, a test pull request has been created for you in the cluster-aws repo! Go to pull request giantswarm/cluster-aws#986 in order to test your cluster chart changes on AWS.

Copy link

github-actions bot commented Jan 9, 2025

There were differences in the rendered Helm template, please check! ⚠️

Output
=== Differences when rendered with values file helm/cluster/ci/test-cgroupsv1-values.yaml ===

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  ± value change
    - 30
    + -1



=== Differences when rendered with values file helm/cluster/ci/test-required-values.yaml ===

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  ± value change
    - 30
    + -1



=== Differences when rendered with values file helm/cluster/ci/test-zot-mc-and-local-values.yaml ===

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  ± value change
    - 30
    + -1



=== Differences when rendered with values file helm/cluster/ci/test-zot-mc-values.yaml ===

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  ± value change
    - 30
    + -1



=== Differences when rendered with values file helm/cluster/ci/test-zot-only-local-values.yaml ===

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-cilium)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-coredns)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-network-policies)
  ± value change
    - 30
    + -1

/spec  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  + one map entry added:
    upgrade:
      remediation:
        retries: -1

/spec/install/remediation/retries  (helm.toolkit.fluxcd.io/v2beta1/HelmRelease/org-giantswarm/awesome-vertical-pod-autoscaler-crd)
  ± value change
    - 30
    + -1

@ubergesundheit ubergesundheit requested a review from a team January 9, 2025 10:47
@Gacko Gacko merged commit 7fcc6bc into main Jan 9, 2025
13 checks passed
@Gacko Gacko deleted the helmreleases-retries-minus-one branch January 9, 2025 11:53
@Gacko
Copy link
Member

Gacko commented Jan 9, 2025

Thank you! No need to release this, yet, as it would make it way to clusters when released in the provider specific cluster app and a platform release, only. So we'll take care the next time we do releases. Also there's a breaking change on main which requires a v2.0.0 and cannot be introduced in v29.x.x platform releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants