Description
Describe the bug
When running the argocd export the job fails to run with permission issues to the /backups folder on local storage PV in Openshift 4.5.
Logs from argocdexport pod:
exporting argo-cd
creating argo-cd backup
encrypting argo-cd backup
Can't open /backups/argocd-backup.yaml for writing, Permission denied
139760326087808:error:0200100D:system library:fopen:Permission denied:../crypto/bio/bss_file.c:69:fopen('/backups/argocd-backup.yaml','wb')
139760326087808:error:2006D002:BIO routines:BIO_new_file:system lib:../crypto/bio/bss_file.c:78:
Pod event log:
example-argocdexport-1606933560-zjgcg
NamespaceNSargocd
2 minutes ago
Generated from kubelet on fzeu2openshiftsbtst-r-hmw98-worker-eastus21-mt7jz
8 times in the last 3 minutes
Back-off restarting failed container
To Reproduce
Create any export using openshift 4.5 and local storage RWO
Expected behavior
Backups should be able to write to the PV and execute a normal backup
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Installed with ArgoCD Operator 0.0.14
Logs
See Above