File tree Expand file tree Collapse file tree
crates/stackable-operator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
1212 Currently this is ` runAsNonRoot: true ` , which might cause product Pods to crash and require changes.
1313- BREAKING: ` PodSecurityContextBuilder::run_as_non_root ` now takes a ` bool ` instead of assuming consumers always want to set it to ` true ` ([ #1205 ] ).
1414 This is needed to allow users setting it to ` false ` in case the new ` with_stackable_defaults ` function sets it to ` true ` .
15- - BREAKING: ` SecurityContextBuilder::run_as_root ` is now called on the builder, not as a builder-creation function ([ #1205 ] ).
15+ - BREAKING: ` SecurityContextBuilder::run_as_root ` has been removed ([ #1205 ] ).
1616
1717[ #1205 ] : https://github.com/stackabletech/operator-rs/pull/1205
1818
Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ impl SecurityContextBuilder {
2727 builder
2828 }
2929
30- /// Convenience function for a wide use-case.
31- ///
32- /// Please only use this is really needed.
33- pub fn run_as_root ( & mut self ) {
34- self . run_as_user ( 0 ) ;
35- self . run_as_non_root ( false ) ;
36- }
37-
3830 pub fn allow_privilege_escalation ( & mut self , value : bool ) -> & mut Self {
3931 self . security_context . allow_privilege_escalation = Some ( value) ;
4032 self
You can’t perform that action at this time.
0 commit comments