Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable/spinnaker] Relax PSP (helm#22867)
Some processes need to change files from different users (deck for instance). If the pod is run as non root, deck does not start: ********************** cp: cannot create regular file 'spinnaker.conf': Permission denied sed: can't read spinnaker.conf: No such file or directory sed: can't read spinnaker.conf: No such file or directory sed: can't read spinnaker.conf: No such file or directory mv: cannot stat 'spinnaker.conf': No such file or directory ERROR: Site spinnaker does not exist! Could not remove /etc/apache2/sites-enabled/000-default.conf: Permission denied cp: cannot create regular file 'ports.conf': Permission denied sed: can't read ports.conf: No such file or directory sed: can't read ports.conf: No such file or directory mv: cannot stat 'ports.conf': No such file or directory cp: cannot create regular file 'passphrase': Permission denied sed: can't read passphrase: No such file or directory chmod: cannot access 'passphrase': No such file or directory mv: cannot stat 'passphrase': No such file or directory cp: cannot create regular file '/opt/deck/html/settings.js': Permission denied chown: changing ownership of '/var/lock/apache2.ZWzj1uONRl': Operation not permitted ********************** Relaxing the PSP to allow this. Signed-off-by: Fabrice Rabaute <[email protected]> Signed-off-by: camelusluo <[email protected]>
- Loading branch information