Skip to content

Fix: map access level to k8sSecurityConfig #97

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

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

mqasimsarfraz
Copy link
Member

It seems we are missing mapping the access level which results in following error when creating a pod even with admin permissions:

Error: Cannot execute write or admin operations in read-only mode

After this change, resource creation works as expected:

deployment.apps/nginx created

Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@f9b507c). Learn more about missing BASE report.

Files with missing lines Patch % Lines
internal/k8s/adapter.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #97   +/-   ##
=======================================
  Coverage        ?   30.84%           
=======================================
  Files           ?       47           
  Lines           ?     4185           
  Branches        ?        0           
=======================================
  Hits            ?     1291           
  Misses          ?     2866           
  Partials        ?       28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@gossion gossion left a comment

Choose a reason for hiding this comment

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

thanks for the fix.

@gossion gossion merged commit 4bef897 into Azure:main Jul 28, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants