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

PWX-32177: Removes unnecessary permissions from diag collector pods #1151

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

Pure-AdamuKaapan
Copy link
Contributor

What this PR does / why we need it:
Like the last PR, the pod spec was mostly copied from the standard portworx pod spec. This left some extra things like HostNetwork, DNSPolicy, and EnableServiceLinks that we don't need.

I again confirmed it worked by checking the size of a diag before and after the change and they were nearly identical, confirming all the same data is still there.

Which issue(s) this PR fixes (optional)
PWX-32177

@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (c07d550) 76.10% compared to head (03ec822) 76.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1151      +/-   ##
==========================================
+ Coverage   76.10%   76.12%   +0.01%     
==========================================
  Files          64       64              
  Lines       17936    17932       -4     
==========================================
  Hits        13651    13651              
+ Misses       3326     3322       -4     
  Partials      959      959              
Impacted Files Coverage Δ
pkg/controller/portworxdiag/pod.go 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Pure-AdamuKaapan Pure-AdamuKaapan force-pushed the PWX-32177 branch 2 times, most recently from afc715a to 57c5513 Compare July 20, 2023 00:14
@Pure-AdamuKaapan Pure-AdamuKaapan merged commit c0a2c66 into libopenstorage:master Jul 20, 2023
6 of 7 checks passed
@Pure-AdamuKaapan Pure-AdamuKaapan deleted the PWX-32177 branch July 20, 2023 02:49
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