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

🐛 B64 encode gcp credentials for credentials sync #529

Merged
merged 1 commit into from
May 13, 2024

Conversation

Danil-Grigorev
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev commented May 7, 2024

What this PR does / why we need it:
Rancher credentials for GCP are not encoded in b64 on retrieval from secret. We need to encode this once in the credentials syncing and second time by specifying the data in the stringData field.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #510

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
@Danil-Grigorev
Copy link
Contributor Author

Closing as upon testing in #510 (comment) this is not needed (not an issue).

@Danil-Grigorev Danil-Grigorev reopened this May 9, 2024
@Danil-Grigorev Danil-Grigorev added the kind/bug Something isn't working label May 9, 2024
@Danil-Grigorev Danil-Grigorev changed the title 🐛 [WIP] B64 encode gcp credentials for credentials sync 🐛 B64 encode gcp credentials for credentials sync May 9, 2024
@Danil-Grigorev
Copy link
Contributor Author

Apparently I was verifying issue with the built image included, even after double checking and rebuilding from main… At least the issue fix was tested locally.

Copy link
Contributor

@salasberryfin salasberryfin left a comment

Choose a reason for hiding this comment

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

LGTM

@furkatgofurov7 furkatgofurov7 merged commit 354df4c into rancher:main May 13, 2024
51 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to enable GCP CAPIProvider with Rancher CloudCredentials
3 participants