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

OSSM-9037 Show oc label command in Performing RevisionBased update procedure #90146

Open
wants to merge 1 commit into
base: service-mesh-docs-main
Choose a base branch
from

Conversation

gwynnemonahan
Copy link
Contributor

@gwynnemonahan gwynnemonahan commented Mar 12, 2025

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 12, 2025
@ocpdocs-previewbot
Copy link

🤖 Wed Mar 12 15:30:07 - Prow CI generated the docs preview:

https://90146--ocpdocs-pr.netlify.app/openshift-service-mesh/latest/update/ossm-updating-openshift-service-mesh.html

Copy link

openshift-ci bot commented Mar 12, 2025

@gwynnemonahan: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link

@pbajjuri20 pbajjuri20 left a comment

Choose a reason for hiding this comment

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

LGTM

+
[source,terminal]
----
$ oc label namespace <namespace_name> istio.io/rev=<new_revision_name>

Choose a reason for hiding this comment

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

Since the namespace would have already had the label pointing to the previous revision, we should be using overwrite flag. i.e., the command should be

Suggested change
$ oc label namespace <namespace_name> istio.io/rev=<new_revision_name>
$ oc label namespace <namespace_name> istio.io/rev=<new_revision_name> --overwrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants