We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4babe39 commit 6254477Copy full SHA for 6254477
common/scala/copyJMXFiles.sh
@@ -18,6 +18,11 @@
18
19
if [[ $( ls /conf/jmxremote.* 2> /dev/null ) ]]
20
then
21
- mv /conf/jmxremote.* /home/owuser
+ # JMX auth files would be mounted as a symbolic link (read-only mode)
22
+ # with `root` privileges by the k8s secret.
23
+ cp -rL /conf/jmxremote.* /home/owuser
24
+ rm -f /conf/jmxremote.* 2>/dev/null || true
25
+
26
+ # The owner must be `owuser` and the file only have read permission.
27
chmod 600 /home/owuser/jmxremote.*
28
fi
0 commit comments