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

verify all system accounts are set #8546

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Conversation

butonic
Copy link
Member

@butonic butonic commented Feb 29, 2024

while we are configuring them in ocis init, we are not verifying if they are set. This allows the service to start with a broken configuration that leads to failing requests.

@butonic butonic requested a review from kulmann as a code owner February 29, 2024 10:20
Copy link

update-docs bot commented Feb 29, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@butonic butonic force-pushed the verify-service-accounts-are-set branch from b71230e to 8f9287b Compare February 29, 2024 10:55
@2403905
Copy link
Contributor

2403905 commented Feb 29, 2024

Should we also validate for the ocm ?

type ServiceAccount struct {

@butonic
Copy link
Member Author

butonic commented Feb 29, 2024

related: #8107

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic force-pushed the verify-service-accounts-are-set branch from 8f9287b to 972adaf Compare February 29, 2024 14:51
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic
Copy link
Member Author

butonic commented Feb 29, 2024

init does not set the service account for ocm, so this needs to go into v5 as well

Copy link

sonarcloud bot commented Feb 29, 2024

@butonic
Copy link
Member Author

butonic commented Feb 29, 2024

@2403905 thx, added, please rereview

@butonic butonic enabled auto-merge February 29, 2024 16:14
@butonic butonic merged commit 2dce3e9 into master Feb 29, 2024
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the verify-service-accounts-are-set branch February 29, 2024 16:29
ownclouders pushed a commit that referenced this pull request Feb 29, 2024
@micbar
Copy link
Contributor

micbar commented Feb 29, 2024

please backport to stable-5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants