Trying some nginx pod fixes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -45,8 +45,36 @@ initContainers:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
add:
|
||||
- CHOWN
|
||||
- DAV_OVERRIDE
|
||||
- SETGID
|
||||
- SETUID
|
||||
- NET_BIND_SERVICE
|
||||
seccompProfile:
|
||||
type: "RuntimeDefault"
|
||||
volumeMounts:
|
||||
- mountPath: /var/cache/nginx
|
||||
name: cache-volume
|
||||
- mountPath: /var/run
|
||||
name: run-volume
|
||||
# - mountPath: nginx-conf
|
||||
# name: nginx-conf
|
||||
# subPath: default.conf
|
||||
# readOnly: true
|
||||
volumes:
|
||||
- name: cache-volume
|
||||
emptyDir:
|
||||
sizeLimit: 500Mi
|
||||
- name: run-volume
|
||||
emptyDir:
|
||||
sizeLimit: 500Mi
|
||||
# - name: nginx-conf
|
||||
# configMap:
|
||||
# name: nginx-conf
|
||||
# items:
|
||||
# - key: nginx.conf
|
||||
# path: nginx.conf
|
||||
|
||||
monitor:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user