Add squid cache and a test job for it.

This commit is contained in:
jimmy committed 2022-11-02 20:56:37 -04:00
1 parent 0961693646
commit 37b668b727
2 files changed
+63

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: Job
metadata:
name: cache-check
spec:
template:
spec:
containers:
- name: cache-check
image: docker.io/debian:bullseye-slim
env:
- name: http_proxy
value: http://squid-service:3128
command: ["bash"]
args:
- "-c"
- >-
apt update -y &&
apt upgrade -y
restartPolicy: Never
backoffLimit: 1