Skip to content

Commit

Permalink
fix: Remove security context
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Nov 6, 2024
1 parent 2e0e907 commit 0b846e7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/custom_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use k8s_openapi::api::{
apps::v1::{Deployment, DeploymentSpec},
core::v1::{
ConfigMap, ConfigMapVolumeSource, Container, ContainerPort, EmptyDirVolumeSource, PodSpec,
PodTemplateSpec, SecretVolumeSource, SecurityContext, Service, ServicePort, ServiceSpec,
Volume, VolumeMount,
PodTemplateSpec, SecretVolumeSource, Service, ServicePort, ServiceSpec, Volume,
VolumeMount,
},
networking::v1::{
HTTPIngressPath, HTTPIngressRuleValue, Ingress, IngressBackend, IngressRule,
Expand Down Expand Up @@ -294,11 +294,6 @@ impl HydraDoomNode {
"--socket".to_string(),
constants.socket_path.clone(),
]),
security_context: Some(SecurityContext {
run_as_user: Some(1000),
run_as_group: Some(1000),
..Default::default()
}),
volume_mounts: Some(vec![VolumeMount {
name: "ipc".to_string(),
mount_path: constants.socket_dir.clone(),
Expand Down

0 comments on commit 0b846e7

Please sign in to comment.