Skip to content

Fix formatting issues in GCP STS setup documentation#107640

Open
prithvipatil97 wants to merge 1 commit intoopenshift:mainfrom
prithvipatil97:patch-97
Open

Fix formatting issues in GCP STS setup documentation#107640
prithvipatil97 wants to merge 1 commit intoopenshift:mainfrom
prithvipatil97:patch-97

Conversation

@prithvipatil97
Copy link
Contributor

@prithvipatil97 prithvipatil97 commented Feb 27, 2026

Here is the updated look for all these code blocks:

SERVICE_ACCOUNT_EMAIL=$(gcloud iam service-accounts create <iam_service_account_name> \  1  
--display-name="Tempo Account" \
--project <project_id>  \  2 
--format='value(email)' \
--quiet) 
$ gcloud projects add-iam-policy-binding <project_id> \
  --member "serviceAccount:$SERVICE_ACCOUNT_EMAIL" \
  --role "roles/storage.objectAdmin" 
$ gcloud iam workload-identity-pools create-cred-config \
  "projects/<project_number>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>" \
  --service-account="$SERVICE_ACCOUNT_EMAIL" \
  --credential-source-file=/var/run/secrets/storage/serviceaccount/token \1 
  --credential-source-type=text \
  --output-file=<output_file_path>

Version(s):

RHOCP 4.21, RHOCP 4.20, RHOCP 4.19, RHOCP 4.18

Issue:

https://issues.redhat.com/browse/OBSDOCS-3167

Link to docs preview:

https://107640--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/distr_tracing/distr-tracing-tempo-installing.html

QE review:

  • QE has approved this change.

Additional information:

- Google Cloud storage with the STS wrong command structure
- Here is the documentation link: https://docs.redhat.com/en/documentation/openshift_container_platform/4.21/html/distributed_tracing/distr-tracing-tempo-installing#setting-up-google-cloud-storage-with-security-token-service_distr-tracing-tempo-installing 

Here is the updated look for all these code blocks:
SERVICE_ACCOUNT_EMAIL=$(gcloud iam service-accounts create <iam_service_account_name> \  1 
--display-name="Tempo Account" \
--project <project_id>  \  2 
--format='value(email)' \
--quiet) 
 

$ gcloud projects add-iam-policy-binding <project_id> \
  --member "serviceAccount:$SERVICE_ACCOUNT_EMAIL" \
  --role "roles/storage.objectAdmin" 
$ gcloud iam workload-identity-pools create-cred-config \
      "projects/<project_number>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>" \
  --service-account="$SERVICE_ACCOUNT_EMAIL" \
  --credential-source-file=/var/run/secrets/storage/serviceaccount/token \1 
  --credential-source-type=text \
  --output-file=<output_file_path>
@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 27, 2026
@ocpdocs-previewbot
Copy link

@openshift-ci
Copy link

openshift-ci bot commented Feb 27, 2026

@prithvipatil97: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants