You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Carry over base container security context fields to lifecycle hook pod #12103
When creating the lifecycle hook pod we should evaluate if the security context requests need to be carried over from the base container so that the lifecycle hook pod is running under the same context as the base container pod (or as close to it as possible).
@pweil- i'm not 100% sure about this is an issue. Maybe i'm wrong, but we don't allow to change the SecurityContext for the deployer Pod? IOW. there is no way I know about (again maybe I'm wrong) that you can pass this into lifecycle hooks nowadays... @Kargakis do I miss something?
@mfojtik this is ensuring that a lifecycle hook pod would run with the same security context that the targeted container itself runs with. Not the deployer pod. Does that make sense?
@pweil- so it is not copying it from the deployer pod, but rather from the deployment config replication controller template pod spec. That makes more sense, yeah.
Activity
0xmichalis commentedon Jan 30, 2017
@mfojtik @php-coder on your plate
mfojtik commentedon Feb 14, 2017
@pweil- i'm not 100% sure about this is an issue. Maybe i'm wrong, but we don't allow to change the SecurityContext for the deployer Pod? IOW. there is no way I know about (again maybe I'm wrong) that you can pass this into lifecycle hooks nowadays... @Kargakis do I miss something?
pweil- commentedon Feb 14, 2017
@mfojtik this is ensuring that a lifecycle hook pod would run with the same security context that the targeted container itself runs with. Not the deployer pod. Does that make sense?
mfojtik commentedon Feb 14, 2017
@pweil- so it is not copying it from the deployer pod, but rather from the deployment config replication controller template pod spec. That makes more sense, yeah.
mfojtik commentedon Feb 14, 2017
(also mean my PR is wrong ;-)