Pārlūkot izejas kodu

Merge pull request #10634 from tremble/pki

Mount /etc/pki into controller pod
OpenShift Merge Robot 6 gadi atpakaļ
vecāks
revīzija
1ac5b17ad4
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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