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

This commit is contained in:
feedc0de committed 2026-10-18 20:05:51 +02:00
1 parent 99fa53477d
commit daee9cff71
2 files changed
+4

No files matched your search

+3
View File
@@ -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 }}