Provide writable cache for read-only Nginx
Validate, publish and promote lightcraft / validate (push) Successful in 13s
Validate, publish and promote lightcraft / publish (push) Successful in 34s

This commit is contained in:
feedc0de
2026-10-18 20:05:52 +02:00
parent 4fc1edc741
commit 08ef3d3da2
2 changed files with 4 additions and 0 deletions
@@ -63,6 +63,7 @@ spec:
failureThreshold: 3
volumeMounts:
- {name: tmp, mountPath: /tmp}
- {name: nginx-cache, mountPath: /var/cache/nginx}
- name: nginx-exporter
image: {{ .Values.metrics.exporter.image }}
args: [--nginx.scrape-uri=http://127.0.0.1:8081/nginx_status]
@@ -81,6 +82,8 @@ spec:
volumes:
- name: tmp
emptyDir: {sizeLimit: 1Gi}
- name: nginx-cache
emptyDir: {sizeLimit: 64Mi}
{{- with .Values.nodeSelector }}
nodeSelector: {{- toYaml . | nindent 8 }}
{{- end }}