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 docs: Update K8s TGW tutorial to reliably obtain role ID into release/1.16.x #18508

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

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

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


The grep command used to obtain the ID for the terminating gateway role is not reliable in all scenarios. For example, if there is a similarly named role, the command may return the wrong role ID for the active terminating gateway instance.

This commit updates the command to use jq to obtain the role ID. If multiple roles are found, jq will raise an error informing the user that it cannot reliably determine the role ID.

Description

Testing & Reproduction steps

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/docs/k8s-tgw-tutorial-role-id-fix/explicitly-vast-ram branch from ff03381 to 157c228 Compare August 17, 2023 15:42
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/docs/k8s-tgw-tutorial-role-id-fix/explicitly-vast-ram branch from 30583c4 to 8cc3af8 Compare August 17, 2023 15:42
Copy link

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@github-actions github-actions bot added the type/docs Documentation needs to be created/updated/clarified label Aug 17, 2023
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging August 17, 2023 15:45 Inactive
@vercel vercel bot temporarily deployed to Preview – consul August 17, 2023 15:53 Inactive
@hc-github-team-consul-core hc-github-team-consul-core merged commit 2536f5d into release/1.16.x Aug 17, 2023
107 checks passed
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/docs/k8s-tgw-tutorial-role-id-fix/explicitly-vast-ram branch August 17, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants