Skip to content

Commit

Permalink
Moves the tls in the correct postion for oneagent daemonset (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
0sewa0 committed Feb 1, 2022
1 parent dbe81fa commit f54630c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/controllers/dynakube/oneagent/daemonset/volumes.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package daemonset

import (
"path/filepath"

dynatracev1beta1 "github.com/Dynatrace/dynatrace-operator/src/api/v1beta1"
corev1 "k8s.io/api/core/v1"
)
Expand Down Expand Up @@ -33,7 +35,7 @@ func getCertificateMount() corev1.VolumeMount {
func getTLSMount() corev1.VolumeMount {
return corev1.VolumeMount{
Name: "tls",
MountPath: OneAgentCustomKeysPath,
MountPath: filepath.Join("/mnt/root", OneAgentCustomKeysPath),
}
}

Expand Down

0 comments on commit f54630c

Please sign in to comment.