Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(provider/kubernetes): Pods security context in service-settings #1252

Merged
merged 1 commit into from
Mar 19, 2019

Conversation

german-muzquiz
Copy link
Contributor

This is for being able to specify the securityContext under which spinnaker's pods will run. Example service-settings/clouddriver.yml:

kubernetes:
  securityContext:
    runAsUser: 99
    fsGroup: 99

Results in:

bash-4.4$ whoami
whoami: unknown uid 99
bash-4.4$
bash-4.4$ ls -la /opt/spinnaker/
total 0
drwxr-xr-x    3 root     root            20 Mar 19 17:21 .
drwxr-xr-x    1 root     root            23 Mar 19 17:21 ..
drwxrwsrwt    3 root     99             120 Mar 19 17:20 config
bash-4.4$

@german-muzquiz
Copy link
Contributor Author

cc @dibyom

@ethanfrogers ethanfrogers merged commit d35b1ba into spinnaker:master Mar 19, 2019
@ethanfrogers ethanfrogers deleted the ENG-3317/security-context branch March 19, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants