Browse Source

Mount /etc/pki into apiserver pod

This means that the apiserver will share a trust store with the host.
Scott Dodson 6 years ago
parent
commit
72c180cc48
1 changed files with 5 additions and 0 deletions
  1. 5 0
      roles/openshift_control_plane/files/apiserver.yaml

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

@@ -34,6 +34,8 @@ spec:
        name: master-cloud-provider
      - mountPath: /var/lib/origin/
        name: master-data
+     - mountPath: /etc/pki
+       name: master-pki
     livenessProbe:
       httpGet:
         scheme: HTTPS
@@ -58,3 +60,6 @@ spec:
   - name: master-data
     hostPath:
       path: /var/lib/origin
+  - name: master-pki
+    hostPath:
+      path: /etc/pki