From 609177894f279122c08d3ca947da3789c1983cd9 Mon Sep 17 00:00:00 2001
From: Robin McCorkell <robin@mccorkell.me.uk>
Date: Tue, 24 Aug 2021 01:37:08 +0100
Subject: [PATCH] Mount host /etc/ca-certificates (#131)

OSes like Arch Linux put certificate files in /etc/ca-certificates, and symlink to those files from /etc/ssl and /etc/pki.
---
 manifests/system-upgrade-controller.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/manifests/system-upgrade-controller.yaml b/manifests/system-upgrade-controller.yaml
index b533bd3f..afd51c3e 100644
--- a/manifests/system-upgrade-controller.yaml
+++ b/manifests/system-upgrade-controller.yaml
@@ -95,6 +95,8 @@ spec:
               mountPath: /etc/ssl
             - name: etc-pki
               mountPath: /etc/pki
+            - name: etc-ca-certificates
+              mountPath: /etc/ca-certificates
             - name: tmp
               mountPath: /tmp
       volumes:
@@ -106,5 +108,9 @@ spec:
           hostPath:
             path: /etc/pki
             type: DirectoryOrCreate
+        - name: etc-ca-certificates
+          hostPath:
+            path: /etc/ca-certificates
+            type: DirectoryOrCreate
         - name: tmp
           emptyDir: {}
-- 
GitLab