Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@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