putting the inotify file into a shared memory medium
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 54s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 54s
This commit is contained in:
+6
-1
@@ -44,6 +44,8 @@ spec:
|
|||||||
mountPath: /etc/nginx/deny.d/
|
mountPath: /etc/nginx/deny.d/
|
||||||
- name: blacklisted-sessions-map
|
- name: blacklisted-sessions-map
|
||||||
mountPath: /etc/nginx/blacklisted.d/
|
mountPath: /etc/nginx/blacklisted.d/
|
||||||
|
- name: blacklisted-memory-volume
|
||||||
|
mountPath: /etc/nginx/blacklisted.memory.d/
|
||||||
- name: reverse-proxy-ssl
|
- name: reverse-proxy-ssl
|
||||||
mountPath: /etc/nginx/ssl/
|
mountPath: /etc/nginx/ssl/
|
||||||
- mountPath: /etc/nginx/
|
- mountPath: /etc/nginx/
|
||||||
@@ -69,7 +71,7 @@ spec:
|
|||||||
pkill -HUP nginx
|
pkill -HUP nginx
|
||||||
done
|
done
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: blacklisted-sessions-map
|
- name: blacklisted-memory-volume
|
||||||
mountPath: /etc/nginx/blacklisted.d/
|
mountPath: /etc/nginx/blacklisted.d/
|
||||||
|
|
||||||
|
|
||||||
@@ -105,6 +107,9 @@ spec:
|
|||||||
- name: blacklisted-sessions-map
|
- name: blacklisted-sessions-map
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: blacklisted-sessions-map
|
claimName: blacklisted-sessions-map
|
||||||
|
- name: blacklisted-memory-volume
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user