Skip to content

Unable to run st2client , st2web, st2actionrunner as stanley user after adding securityContext #406

Description

@speaktoabu
  • Added the following security context for st2client & st2actionrunner.. Getting the following error
securityContext:
          allowPrivilegeEscalation: false
          runAsNonRoot: true
          runAsUser: 1000

st2actionrunner

 unable to open log file: open /root/.sdm/sdm.log: permission denied                                                                                                 
│ unable to open log file: open /root/.sdm/sdm.log: permission denied       
                                                                                     │

st2web:

 /bin/bash: /etc/nginx/conf.d/st2.conf: Permission denied

st2client:

stream logs failed container "generate-st2client-config" in pod "stackstorm-st2client-xxx" is waiting to start: CreateContainerConfigError for stackstorm/stackstorm-st2client-xxx (generate-st2client-config)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions