proxy images from HASS through varnish

This commit is contained in:
2025-08-18 18:32:31 +02:00
parent f307bcb79b
commit b640426064
2 changed files with 117 additions and 0 deletions

View File

@@ -31,6 +31,26 @@ spec:
requests:
cpu: 250m
memory: 64Mi
- image: varnish:7.4
imagePullPolicy: IfNotPresent
name: varnish
command: ['varnishd']
args: ['-F', '-f', '/etc/varnish/default.vcl', '-a', ':6081', '-s', 'malloc,512m']
volumeMounts:
- name: varnish-vcl
mountPath: /etc/varnish/default.vcl
subPath: default.vcl
resources:
limits:
cpu: 900m
memory: 828Mi
requests:
cpu: 250m
memory: 64Mi
restartPolicy: Always
imagePullSecrets:
- name: ghcr-login-secret
volumes:
- name: varnish-vcl
configMap:
name: varnish-vcl