Skip to content

Commit

Permalink
chore(go)!: avoiding hard-coded command
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
  • Loading branch information
prometherion committed Aug 29, 2024
1 parent d78cb5a commit 4925e26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/resources/datastore/datastore_migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ func (d *Migrate) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamaji
}
d.job.Spec.Template.Spec.Containers[0].Name = "migrate"
d.job.Spec.Template.Spec.Containers[0].Image = d.MigrateImage
d.job.Spec.Template.Spec.Containers[0].Command = []string{"/kamaji"}
d.job.Spec.Template.Spec.Containers[0].Args = []string{
"migrate",
fmt.Sprintf("--tenant-control-plane=%s/%s", tenantControlPlane.GetNamespace(), tenantControlPlane.GetName()),
Expand Down

0 comments on commit 4925e26

Please sign in to comment.