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

Re-add core-dev SA secret to preview del job #11017

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Conversation

vulkoingim
Copy link
Contributor

Description

Re-adds the SA secret used to obtain the core-dev cluster creds. It's required by the delete job to clean-up the certs and LBs.

Currently the job fails:

STDERR: ERROR: (gcloud.auth.activate-service-account) Unable to read file [/mnt/secrets/gcp-sa/service-account.json]: [Errno 2] No such file or directory: '/mnt/secrets/gcp-sa/service-account.json'

https://werft.gitpod-dev.com/job/gitpod-platform-delete-preview-environments-cron-main.2362

Release Notes

NONE

@vulkoingim vulkoingim requested a review from a team June 29, 2022 20:21
@vulkoingim vulkoingim changed the title Re-add sa secret to preview del job Re-add core-dev SA secret to preview del job Jun 29, 2022
@vulkoingim
Copy link
Contributor Author

Ran a job from the last commit before the secrets got deleted: https://werft.gitpod-dev.com/job/gitpod-custom-head.16

There seem to be some errors - will run another tomorrow to see if all is good.

Also, there seem to be 2 preview envs on core-dev that fail to get deleted

k --context core-dev get ns
....
staging-as-migrate4d7a06a154   Active   25d
staging-me-test-coredev        Active   25d

Seems like we'll have to clean them up manually :(

@roboquat roboquat merged commit bbfa4ce into main Jun 30, 2022
@roboquat roboquat deleted the aa/readd-gcp-sa-secret branch June 30, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants