From 70993556614f88253c35a9752274c8671f8dfa64 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 20 Nov 2023 13:43:29 +0100
Subject: [PATCH] chore(dns): rename containers and pin image properly

---
 apps/k8s01/dns/dns.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/apps/k8s01/dns/dns.yaml b/apps/k8s01/dns/dns.yaml
index 9283d0154..45001becb 100644
--- a/apps/k8s01/dns/dns.yaml
+++ b/apps/k8s01/dns/dns.yaml
@@ -30,8 +30,8 @@ data:
       enable: true
     fqdnOnly:
       enable: true
-    certFile: /etc/pki/dnsproxy/tls.crt
-    keyFile: /etc/pki/dnsproxy/tls.key
+    certFile: /etc/pki/blocky/tls.crt
+    keyFile: /etc/pki/blocky/tls.key
 ---
 apiVersion: apps/v1
 kind: Deployment
@@ -50,8 +50,8 @@ spec:
         app: resolver
     spec:
       containers:
-        - name: dnsproxy
-          image: ghcr.io/0xerr0r/blocky:main
+        - name: blocky
+          image: ghcr.io/0xerr0r/blocky:main@sha256:556d13b4c6bc7b51736f3f5764bb695cadfc2fa569a0805eff6550b73690a30b
           args:
             - --config
             - /etc/blocky/config.yaml
@@ -93,7 +93,7 @@ spec:
               memory: 256Mi
           volumeMounts:
             - name: tls-secret
-              mountPath: "/etc/pki/dnsproxy"
+              mountPath: "/etc/pki/blocky"
               readOnly: true
             - name: config
               mountPath: "/etc/blocky/"
-- 
GitLab