Skip to content

Commit

Permalink
Merge pull request #273 from equinor/run-as-non-root
Browse files Browse the repository at this point in the history
Run as non root
  • Loading branch information
Ole Joar Austbø Moi authored Mar 29, 2021
2 parents 8c92918 + ded617d commit c9951f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions radixconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ spec:
cpu: "1000m"
environmentConfig:
- environment: prod
runAsNonRoot: true
replicas: 2
- environment: qa
runAsNonRoot: true
- name: auth
image: quay.io/pusher/oauth2_proxy:v6.1.1 # see https://pusher.github.io/oauth2_proxy/configuration
ports:
Expand All @@ -39,6 +42,11 @@ spec:
limits:
memory: "50Mi"
cpu: "1000m"
environmentConfig:
- environment: qa
runAsNonRoot: true
- environment: prod
runAsNonRoot: true
secrets:
- OAUTH2_PROXY_CLIENT_ID # ID of the "Web Console" AD app. This is a secret so it can be configured per cluster, but it's not sensitive info
- OAUTH2_PROXY_CLIENT_SECRET # Azure client secret for "Web Console frontend app" in the "Web Console" AD app for the appropriate cluster
Expand Down

0 comments on commit c9951f3

Please sign in to comment.