Closed lucasgameiroborges closed 2 months ago
Attention: Patch coverage is 80.00000%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 70.63%. Comparing base (
c36b92b
) to head (e01dd08
).
Files | Patch % | Lines |
---|---|---|
src/charm.py | 80.00% | 1 Missing and 5 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issue
K8s charms that create resources in a RBAC enabled environment need to be deployed with the
--trust
flag, otherwise they don't work. If a user deploys PGB k8s charm without that flag, there is no clear message indicating the issue.Solution
--trust
.lightkube.Client().get
is used. Maybe overkill, but better safe than sorry, I think?