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

Get OCP credentials from AWS during RHEL release [5.5.z] #829

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

JackPGreen
Copy link
Collaborator

Backport of #812

Currently, credentials are duplicated between:

  • AWS Secrets Manager
  • GitHub Secrets

In the past this has lead to build failures when credentials were updated in only one place.

This PR updates any credentials which are duplicated, migrating them to use the value directly from AWS Secrets Manager. The methodology on this logic is described here.

I'm confident from my testing the values will resolve correctly, but as the job is triggered on tag, I am unable to test in a non-destructive way.

I've also rescoped secrets.HZ_ENTERPRISE_LICENSE to reduce the cognitive complexity of looking through the actions' environment secrets.

Fixes: DI-78

@JackPGreen JackPGreen added the github_actions Pull requests that update Github_actions code label Nov 21, 2024
@JackPGreen JackPGreen self-assigned this Nov 21, 2024
@JackPGreen JackPGreen requested a review from a team as a code owner November 21, 2024 11:02
Copy link
Contributor

@nishaatr nishaatr left a comment

Choose a reason for hiding this comment

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

LGTM
Would have been good to fetch HZ_ENTERPRISE_LICENSE from AWS as well.
TODO for the future I guess

@JackPGreen JackPGreen merged commit df61e17 into 5.5.z Nov 21, 2024
6 of 8 checks passed
@JackPGreen JackPGreen deleted the backport-pr-812-5.5.z branch November 21, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants