-
Notifications
You must be signed in to change notification settings - Fork 227
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
#982 Fix Documentation for upgrade steps on a Rancher 2.6 air-gapped (originally installed and upgraded with helm template) #1066
#982 Fix Documentation for upgrade steps on a Rancher 2.6 air-gapped (originally installed and upgraded with helm template) #1066
Conversation
…originally installed and upgraded with helm template)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the first two lines of the upgrade command from that document, which includes the
--no-hooks
flag required to prevent the error from occurring. I included edits for v2.6, v2.7, and v2.8, because presumably this affects all Rancher versions going forward from v2.5.
Adding those two lines is essentially reverting the changes from #828 (to address #808) and going back to telling users to use Please ignore. I wasn't aware upgrades aren't affected (since #828 updated the command for upgrades as well), but as @axeal pointed out it's fine for upgrades.helm template
, which is not what we want due to the issues the helm template
+ --no-hooks
combo brings. The goal is to document a migration path to allow users that previously used helm template
to use helm upgrade
.
@btat |
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Show resolved
Hide resolved
@btat It adds a section named after the error a user would encounter if they had previously installed Rancher with |
…6-air-gapped-originally-installed-and-upgraded-with-helm-template' of https://github.com/martyav/rancher-docs into 982-fix-documentation-for-upgrade-steps-on-a-rancher-2-6-air-gapped-originally-installed-and-upgraded-with-helm-template
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
...rted/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/air-gapped-upgrades.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Lucas Saintarbor <[email protected]>
Fixes #982 (SURE-7154)
Addresses a problem that arose with #808
Reminders
See the README for more details on how to work with the Rancher docs.
Verify if changes pertain to other versions of Rancher. If they do, finalize the edits on one version of the page, then apply the edits to the other versions.
If the pull request is dependent on an upcoming release, make sure to target the release branch instead of
main
.Description
Adds advice for users who installed Rancher with
helm template
. Thehelm template
command is known to cause issues with upgrades under certain circumstances, and this is called out in our Release Notes (but see Comments below). #808 replaced commands containinghelm template
withhelm install
-- however, that still left users who had previously usedhelm template
on the (web)hook when they attempt to upgrade Rancher and encounter an UPGRADE FAILED error. Since v2.5 wasn't affected by #808, I copied the first two lines of the upgrade command from that document, which includes the--no-hooks
flag required to prevent the error from occurring. I included edits for v2.6, v2.7, and v2.8, because presumably this affects all Rancher versions going forward from v2.5.Comments
Oddly, the information in our release notes about this includes links to dead issues in the docs repo.
I'm guessing these originally linked to the old repo and got deleted at some point. I'll look into whether they were transferred to this repo later.