GreptimeTeam/greptimedb-operator

Add SecurityContext

Closed this issue · 0 comments

zyy17 commented

Background

The current CRD design lacks configuring SecurityContext. We need to:

  • Add Pod SecurityContext in SlimPodSpec;
  • Add container SecurityContext in MainContainerSpec;

Also, we need to set up some default security context to adapt the common pod security policy.