Commit d13bbc6e by michelia feng Committed by Craig Jellick

change fluentd windows init container command

Problem: windows will throws error when the file already exist, which is different from linux Solution: change to use new-item Issue: https://github.com/rancher/rancher/issues/22679
parent 2fffb739
......@@ -41,7 +41,7 @@ spec:
command:
- 'powershell'
- '-command'
- 'mkdir -p /var/lib/rancher/fluentd/log'
- 'New-Item -ItemType Directory -Force -Path /var/lib/rancher/fluentd/log'
volumeMounts:
- mountPath: /var/lib/rancher
name: rancher
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment