Hi everybody,
On last Friday (11th), we were attempting to deploy Dynatrace-operator 1.3.0 cloud-native via helm deployment.
The deployment was “stalled” by a requirement for privileged mode in the cluster:
Error: UPGRADE FAILED: release dynatrace-operator failed, and has been rolled back due to atomic being set: failed to create resource: DaemonSet.apps “dynatrace-oneagent-csi-driver” is invalid: [spec.template.spec.containers[0].volumeMounts.mountPropagation: Forbidden: Bidirectional mount propagation is available only to privileged containers, spec.template.spec.containers[1].volumeMounts.mountPropagation: Forbidden: Bidirectional mount propagation is available only to privileged containers]
We tried to bypass this with some labeling on the Dynatrace namespace (Dynatrace documentation):
Name: dynatrace
Labels: kubernetes.io/metadata.name=dynatrace
pod-security.kubernetes.io/audit=privileged
pod-security.kubernetes.io/enforce=privileged
pod-security.kubernetes.io/warn=privileged
Annotations: <none>
Status: Active
This did not have the desired effect. Does anybody have similiar issue in the past?
Best regards,
Lukas