Closed
Description
Is your feature request related to a problem? Please describe.
We are using a k8s cluster which disallows the mounting of hostPaths. However, we are able to mount a volume which contains all the logs a node produces via a feature our k8s provider calls "user host logging".
I want to use extraVolumeMount for this, however, I also need to disable the mount of /var/log at all:
func (r *Reconciler) generateVolumeMounts() (v []corev1.VolumeMount) {
# make this optional
v = []corev1.VolumeMount{
{
Name: "varlogs",
ReadOnly: true,
MountPath: "/var/log/",
},
{
Name: "config",
MountPath: OperatorConfigPath,
},
}
Describe the solution you'd like
I want to be able to disable the mount of "/var/log"
Describe alternatives you've considered
Do not use the fluentBitSpec but run my own Daemonset of fluentBit