Origin: privileged parameter is not taken into account for DeploymentConfig

Created on 17 Mar 2016  路  3Comments  路  Source: openshift/origin

privileged parameter is not taken into account for DeploymentConfig

Version

oc v1.1.3-645-gf78f941
kubernetes v1.2.0-origin-41-g91d3e75

Steps To Reproduce

https://gist.github.com/akram/a2c9f633dd56e20c002e
1 - Use a DeploymentConfig with "privileged: true" in securityContext.
2 - Import the deploymentConfig : oc create -f dc.yaml
3 - edit the dc again: oc edit dc my-dc

Current Result

The privileged attribute is not saved/taken into account.

Expected Result

The privileged attribute should have remained.

Additional Information

Most helpful comment

privileged is a attribute on the security context for a container, not on a podspec.

All 3 comments

privileged is a attribute on the security context for a container, not on a podspec.

@deads2k thanks, that was it indeed
closing the issue

Was this page helpful?
0 / 5 - 0 ratings