Skip to content

Commit

Permalink
fix: Add missing pod label
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Oct 4, 2023
1 parent 4161ef6 commit 94a59b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/util/cmd_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func createJob(cmd *cobra.Command, conf *config.Global, actionName string) error
podLabels := viper.GetStringMapString("kubernetes.job-pod-labels")
podLabels["app.kubernetes.io/name"] = "kubedb"
podLabels["app.kubernetes.io/instance"] = "kubedb"
podLabels["app.kubernetes.io/component"] = actionName

job := batchv1.Job{
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 94a59b7

Please sign in to comment.