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

Merge PWX-32428,PWX-27672 fixes into 23.7.0 (#1141) (#1181) #1185

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

zoxpx
Copy link
Collaborator

@zoxpx zoxpx commented Aug 4, 2023

Signed-off-by: Zoran Rajic zox@portworx.com

What this PR does / why we need it:

Merging fixes PWX-32428,PWX-27672 from master-branch :

Which issue(s) this PR fixes (optional)
Closes # PWX-32428, PWX-27672

Special notes for your reviewer:

New functionality triggered via `portworx.io/privileged = false` annotation:
* Portworx PODs (oci-monitors) no longer using `privileged:true` - but using 5 capabilities instead
* we're also disabling all Bidirectional-mounts, and converting them to regular-mounts  (warning will indicate to change STC...privileged=true to enable back)

Signed-off-by: Zoran Rajic <zox@portworx.com>

Manually fixed Conflicts:
        drivers/storage/portworx/util/util.go
        pkg/controller/storagecluster/storagecluster.go
…1181)

* fixes shared mounts for PKS (PWX-32428, regression introduced via PWX-31842)
* fixed shared mounts for privileged:false (PWX-27672)

Signed-off-by: Zoran Rajic <zox@portworx.com>
@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 91.17% and project coverage change: +0.01% 🎉

Comparison is base (de61594) 80.22% compared to head (7d7809f) 80.23%.

Additional details and impacted files
@@                Coverage Diff                @@
##           px-rel-23.7.0    #1185      +/-   ##
=================================================
+ Coverage          80.22%   80.23%   +0.01%     
=================================================
  Files                 58       58              
  Lines              16442    16485      +43     
=================================================
+ Hits               13190    13227      +37     
- Misses              2330     2334       +4     
- Partials             922      924       +2     
Files Changed Coverage Δ
drivers/storage/portworx/component/plugin.go 66.17% <ø> (ø)
drivers/storage/portworx/portworx.go 88.31% <ø> (ø)
pkg/migration/generate.go 88.78% <ø> (ø)
pkg/controller/storagecluster/storagecluster.go 78.53% <60.00%> (-0.32%) ⬇️
drivers/storage/portworx/deployment.go 95.78% <96.36%> (-0.05%) ⬇️
drivers/storage/portworx/util/util.go 84.05% <100.00%> (+0.08%) ⬆️

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

@zoxpx
Copy link
Collaborator Author

zoxpx commented Aug 4, 2023

Travis-checks passed, will merge without review (since these are cherry-picks that have already been reviewed)

@zoxpx zoxpx merged commit 9780d6b into px-rel-23.7.0 Aug 4, 2023
5 checks passed
@zoxpx zoxpx deleted the merge_mounts_fixes_23.7.0 branch August 4, 2023 08: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

1 participant