diff --git a/internal/util/cmd_setup.go b/internal/util/cmd_setup.go index eb8ff1d..2608687 100644 --- a/internal/util/cmd_setup.go +++ b/internal/util/cmd_setup.go @@ -360,8 +360,10 @@ func createJob(ctx context.Context, conf *config.Global, actionName string) erro Image: image, ImagePullPolicy: corev1.PullIfNotPresent, Command: []string{"sleep", "infinity"}, + SecurityContext: conf.DBPod.Spec.Containers[0].SecurityContext, }, }, + SecurityContext: conf.DBPod.Spec.SecurityContext, }, }, },