Skip to content

Commit

Permalink
fixup! add persistent queues
Browse files Browse the repository at this point in the history
Signed-off-by: Szilard Parrag <[email protected]>
  • Loading branch information
OverOrion committed Feb 2, 2024
1 parent 0064d22 commit 364674e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/telemetry/collector_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (r *CollectorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
mountInitContainer := apiv1.Container{
Name: "persist-mount-fix",
Image: fmt.Sprintf("%s:%s", DefaultMountContainerImage, DefaultMountContainerImageTag),
Command: []string{"sh", "-c", "chmod -R 777 " + PersistPath},
Command: []string{"sh", "-c", "mkdir -p " + ReceiversPersistPath + "; mkdir -p " + ExportersPersistPath + "; " + "chmod -R 777 " + PersistPath},

VolumeMounts: []apiv1.VolumeMount{persistVolumeMount},
}
Expand Down

0 comments on commit 364674e

Please sign in to comment.