class SecurityContextProvisioner implements ConfigurationProvisioner<KubernetesEnvironment> {

  @Override
  public void provision(KubernetesEnvironment k8sEnv, RuntimeIdentity identity)
      throws InfrastructureException {
    if (runAsUser != null) {
      k8sEnv.getPodsData().values().forEach(p -> provision(p.getSpec()));
    }
  }

  @Inject public  SecurityContextProvisioner(
      @Nullable @Named("che.infra.kubernetes.pod.security_context.run_as_user") String runAsUser,
      @Nullable @Named("che.infra.kubernetes.pod.security_context.fs_group") String fsGroup);

}