public String deployPod(String name, String env, RCContext context) throws Exception {
List<Container> containers = getContainers(name, context);
PodSpec podSpec = new PodSpec();
podSpec.setContainers(containers);
Map<String, String> podLabels = new HashMap<>();
podLabels.put("name", name + "-pod");
podLabels.putAll(context.getLabels());
ObjectMeta metadata = new ObjectMeta();
metadata.setName(name + "-pod");
metadata.setLabels(podLabels);
mountSecret(podSpec, context.getMountSecret());
Pod pod = new Pod();
pod.setApiVersion(configuration.getApiVersion());
pod.setMetadata(metadata);
pod.setSpec(podSpec);
return client.pods().inNamespace(configuration.getNamespace()).create(pod).getMetadata().getName();
}