Browse Source

Mount /etc/pki into controller pod

This means that the controller will share a trust store with the host.
Mark Chappell 6 năm trước cách đây
mục cha
commit
0e0f28fbb2
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      roles/openshift_control_plane/files/controller.yaml

+ 5 - 0
roles/openshift_control_plane/files/controller.yaml

@@ -37,6 +37,8 @@ spec:
      - mountPath: /usr/libexec/kubernetes/kubelet-plugins
        name: kubelet-plugins
        mountPropagation: "HostToContainer"
+     - mountPath: /etc/pki
+       name: master-pki
     livenessProbe:
       httpGet:
         scheme: HTTPS
@@ -57,3 +59,6 @@ spec:
   - name: kubelet-plugins
     hostPath:
       path: /usr/libexec/kubernetes/kubelet-plugins
+  - name: master-pki
+    hostPath:
+      path: /etc/pki