Add squid cache and a test job for it.
This commit is contained in:
1 parent
0961693646
commit
37b668b727
2 files changed
+63
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user