Skip to content

Commit

Permalink
fix: Copy database security context
Browse files Browse the repository at this point in the history
Ref #194
  • Loading branch information
gabe565 committed Oct 20, 2024
1 parent bf23942 commit af081ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/util/cmd_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
},
Expand Down

0 comments on commit af081ef

Please sign in to comment.