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

Backport of [NET-6465] Consider init container resources when determining if existing + desired deployments are equal into release/1.3.x #3578

Conversation

hc-github-team-consul-core

Backport

This PR is auto-generated from #3575 to be assessed for backporting due to the inclusion of the label backport/1.3.x.

The below text is copied from the body of the original PR.


Note

This is a followup to #3531

Changes proposed in this PR

When there's an existing Deployment in the cluster and we're comparing it against our desired state to determine if there's an update to be made, the comparison needs to consider whether the resources for the init container(s) have been updated.

How I've tested this PR

  1. Create a Gateway on a cluster having helm install-ed with or without a value for .Values.connectInject.initContainer.resources.
  2. Change the value of .Values.connectInject.initContainer.resources and helm upgrade
  3. Verify that cycling the gateway Pod triggers an update to the resources of the init container to match your values. This cycling requirement is consistent with how regular service Deployments in Consul mesh behave due to needing some action to trigger the reconciliation process.

How I expect reviewers to test this PR

See above

Checklist


Overview of commits

Copy link
Member

@nathancoleman nathancoleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches source PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit fd3c6b6 into release/1.3.x Feb 7, 2024
25 of 49 checks passed
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/consider-init-containers-when-diffing/sincerely-flowing-monster branch February 7, 2024 22:20
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.

2 participants