fix(k8s/pihole): pin image tags and set IfNotPresent pull policy
This commit is contained in:
@@ -19,7 +19,8 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: fix-permissions
|
- name: fix-permissions
|
||||||
image: busybox:latest
|
image: busybox:1.37
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["sh", "-c", "chown 1000:1000 /data"]
|
command: ["sh", "-c", "chown 1000:1000 /data"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: pihole-ftl-db
|
- name: pihole-ftl-db
|
||||||
@@ -94,7 +95,8 @@ spec:
|
|||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
|
||||||
- name: dnscrypt-proxy
|
- name: dnscrypt-proxy
|
||||||
image: klutchell/dnscrypt-proxy:latest
|
image: klutchell/dnscrypt-proxy:v2.1.15
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: Europe/Kyiv
|
value: Europe/Kyiv
|
||||||
|
|||||||
Reference in New Issue
Block a user