Skip to content

Commit 00d573e

Browse files
committed
Added some notes about the need of using emptyDir
Signed-off-by: Jose Antonio Cortes <[email protected]>
1 parent 1c7dbbf commit 00d573e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/resources/fluentd/appconfigmap.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ func (r *Reconciler) volumesCheckPod(hashKey string, fluentdSpec v1beta1.Fluentd
332332
},
333333
},
334334
},
335+
// When deploying logging operator in secured k8s clusters (securityContext.readOnlyRootFilesystem)
336+
// A emptyDir volume is needed to be able to check the configuration for using File out type.
335337
{
336338
Name: "tmp",
337339
VolumeSource: corev1.VolumeSource{
@@ -411,6 +413,8 @@ func (r *Reconciler) containerCheckPod(fluentdSpec v1beta1.FluentdSpec) []corev1
411413
Name: "output-secret",
412414
MountPath: OutputSecretPath,
413415
},
416+
// When deploying logging operator in secured k8s clusters (securityContext.readOnlyRootFilesystem)
417+
// A emptyDir volume is needed to be able to check the configuration for using File out type.
414418
{
415419
Name: "tmp",
416420
MountPath: "/tmp",

0 commit comments

Comments
 (0)