Skip to content

Commit

Permalink
add volume nginx-purge for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
AmelieLoulergue committed Dec 13, 2024
1 parent 452c51f commit eea4b8d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions opensource/templates/nginx/nginx-purge-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
volumeMounts:
- name: nginx-purge-cache
mountPath: /var/cache/nginx
- name: nginx-pid
mountPath: /var/run
- name: nginx-config-volume
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
Expand All @@ -32,10 +34,9 @@ spec:
limits:
cpu: 800m
memory: 512Mi
securityContext:
runAsUser: 0
runAsGroup: 0
volumes:
- name: nginx-pid
emptyDir: {}
- name: nginx-purge-cache
emptyDir: {}
- name: nginx-config-volume
Expand Down

0 comments on commit eea4b8d

Please sign in to comment.