tidb-operator
tidb-operator copied to clipboard
How to set container privilege mode?
I read the document and only support podSecurityContext.
Container level securityContext is not supported.
kubectl explain sts.spec.template.spec.containers.securityContext.privileged
@glyslxq Thanks for reporting this issue! It's not supported yet, would you like to submit PR for this?
I think we can support #4472 issue.
Now this feature can use podpatch
implement, ref: https://github.com/pingcap/tidb-operator/tree/master/examples/podpatch