aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/squid
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kubernetes/squid/squid-configmap.yaml (renamed from kubernetes/rpi/configmap.yaml)2
-rw-r--r--kubernetes/squid/squid-proxy-deployment.yaml (renamed from kubernetes/rpi/squid-proxy-deployment.yaml)7
-rw-r--r--kubernetes/squid/squid.conf (renamed from kubernetes/rpi/squid/squid.conf)0
3 files changed, 2 insertions, 7 deletions
diff --git a/kubernetes/rpi/configmap.yaml b/kubernetes/squid/squid-configmap.yaml
index 551ee23..8820f6d 100644
--- a/kubernetes/rpi/configmap.yaml
+++ b/kubernetes/squid/squid-configmap.yaml
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
- name: k3s-rpi-configmap
+ name: squid-configmap
data:
pihole_tz: iran/tehran
squid_config_vol: /etc/squid/
diff --git a/kubernetes/rpi/squid-proxy-deployment.yaml b/kubernetes/squid/squid-proxy-deployment.yaml
index 70ec65e..1ef2c40 100644
--- a/kubernetes/rpi/squid-proxy-deployment.yaml
+++ b/kubernetes/squid/squid-proxy-deployment.yaml
@@ -23,13 +23,8 @@ spec:
- name: TZ
valueFrom:
configMapKeyRef:
- name: k3s-rpi-configmap
+ name: squid-configmap
key: pihole_tz
- - name: WEBPASSWORD
- valueFrom:
- secretKeyRef:
- name: k3s-rpi-secrets
- key: pihole-webpassword
volumes:
- name: squid-config-volume
valueFrom:
diff --git a/kubernetes/rpi/squid/squid.conf b/kubernetes/squid/squid.conf
index 5099bbc..5099bbc 100644
--- a/kubernetes/rpi/squid/squid.conf
+++ b/kubernetes/squid/squid.conf