Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/spinnaker] Relax PSP #22867

Merged
merged 1 commit into from
Jun 19, 2020
Merged

Commits on Jun 19, 2020

  1. [stable/spinnaker] Relax PSP

    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]>
    jfrabaute committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    b4481fd View commit details
    Browse the repository at this point in the history